summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorosmarks <osmarks>2021-06-14 18:27:00 +0000
committerosmarks <osmarks>2021-06-14 18:27:00 +0000
commitf9c6526cdfabdea7352dfd499e041b8ad4de0f01 (patch)
tree504c93608804eab5c28035b718c2053879993ac2 /apioforum/templates
parent08c27eef1f5f5971866dbc43f6191c3f02557544 (diff)
more responsiveness, or possibly less
Diffstat (limited to 'apioforum/templates')
-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">