summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-07-22 17:26:08 +0000
committerubq323 <ubq323>2021-07-22 17:26:08 +0000
commitd22cd7736b46e4cae507cbb5e1d83f6794c2f921 (patch)
treef33c4b880ed412c9b12a679c1447a9a2e0e8cd37
parentdc65b43ddce195c2ed35f6b7a0c1a96d284e0d55 (diff)
improve ui slightly
-rw-r--r--apioforum/static/style.css1
-rw-r--r--apioforum/templates/view_forum.html3
2 files changed, 4 insertions, 0 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css
index 237cad6..1ee3b14 100644
--- a/apioforum/static/style.css
+++ b/apioforum/static/style.css
@@ -80,6 +80,7 @@ dt { font-weight: bold }
img { max-width: 100% }
+.avail_tags { margin-top: 30px }
nav#navbar { float: right; padding: 5px; margin: 2px; border: 1px solid black; display:flex; align-items: center; flex-wrap: wrap }
nav#navbar p { margin-left: 15px; margin-top: 0; margin-bottom: 0; margin-right: 10px; padding: 0 }
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 67693d8..25d83e5 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -11,8 +11,11 @@
{% 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 %}