aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-07-22 17:35:37 +0000
committerubq323 <ubq323>2021-07-22 17:35:37 +0000
commit054e159a1183bbd328d24924e4478e7677fade42 (patch)
tree521a2736c8fc8b207eea8e530792f88a974409af /apioforum/templates
parentd22cd7736b46e4cae507cbb5e1d83f6794c2f921 (diff)
minor html restructureper-forum-tags
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/base.html2
-rw-r--r--apioforum/templates/view_forum.html6
2 files changed, 5 insertions, 3 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html
index 9cfd7f3..ca1dd87 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html
@@ -12,7 +12,7 @@
<body>
<nav id="navbar">
<p style="font-family: monospace;"><b>apio</b><i>forum</i>&trade;</p>
- <form class="search-form" action="/search">
+ <form class="inline-form" action="/search">
<input type="search" placeholder="query" name="q">
<input type="submit" value="search">
</form>
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 25d83e5..475fdc2 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -43,11 +43,13 @@
{% endif %}
<h2>threads</h2>
+<p>
{% if g.user %}
-<p><a class="actionbutton" href="{{url_for('forum.create_thread',forum_id=forum.id)}}">create new thread</a></p>
+<a class="actionbutton" href="{{url_for('forum.create_thread',forum_id=forum.id)}}">create new thread</a>
{% else %}
-<p>please log in to create a new thread</p>
+please log in to create a new thread
{% endif %}
+</p>
<div class="thread-list">
{%for thread in threads%}
<div class="listing">