diff options
author | citrons <citrons@mondecitronne.com> | 2025-06-16 21:25:16 -0500 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2025-06-17 12:05:16 +0100 |
commit | 314a0e4ed739776b7d3c4ee08d2ceeee8248a421 (patch) | |
tree | 0181ca1e5a22e47c3eb5663f07d822a3a80e5879 /apioforum/templates | |
parent | 021a17640c9e36292dddf0bac6cfd4ee8b8e66c5 (diff) |
make tag selection look the same as tag filtering
Diffstat (limited to 'apioforum/templates')
-rw-r--r-- | apioforum/templates/config_thread.html | 10 | ||||
-rw-r--r-- | apioforum/templates/create_thread.html | 15 | ||||
-rw-r--r-- | apioforum/templates/view_forum.html | 2 |
3 files changed, 6 insertions, 21 deletions
diff --git a/apioforum/templates/config_thread.html b/apioforum/templates/config_thread.html index 1debe76..3f2939c 100644 --- a/apioforum/templates/config_thread.html +++ b/apioforum/templates/config_thread.html @@ -12,14 +12,14 @@ <fieldset> <legend>tags</legend> {% if avail_tags %} - <ul> + <section class="tag-selection"> {% for the_tag in avail_tags %} - <li> + <div> <input type="checkbox" id="tag_{{the_tag.id}}" name="tag_{{the_tag.id}}" {%- if the_tag.id in thread_tags %} checked{% endif %}> - <label for="tag_{{the_tag.id}}">#{{the_tag.id}} {{tag(the_tag)}}</label> - </li> + <label for="tag_{{the_tag.id}}">{{tag(the_tag)}}</label> + </div> {% endfor %} - </ul> + </section> {% else %} <p>there are no available tags.</p> {% endif %} diff --git a/apioforum/templates/create_thread.html b/apioforum/templates/create_thread.html deleted file mode 100644 index 90d1410..0000000 --- a/apioforum/templates/create_thread.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends 'base.html' %} -{% block header %} -<h1>{% block title %}create thread{% endblock %}</h1> -{% endblock %} - -{% block content %} -<form method="POST"> - <label for="title">thread title</label> - <input name="title" id="title"> - <br> - <label for="content">thread content</label> - <textarea name="content" id="content" class="new-post-box" placeholder="thread content here"></textarea> - <input type="submit" value="create"> -</form> -{% endblock %} diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html index fe82532..ddfb950 100644 --- a/apioforum/templates/view_forum.html +++ b/apioforum/templates/view_forum.html @@ -77,7 +77,7 @@ you do not have permission to create threads in this forum {{ sortby_option("ca", "creation time (oldest first)") }} </select> <p>filter by tag:</p> - <section class="tag-filters"> + <section class="tag-selection filter-tags"> <div> <input {% if tagfilter_tag is none %}checked{% endif %} type=radio id=tagfilter-none name=tagfilter value=""> <label for=tagfilter-none>don't</label> |