templates/base.html
changeset 45 ab8918e654ae
parent 12 a93eebabfeb1
child 56 05e10eccd515
equal deleted inserted replaced
44:2b09336352b5 45:ab8918e654ae
     1 <html>
     1 <html>
     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><br />{% block content %}This is the default content{% endblock %}</body>
     6 <h2><a href="/">PyTasks</a></h2>
       
     7 <a href="javascript:history.go(-1)">back</a> 
       
     8 {% if user.is_authenticated %}
       
     9  | <a href="/accounts/logout">logout</a> 
       
    10 {% endif %}
       
    11 <br><br>
       
    12 {% block content %}This is the default content{% endblock %}</body>
     7 </html>
    13 </html>