From 36bf3611026db0722e94050495fbf17f33479b61 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 26 May 2024 17:01:44 +0100 Subject: De-emphasise editing buttons in public pages --- public/css/style.css | 11 +++++------ views/event.handlebars | 6 ++++-- views/partials/sidebar.handlebars | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index dbe3bca..9a81967 100755 --- a/public/css/style.css +++ b/public/css/style.css @@ -441,6 +441,11 @@ ul#sidebar__nav a { flex-wrap: wrap; } +#event__actions #editEvent { + width: 100%; + margin-top: 16px; +} + .attendeesList > li { border: 4px solid #0ea130; border-radius: 2em; @@ -617,12 +622,6 @@ li.hidden-attendee .attendee-name { /* FORMS */ -#newEventFormContainer, -#importEventFormContainer, -#newEventGroupFormContainer { - display: none; -} - #icsImportLabel { overflow: hidden; text-overflow: ellipsis; diff --git a/views/event.handlebars b/views/event.handlebars index 5f5f831..cd1645a 100755 --- a/views/event.handlebars +++ b/views/event.handlebars @@ -12,8 +12,6 @@
{{#if editingEnabled}} - {{else}} - {{/if}}
@@ -108,6 +106,10 @@ Show on OpenStreetMap + + {{#unless editingEnabled}} + + {{/unless}} diff --git a/views/partials/sidebar.handlebars b/views/partials/sidebar.handlebars index 43ff8c2..c1184be 100755 --- a/views/partials/sidebar.handlebars +++ b/views/partials/sidebar.handlebars @@ -2,7 +2,7 @@

gathio