templates/base.html
changeset 56 05e10eccd515
parent 45 ab8918e654ae
child 68 624f9fd438e3
equal deleted inserted replaced
55:ca2486e29178 56:05e10eccd515
     2 <head>
     2 <head>
     3     <title>{% block title %}PyTasks{% endblock %}</title>
     3     <title>{% block title %}PyTasks{% endblock %}</title>
     4 </head>
     4 </head>
     5 <body>
     5 <body>
     6 <h2><a href="/">PyTasks</a></h2>
     6 <h2><a href="/">PyTasks</a></h2>
     7 <a href="javascript:history.go(-1)">back</a> 
       
     8 {% if user.is_authenticated %}
     7 {% if user.is_authenticated %}
     9  | <a href="/accounts/logout">logout</a> 
     8 <a href="/accounts/logout">logout</a> 
    10 {% endif %}
     9 {% endif %}
    11 <br><br>
    10 <br><br>
    12 {% block content %}This is the default content{% endblock %}</body>
    11 {% block content %}This is the default content{% endblock %}</body>
    13 </html>
    12 </html>