Source

beerfingers / bf-templates / index.html

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta name="ROBOTS" content="ALL" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
    
    <meta name="Copyright" content="This site's design and contents Copyright (c) 2009 BeerFingers." />
    <meta name="keywords" content="Craft Beer, Beer, Beer Fingers, BeerFingers" />
    <meta name="description" content="Beer Fingers keep track of your beer ratings from both the Internet and your mobile phone." />
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://photos01.beerporndaily.com/devbf/jquery.tablesorter.min.js"></script>
    <script type="text/javascript" src="http://photos01.beerporndaily.com/devbf/tablesort.js"></script>
    <script type="text/javascript" src="http://photos01.beerporndaily.com/devbf/effects.js"></script>
    
    <link rel="stylesheet" type="text/css" href="http://photos01.beerporndaily.com/devbf/blueprint/screen.css" media="screen, projection">
    <link rel="stylesheet" type="text/css" href="http://photos01.beerporndaily.com/devbf/blueprint/typography.css" media="screen, projection">
    <link rel="stylesheet" type="text/css" href="http://photos01.beerporndaily.com/devbf/blueprint/forms.css" media="screen, projection">
    <link rel="stylesheet" type="text/css" href="http://photos01.beerporndaily.com/devbf/blueprint/print.css" media="print">
    <!--[if lt IE 8]><link rel="stylesheet" href="http://photos01.beerporndaily.com/devbf/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->     
    <link rel='stylesheet' href='{{ MEDIA_URL }}css/clean2.css' type='text/css'>
    <link rel='stylesheet' href='{{ MEDIA_URL }}css/main-styles-v7.css' type='text/css'/>
    <!-- 
    jQuery CDN code
    http://yui.yahooapis.com/combo?2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css&2.8.0r4/build/base/base-min.css
    
    <script type="text/javascript" src="/media/js/jquery.autocomplete.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script> --->  
      
    <title>{% block title %}{{ title }}{% endblock %} | BeerFingers.com</title>

    <!-- Import fancy-type plugin for the sample page. -->
    <link rel="stylesheet" href="../../blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection">
    {% block extrahead %}
    {{ media }}
    {% endblock %}  
  </head>
  <body>
    <div class="container">
          <div id='banner' class="span-24 last">
                <div id='dock'>
                  <img src="/media/images/Beer-Fingers-web-logo.png">
                       <ul>
                        {% if user.is_authenticated %}		    
                             <li><a href="{% url django.contrib.auth.views.logout %}" rel="Logout of BeerFingers, Sorry to see you go.">Logout</a></li>
                             {% if user.is_superuser %}<li><a href="/admin/">Admin</a></li>{% endif %}
                             <li><a href="{% url profiles.views.profile_detail user %}" rel="Personal Information">Profile</a></li>
                       {% else %}      
                              <li><a href="{% url django.contrib.auth.views.login %}" rel='Log into BeerFingers and rate beer'>Login</a></li>
                              <li><a href="/accounts/register/" rel="Create a BeerFingers account and start rating beers.">Register</a></li>
                       {% endif %}
                       </ul>
                </div>
                <div id='menu'>
                       <ul>
                       {% if user.is_authenticated %}
                             <li class="leftfloat"><a href="{% url views.welcome %}">Home</a></li>
                             <li class="leftfloat"><a href="{% url bar.views.index_journal %}">Ratings</a></li>
                             <li class="leftfloat"><a href="{% url hops.views.beers %}">Beers</a></li>
                             <li class="leftfloat"><a href="{% url hops.views.breweries %}">Breweries</a></li>
			     <li class="leftfloat"><a href="/about/">About</a></li>
                       {% else %}
			     <li><a href="{% url views.welcome %}">Home</a></li>
                             <li><a href="{% url hops.views.beers %}">Beers</a></li>
                             <li><a href="{% url hops.views.breweries %}">Breweries</a></li>
			     <li><a href="/about/">About</a></li>
                       {% endif %}	
                       </ul>
                </div>
		<div id="searchbar" class="span-24 last">
		   <form method="get" action="/search/" id='search_line' class="inline">
			  <div class="span-8"><input name="q" type="text" class="text" size="25"/> </div>
			  <div class="span-2 last"><input value="Beer : Brewers : Rate" type="submit" class='button'/></div>
		   </form>
		</div>
         </div>
      <hr>
      <div class="span-5 colborder ">
        {% block column %}   
        {% endblock %}
      </div>  
      <div class="span-17 prepend-1 last">
       {% block content %}   
       {% endblock %}
      </div>

      <hr>
      <h2 class="alt">He's to the crazy ones, the misfits, the rebels and the troublemakers; so be bold.</h2>
      <hr>
      <div class="span-24 last">&copy; 2009-{% now "Y" %} BeerFingers.com | Follow us on Twitter <a href="http://twitter.com/beerfingers/">@BeerFingers</a> | <a href="/m/" rel="mobile website">BeerFingers Mobile</a> | <a href="http://blog.beerfingers.com/">BeerFingers Blog</a></div>
    </div>
  </body>
</html>