From 2bbee2ee54d831e5b4e63a8cabb3611e24533cf3 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 3 Sep 2019 22:54:01 +0200 Subject: [PATCH] Tweak the admin UI --- sass/base_theme.scss | 21 +++++++++++++++++++++ templates/new.html | 12 ++++++++---- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/sass/base_theme.scss b/sass/base_theme.scss index 437095b..84e2b55 100644 --- a/sass/base_theme.scss +++ b/sass/base_theme.scss @@ -350,6 +350,27 @@ form.action-form { #admin { margin-top: 50px; } +.tabbar { + margin-bottom:50px; +} +.tab { + padding: 10px; + text-decoration: none; +} +.tab.selected { + background: $color-menu-background; + color: $primary-color; + border-top: 1px solid $primary-color; + border-right: 1px solid $primary-color; + border-left: 1px solid $primary-color; + padding: 9px; + +} +.tab:hover { + text-decoration: none; + background: $color-menu-background; + color: $color-light; +} textarea, input, select { background: $color-menu-background; padding: 10px; diff --git a/templates/new.html b/templates/new.html index fb5a26b..f422de1 100644 --- a/templates/new.html +++ b/templates/new.html @@ -12,11 +12,13 @@ Replying to {{ content }} {{ utils.display_thread(thread) }} {% else %} + {% if request.args.get("question") == "1" %} -New question make it a note? +NoteQuestion {% else %} -New note make it a question? +NoteQuestion {% endif %} + {% endif %} @@ -37,13 +39,15 @@ {% endfor %}
Open for: - 1 minutes + 5 minutes + 10 minutes + 15 minutes 30 minutes 1 hour 6 hour