From 91fc14cffcc1d81c02cea272a9eca1d5172f56ba Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Tue, 27 Feb 2024 13:43:18 +0000 Subject: housekeeping: remove unused CSS and JS --- views/layouts/main.handlebars | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'views') diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 996d35f..46973a1 100755 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -34,25 +34,20 @@ - - - - - + - -- cgit v1.2.3 From 54d6a826d071e8697dcbaf56e92f72e2076d91fb Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Tue, 27 Feb 2024 17:11:19 +0000 Subject: refactor: new layout and styling tweaks --- views/404.handlebars | 8 +- views/createEventMagicLink.handlebars | 5 +- views/event.handlebars | 162 +++++++++++++++++----------------- views/eventgroup.handlebars | 124 +++++++++++++------------- views/home.handlebars | 2 + views/layouts/main.handlebars | 56 ++++++------ views/newevent.handlebars | 4 +- views/partials/sidebar.handlebars | 4 +- views/publicEventList.handlebars | 4 +- views/static.handlebars | 19 ++-- 10 files changed, 195 insertions(+), 193 deletions(-) (limited to 'views') diff --git a/views/404.handlebars b/views/404.handlebars index 832f81a..69066db 100755 --- a/views/404.handlebars +++ b/views/404.handlebars @@ -1,5 +1,7 @@ -

404

+
+

404

-

Event not found!

+

Event not found!

-

It may have never existed, or if it finished more than a week ago, it's been removed from the server. Don't despair - why not create a new one? I for one would love to come to your ocarina recital.

+

It may have never existed, or if it finished more than a week ago, it's been removed from the server. Don't despair - why not create a new one? I for one would love to come to your ocarina recital.

+
\ No newline at end of file diff --git a/views/createEventMagicLink.handlebars b/views/createEventMagicLink.handlebars index ab00dc5..7329801 100644 --- a/views/createEventMagicLink.handlebars +++ b/views/createEventMagicLink.handlebars @@ -1,5 +1,4 @@ -
- +

Request a link to create a new event

Request magic link
-
+ diff --git a/views/event.handlebars b/views/event.handlebars index 44c2f4b..5da0330 100755 --- a/views/event.handlebars +++ b/views/event.handlebars @@ -1,10 +1,11 @@ +
{{#if eventHasCoverImage}} -
+
{{else}} -
+
{{/if}}
-
+

{{eventData.name}}

@@ -16,95 +17,93 @@ {{/if}}
-
-
-
-
- +
+
+
+
{{#if eventHasConcluded}} @@ -573,3 +572,4 @@ window.eventData = {{{ json jsonData }}}; }); +
\ No newline at end of file diff --git a/views/eventgroup.handlebars b/views/eventgroup.handlebars index 7ad3570..9fb2276 100755 --- a/views/eventgroup.handlebars +++ b/views/eventgroup.handlebars @@ -1,9 +1,10 @@ +
{{#if eventGroupHasCoverImage}} -
+
{{else}} -
+
{{/if}} -
+

{{eventGroupData.name}}

@@ -15,6 +16,7 @@ {{/if}}
+
{{#if firstLoad}} {{/if}} -
-
-
-
- +
+
{{#if editingEnabled}} -
+

To add an event to this group, copy and paste the two codes below into the 'Event Group' box when creating a new event or editing an existing event.

@@ -119,7 +119,7 @@ {{#if upcomingEventsExist}} {{#each events}} {{#unless this.eventHasConcluded}} - + {{this.name}} {{#if this.location}} {{this.location}}{{/if}} @@ -132,6 +132,7 @@ {{/if}} + {{#if editingEnabled}} {{> editeventgroupmodal }} @@ -338,3 +339,4 @@ window.groupData = {{{ json jsonData }}}; }); + \ No newline at end of file diff --git a/views/home.handlebars b/views/home.handlebars index bf92724..7b4608a 100755 --- a/views/home.handlebars +++ b/views/home.handlebars @@ -1,3 +1,4 @@ +

Gathio is a simple, federated, privacy-first event hosting platform.

@@ -52,3 +53,4 @@
{{/if}} +
\ No newline at end of file diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 46973a1..e967019 100755 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -53,37 +53,33 @@ -
diff --git a/views/newevent.handlebars b/views/newevent.handlebars index 5d254ca..9df69db 100755 --- a/views/newevent.handlebars +++ b/views/newevent.handlebars @@ -1,4 +1,4 @@ -
+
@@ -68,7 +68,7 @@
-
+ diff --git a/views/partials/sidebar.handlebars b/views/partials/sidebar.handlebars index 1882aef..6aa13b3 100755 --- a/views/partials/sidebar.handlebars +++ b/views/partials/sidebar.handlebars @@ -1,5 +1,5 @@ -
-

gathio

+ - \ No newline at end of file + \ No newline at end of file diff --git a/views/static.handlebars b/views/static.handlebars index d28d8f2..a05aea7 100644 --- a/views/static.handlebars +++ b/views/static.handlebars @@ -1,10 +1,11 @@ -
-
-

{{title}}

-
-
- {{{content}}} -
-
- +
+
+
+

{{title}}

+
+
+ {{{content}}} +
+
+
-- cgit v1.2.3