Source

fossconf / templates / base.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
    {% load i18n %}
    {% load base_utils %}
    {% load thumbnail %}
    <!--
    {% get_current_language as LANGUAGE_CODE %}
    {% get_available_languages as LANGUAGES %}
    {% get_current_language_bidi as LANGUAGE_BIDI %}
    -->
    <head>
      <meta http-equiv="Content-type" content="text/html;charset=UTF-8" >
        <title>{% trans "Pycon India 2009" %}</title>
    <link rel="stylesheet" href="/sitemedia/css/blueprint/screen.css" type="text/css" media="screen, projection">
        <link rel="stylesheet" href="/sitemedia/css/blueprint/print.css" type="text/css" media="print">    
        <!--[if IE]><link rel="stylesheet" href="/sitemedia/css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
        <!-- Import fancy-type plugin. -->  
    <link rel="stylesheet" href="/sitemedia/css/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection" >
    <link rel="stylesheet" href="/sitemedia/css/style.css" type="text/css">
        {% block head %}
        {% endblock %}
    </head>
    <body>
      {% block body %}
      {% endblock %}
      <div class="container">
      <div class="topbar">
    <div class="span-4">
        <div class="logo"></div>
     <!-- <img src="/sitemedia/pics/PyconLogo.jpg" alt="Pycon Logo India 2009" width="150"> -->
    </div>
        <div class="span-16">
          <div class="mainheading">PyCon India 2009</div>
      <div class="mainheading">26th and 27th September 2009</div>
      <div class="mainheading">Venue: IISC, Bengaluru</div>
    </div>
    
    <div class="span-4 last">
          {% if request.user.is_anonymous %}
          <div class="mid_left">
            <a href="{% url login %}" >{% trans "login" %}</a>
        </div>
        <div class="mid_left">
            <a href="{% url register %}" >{% trans "register" %}</a>
        </div>
          {% else %}
          <div class="mid_left">
            <a href="{% url edit_user %}" >{{ request.user.username }}</a>
            </div>
        <div class="mid_left">
            <a href="{% url logout %}" >{% trans "logout" %}</a>
            </div>
          {% endif %}
    </div>
    </div>
    <div class="span-24 last">
    <div class="navigationbar"></div>
    </div>


    <div class="span-4">
     
      <div class = "mid_left">
          <ul>
            {% block navsite %}
            <!-- static menu - heirarchical -->
        {% get_staticmenu %}
            {% for p in stmn %}
        <div class="mid_right_tittlebar">{{ p.head }}</div>
        <ul>
        {% for mn in p.men %}
        <li >
        <a href={% url static_page menu=mn.name %}>{{mn.name}}</a>
        </li>
        {% endfor %}
        </ul>
        {% endfor %}
        <!-- main menu -->
        <div class="mid_right_tittlebar">{% trans "Main Menu" %}</div>
            {% get_menu request.user.id %}
            {% for p in mn %}
        <li>
              <a href = "/{{ p.url }}"> {{ p.name }}</a> 
        </li>
        {% endfor %}
        <div class="batton_dropshadow"></div>
          </ul>
    </div>
      {% endblock %}
    </div>

    <div class="span-16">
            {% block centercontent %}
            {% endblock %}
    </div>
    <div class="span-4 last">
          {% block rightcontent %}
        <div class="mid_right_tittlebar">{% trans "Sponsors" %}</div>
        <hr class="space">
        <!-- here are the sponsors -->
        {% get_sponsormenu %}
            {% for p in stmn %}
        <h5>{{ p.head }}</h5>
        <ul class="sponsors">
        {% for mn in p.spn %}
        <li >
        <a href="{{ mn.address }}"><img src="{{mn.logo.url|thumbnail:" width=120"}}" width="120" /></a>
        </li>
        {% endfor %}
        </ul>
        {% endfor %}
        <!-- end of sponsors -->
        <div class="mid_right_tittlebar">{% trans "Posts" %}</div>
        <hr class="space">
        {% block rightcontentposts %}
          {% get_posts 5 as lst %}
          {% if lst %}
          <div class="mid_left">
          <ul>
            {% for p in lst %}
          <li><a href="{% url post_by_id id=p.id %}"> {{ p.title }}</a>
          
              </li>
            {% endfor %}
            </ul>
            </div>
          {% else %}
            <p>{% trans "No recent posts" %}</P>
          {% endif %}
        {% endblock %}
      <div class="mid_right_tittlebar">{% trans "Links" %}</h2></div>
      <hr class="space">
      {% block rightcontentlinks %}
      {% get_links as lst %}
      {% if lst %}
        <div class="mid_left">
        <ul>
        {% for p in lst %}
          <li><a href="{{ p.address }}">{{ p.name }}</a></li>
        {% endfor %}
        </ul>
        </div>
      {% else %}
        <p>{% trans "No links posted" %}</P>
      {% endif %}
      {% endblock %}
      
      <div class="mid_right_tittlebar">{% trans "Feeds" %}</h2></div>
      <hr class="space">
      {% block rightcontentfeeds %}
      {% get_menu request.user.id %}
      {% if mn %}
      <div class="mid_left">
        <ul>
            {% for p in mn %}
        <li>
            {% if p.feeds %}
              <a href="{{ p.feeds }}"><img src="/sitemedia/pics/Feed-icon.png" /> {{p.name}}</a> 
             {% endif %}              
        </li>
        {% endfor %}
        </ul>
        </div>
      {% else %}
        <p>{% trans "No feeds posted" %}</P>
      {% endif %}
      {% endblock %}
      
        {% endblock %}
    </div>

    <hr class="space">

    <div class="span-24 last">
          <div class="bottambar">
            {% trans "Powered by Linux, Apache, Python, Postgresql and Django"%}.
      </div>
    </div>
    <div class="bottambar2"></div>
      </div>
    </body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.