diff options
author | ubq323 <ubq323> | 2021-07-22 17:36:30 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-07-22 17:36:30 +0000 |
commit | 74a992ca018a69cc1de6225a681ca17c19c74ffa (patch) | |
tree | 521a2736c8fc8b207eea8e530792f88a974409af /apioforum/templates | |
parent | ca9059374bae63dcf47b0ffcaa57b43ae608c309 (diff) | |
parent | 054e159a1183bbd328d24924e4478e7677fade42 (diff) |
merge
Diffstat (limited to 'apioforum/templates')
-rw-r--r-- | apioforum/templates/base.html | 2 | ||||
-rw-r--r-- | apioforum/templates/view_forum.html | 12 |
2 files changed, 11 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>™</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 88be22f..475fdc2 100644 --- a/apioforum/templates/view_forum.html +++ b/apioforum/templates/view_forum.html @@ -11,6 +11,12 @@ {% if forum.description %} {{forum.description|md|safe}} {% endif %} +<p class="avail_tags">available tags: +{% for the_tag in avail_tags %} +{{tag(the_tag)}} +{% else %} +<em>(none available)</em> +{% endfor %} {% if subforums %} <h2>subforae</h2> @@ -37,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"> |