From d22cd7736b46e4cae507cbb5e1d83f6794c2f921 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 22 Jul 2021 17:26:08 +0000 Subject: improve ui slightly --- apioforum/static/style.css | 1 + apioforum/templates/view_forum.html | 3 +++ 2 files changed, 4 insertions(+) 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 %} +

available tags: {% for the_tag in avail_tags %} {{tag(the_tag)}} +{% else %} +(none available) {% endfor %} {% if subforums %} -- cgit v1.2.3