diff options
author | ubq323 <ubq323> | 2021-07-22 17:26:08 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-07-22 17:26:08 +0000 |
commit | d22cd7736b46e4cae507cbb5e1d83f6794c2f921 (patch) | |
tree | f33c4b880ed412c9b12a679c1447a9a2e0e8cd37 | |
parent | dc65b43ddce195c2ed35f6b7a0c1a96d284e0d55 (diff) |
improve ui slightly
-rw-r--r-- | apioforum/static/style.css | 1 | ||||
-rw-r--r-- | apioforum/templates/view_forum.html | 3 |
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 %} |