mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-15 23:32:17 +00:00
Further template modifications
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen">
|
||||
{% block HeadTag %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
@@ -14,7 +15,12 @@
|
||||
<div id="navigation">
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
{% if request.user %}
|
||||
<li><a href="/profile">Profile</a></li>
|
||||
<li><a href="/logout">Logout</a></li>
|
||||
{% else %}
|
||||
<li><a href="/login">Login</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="content">
|
||||
|
||||
Reference in New Issue
Block a user