summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorraven <raven>2021-06-14 17:08:03 +0000
committerraven <raven>2021-06-14 17:08:03 +0000
commit5d394e581b108eaf1470d5d00b1699d6ade25b4c (patch)
treec897950db8147ad9412efc904c304dd4dd5f47db /apioforum/templates
parent07fe2cd0b6d248a461aa5137ff416c3291eb88b7 (diff)
flexboxification
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/base.html50
1 files changed, 25 insertions, 25 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index 37edcb8..6783862 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -8,32 +8,32 @@
</head>
<body>
<nav>
- <ul>
- <li>
- <span style="font-family: monospace;"><b>apio</b><i>forum</i>&trade;</span>
- </li>
- <li><a href="{{url_for('index')}}">home</a></li>
+ <p style="font-family: monospace;"><b>apio</b><i>forum</i>&trade;</p>
+ <form class="search-form" action="/search">
+ <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 %}
- <li>{{ g.user }}</li>
- <li>
- <a href="{{ url_for('auth.logout',next=request.path) }}">
- logout
- </a>
- </li>
- {% else %}
- <li>
- <a href="{{ url_for('auth.login',next=request.path) }}">
- login
- </a>
- </li>
- <li>
- <a href="{{ url_for('auth.register',next=request.path) }}">
- register
- </a>
- </li>
- {% endif %}
- </ul>
+ {% 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 %}
</nav>
<div class="header">