From 3b28783c8647764fb6f73af811d468bb4c37ed26 Mon Sep 17 00:00:00 2001 From: roberto Date: Fri, 18 Apr 2025 18:20:33 +0200 Subject: [PATCH] Interface minor changes --- assets/static/css/main.css | 2 +- assets/static/img/icons/list-bullets.png | Bin 0 -> 822 bytes assets/static/img/icons/list-bullets.svg | 1 + assets/static/manifest.json | 17 ++++++++++++++++- assets/templates/items/share.tmpl | 6 ++---- assets/templates/items/share_edit.tmpl | 2 +- 6 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 assets/static/img/icons/list-bullets.png create mode 100644 assets/static/img/icons/list-bullets.svg diff --git a/assets/static/css/main.css b/assets/static/css/main.css index 66ea6c4..9360fbc 100644 --- a/assets/static/css/main.css +++ b/assets/static/css/main.css @@ -1353,7 +1353,7 @@ dialog .content h5 { height: calc(100vh - var(--quickbox-footer-height) - var(--quickbox-footer-height) - 42px); } - .home-card-summary { + .item-card .row { height: 250px; overflow: auto; } diff --git a/assets/static/img/icons/list-bullets.png b/assets/static/img/icons/list-bullets.png new file mode 100644 index 0000000000000000000000000000000000000000..4dd98ecd628dddd3900663127cebdc61c59d81a3 GIT binary patch literal 822 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD1|%QND7Ro>U~JBGb`J1#c2+1T%1_J8No8Qr zm{>c}*5j~)%+dJEUZGJeZxtR*SZH{IG=)p2a%U^Sf**w`zv)=E?C(w6xjKJ@RX>x|*r zc`D&agoCJ5%60yK?E80bc1Zx!i^{?|{e}uVxJ_R7eXf0DaaQ=if1a3^vh`aT z&(uwdd!KPpIUzxM$BuUyr{oHDGV|C=ZqnR6Y5uYR4TksWUwkbSUWmPj&;EMt-tm{r z6Be!uGCy!o(I9Tgo6`RB?`7Y=y`NcDZ!h}3sPTmRf=R$wVN3FMcVVyq!K@6IKA;F^ zfk$L9FaocGFr$;k>V2Xc?AOz=$;Qba4!+xb^myt=AC;3AP8} z+}XKDn|~CuyuD(5H2a09i%r8km!y|&-rFN)b8Kol`Rd(~mgkKtozy1hpYUP3#{x7J z2ojRF{VRAMH)*rVZ_jy?@2Jhx%#@t&IZLHmf30WHLX+9$lT!AD{5fytUvy>j{JARO zZ?A8bs9Zfc&2#oL?ywg)*^gzG-rCR!S?e`dq+ zzSsP=zjw||uwCzM^W;an?+@FP54mO+m`+@};)U9rZ{@|?Ogg5kJQtf<#J=&a%5qP> zNj6*S?RzINfn4`tZp;ObldQZRdN7zF^`z;Vx1L6k;}ololdOy&RTm}`ql$syPriIg VI(MzXCME@tHcwYSmvv4FO#sGpU4H-o literal 0 HcmV?d00001 diff --git a/assets/static/img/icons/list-bullets.svg b/assets/static/img/icons/list-bullets.svg new file mode 100644 index 0000000..30a4668 --- /dev/null +++ b/assets/static/img/icons/list-bullets.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/static/manifest.json b/assets/static/manifest.json index 5c1d715..6411944 100644 --- a/assets/static/manifest.json +++ b/assets/static/manifest.json @@ -85,5 +85,20 @@ "form_factor": "narrow", "label": "Menu opened in BrainMinder on mobile" } - ] + ], + "shortcuts": [ + { + "name": "All items", + "short_name": "All items", + "description": "Show all items", + "url": "/items", + "icons": [ + { + "src": "/static/img/icons/list-bullets.png", + "type": "image/svg+xml", + "sizes": "96x96" + } + ] + } + ] } \ No newline at end of file diff --git a/assets/templates/items/share.tmpl b/assets/templates/items/share.tmpl index b0ffb9f..266d683 100644 --- a/assets/templates/items/share.tmpl +++ b/assets/templates/items/share.tmpl @@ -21,9 +21,8 @@

-
+
-

{{ .publicBaseUrl }}/item/shared/ @@ -36,7 +35,6 @@
-

@@ -51,7 +49,7 @@

{{ widget_checkbox "Permission_edit" "Allow editing" "1" "" }}

diff --git a/assets/templates/items/share_edit.tmpl b/assets/templates/items/share_edit.tmpl index c3f8544..8ab7c46 100644 --- a/assets/templates/items/share_edit.tmpl +++ b/assets/templates/items/share_edit.tmpl @@ -51,7 +51,7 @@

{{ widget_checkbox "Permission_edit" "Allow editing" "1" "" }}