summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/base.html')
-rw-r--r--apioforum/templates/base.html47
1 files changed, 26 insertions, 21 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index 6783862..ba96c91 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -13,27 +13,32 @@
<input type="search" placeholder="query" name="q">
<input type="submit" value="search">
</form>
- <p><a href="{{url_for('index')}}">home</a></p>
-
- {% if g.user %}
- <p>{{ g.user }}</p>
- <p>
- <a href="{{ url_for('auth.logout',next=request.path) }}">
- logout
- </a>
- </p>
- {% else %}
- <p>
- <a href="{{ url_for('auth.login',next=request.path) }}">
- login
- </a>
- </p>
- <p>
- <a href="{{ url_for('auth.register',next=request.path) }}">
- register
- </a>
- </p>
- {% endif %}
+
+ <div class="links">
+
+ <p><a href="{{url_for('index')}}">home</a></p>
+
+ {% if g.user %}
+ <p>{{ g.user }}</p>
+ <p>
+ <a href="{{ url_for('auth.logout',next=request.path) }}">
+ logout
+ </a>
+ </p>
+ {% else %}
+ <p>
+ <a href="{{ url_for('auth.login',next=request.path) }}">
+ login
+ </a>
+ </p>
+ <p>
+ <a href="{{ url_for('auth.register',next=request.path) }}">
+ register
+ </a>
+ </p>
+ {% endif %}
+
+ </div>
</nav>
<div class="header">