pytask/templates/base.html
changeset 69 c6bca38c1cbf
parent 60 696309b5ad59
child 126 2763afa1c2a2
equal deleted inserted replaced
68:5ff1fc726848 69:c6bca38c1cbf
       
     1 <html>
       
     2 <head>
       
     3     <title>{% block title %}PyTasks{% endblock %}</title>
       
     4     {% block js_script %} {% endblock %}
       
     5     <link rel=stylesheet href="/static/css/base.css" type="text/css" >
       
     6 </head>
       
     7 {% load user_tags %}
       
     8 <body>
       
     9 <div id="wrapper">
       
    10     <div id="header">
       
    11         <h2><a href="/">PyTasks</a></h2>
       
    12     </div>
       
    13     <div id="container">
       
    14         <div id="left">
       
    15         <ul id="nav">
       
    16             <li><a href="/" title="home">home</a></li>
       
    17             {% if user.is_authenticated %}
       
    18                 <li><a href="/task/browse/" title="tasks">tasks</a></li>
       
    19                 <li><a href="/textbook/" title="textbook">textbooks</a></li>
       
    20                 <br />
       
    21                 <li><a href="/profile/notf/browse/" title="notifications">
       
    22 			{{ user|notf_dsp }}
       
    23                 </a></li>
       
    24                 <br>
       
    25                 <li><a href="/profile/view">profile</a></li>
       
    26                 <li><a href="/accounts/logout/">logout</a></li>
       
    27             {% else %}
       
    28                 <li><a href="/accounts/login/" title="login">login</a></li>
       
    29             {% endif %}
       
    30         </ul>
       
    31         </div>
       
    32         <div id="center">
       
    33             {% block content %}This is the default content{% endblock %}
       
    34         </div>
       
    35         <div id="right">
       
    36             <!--{% if user.is_authenticated %}
       
    37             <a href="/accounts/logout">logout</a> 
       
    38             {% endif %}-->
       
    39         </div>
       
    40         <div class="clearer">
       
    41         </div>
       
    42     </div>
       
    43     <div id="footer">
       
    44     Designed by <a href="http://fossee.in">FOSSEE</a>
       
    45     </div>
       
    46 </div> 
       
    47 
       
    48 </body>
       
    49 </html>