From b03046a1a61b53608f0482770dcc9025a3c0b665 Mon Sep 17 00:00:00 2001 From: roberto Date: Mon, 16 Dec 2024 17:55:33 +0100 Subject: [PATCH] Various UI fixes --- assets/static/css/main.css | 5 +-- assets/static/js/main.js | 2 +- assets/templates/base.tmpl | 10 ++--- assets/templates/items/all_list.tmpl | 53 +++++------------------ assets/templates/items/all_list_rows.tmpl | 2 +- assets/templates/items/form.tmpl | 7 ++- assets/templates/items/list.tmpl | 49 +++++---------------- assets/templates/items/list_rows.tmpl | 2 +- assets/templates/items/read.tmpl | 1 + assets/templates/items/share.tmpl | 6 +-- assets/templates/items/view.tmpl | 4 +- assets/templates/quickbox/add.tmpl | 9 ++-- assets/templates/quickbox/list.tmpl | 2 +- assets/templates/quickbox/transform.tmpl | 37 +++++++--------- internal/funcs/funcs.go | 2 +- 15 files changed, 63 insertions(+), 128 deletions(-) diff --git a/assets/static/css/main.css b/assets/static/css/main.css index 3c41d74..36c5646 100644 --- a/assets/static/css/main.css +++ b/assets/static/css/main.css @@ -903,6 +903,7 @@ th.operations, td.operations { display: flex; flex-direction: row; margin-bottom: 10px; + margin-top: 10px; align-items: flex-start; } @@ -957,10 +958,6 @@ dialog .content { min-width: 300px; } -dialog.share, dialog.quickbox-transform { - min-width: 400px; -} - /* Small */ @media (max-width: 568px) { body.full { diff --git a/assets/static/js/main.js b/assets/static/js/main.js index f6ff5e9..8b82292 100644 --- a/assets/static/js/main.js +++ b/assets/static/js/main.js @@ -194,7 +194,7 @@ document.addEventListener("DOMContentLoaded", function(event){ }); document.body.addEventListener("quickboxNoteClear", function(evt){ - document.getElementById("quickbox-note").value = '' + document.getElementById("quickbox-notetext").value = '' }); document.body.addEventListener("closeQuickboxTransformModal", function(evt){ diff --git a/assets/templates/base.tmpl b/assets/templates/base.tmpl index ca3d7fb..31d435a 100644 --- a/assets/templates/base.tmpl +++ b/assets/templates/base.tmpl @@ -54,11 +54,9 @@

- +
@@ -79,7 +77,7 @@