From 314a0e4ed739776b7d3c4ee08d2ceeee8248a421 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 16 Jun 2025 21:25:16 -0500 Subject: make tag selection look the same as tag filtering --- apioforum/static/style.css | 7 +++---- apioforum/templates/config_thread.html | 10 +++++----- apioforum/templates/create_thread.html | 15 --------------- apioforum/templates/view_forum.html | 2 +- 4 files changed, 9 insertions(+), 25 deletions(-) delete mode 100644 apioforum/templates/create_thread.html diff --git a/apioforum/static/style.css b/apioforum/static/style.css index 9650598..a3d10d6 100644 --- a/apioforum/static/style.css +++ b/apioforum/static/style.css @@ -382,14 +382,13 @@ fieldset { margin-bottom: 15px; } .tag-editor input[type="checkbox"] { width: 12ch; } .new-tag { float: right; text-align: center; width: 12ch; margin-top: 10px } -.tag-filters { +.tag-selection { display: flex; flex-wrap: wrap; gap: 10px; - margin-bottom: 10px; } - -.tag-filters input[type="radio"] { vertical-align: top; } +.tag-selection input { vertical-align: top; } +.filter-tags { margin-bottom: 10px; } .md table { border: 1px solid var(--gray); 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 @@
tags {% if avail_tags %} - + {% else %}

there are no available tags.

{% 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 %} -

{% block title %}create thread{% endblock %}

-{% endblock %} - -{% block content %} -
- - -
- - - -
-{% 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)") }}

filter by tag:

-
+
-- cgit v1.2.3