From 6b220e094f215c488eb5102e25506f5b3d371245 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 8 Oct 2023 12:11:36 +0100 Subject: Refactor: event group form and API, extract JS --- views/partials/editeventgroupmodal.handlebars | 32 ++------ views/partials/editeventmodal.handlebars | 102 +------------------------- views/partials/eventForm.handlebars | 86 +++++++++++----------- views/partials/eventGroupForm.handlebars | 47 ++++++++++++ views/partials/neweventgroupform.handlebars | 66 ----------------- views/partials/sidebar.handlebars | 2 +- 6 files changed, 98 insertions(+), 237 deletions(-) create mode 100644 views/partials/eventGroupForm.handlebars delete mode 100755 views/partials/neweventgroupform.handlebars (limited to 'views/partials') diff --git a/views/partials/editeventgroupmodal.handlebars b/views/partials/editeventgroupmodal.handlebars index 3b8f55a..2506e26 100644 --- a/views/partials/editeventgroupmodal.handlebars +++ b/views/partials/editeventgroupmodal.handlebars @@ -8,32 +8,10 @@ + + \ No newline at end of file diff --git a/views/partials/editeventmodal.handlebars b/views/partials/editeventmodal.handlebars index 2572cbb..a36cd98 100644 --- a/views/partials/editeventmodal.handlebars +++ b/views/partials/editeventmodal.handlebars @@ -46,104 +46,4 @@ - - \ No newline at end of file + diff --git a/views/partials/eventForm.handlebars b/views/partials/eventForm.handlebars index 36da7b8..93d679d 100755 --- a/views/partials/eventForm.handlebars +++ b/views/partials/eventForm.handlebars @@ -1,52 +1,52 @@ -
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
Markdown formatting supported.
-
- -
+
+ +
-
- -
-
- - +
+ +
+
+ +
Recommended dimensions (w x h): 920px by 300px. {{#if eventData.image}} @@ -54,22 +54,22 @@ {{/if}}
-
- -
+
+ +
-
- -
- +
+ +
+ If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event.
-
-
Options
-
+
+ +
-
+
You can find this short string of characters in the event group's link, in your confirmation email, or on the event group's page.
-
+
@@ -117,13 +117,13 @@
-
- -
+
+ +
-
+
+ + +
+
+ + + Markdown formatting supported. +
+
+ + +
+
+ + +
+
+ +
+ + If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event. +
+
+
+ +
+ + +
+ Recommended dimensions (w x h): 920px by 300px. +
+
+
+ +
\ No newline at end of file diff --git a/views/partials/neweventgroupform.handlebars b/views/partials/neweventgroupform.handlebars deleted file mode 100755 index 616b8ca..0000000 --- a/views/partials/neweventgroupform.handlebars +++ /dev/null @@ -1,66 +0,0 @@ -

Create an event group

-

An event group is a holding area for a set of linked events, like a series of film nights, a festival, or a band tour. You can share a public link to your event group just like an individual event link, and people who know the secret editing code (sent in an email when you create the event group) will be able to add future events to the group.

-

Event groups do not get automatically removed like events do, but events which have been removed from {{siteName}} will of course not show up in an event group.

- -
- -
- -
-
-
- -
- - Markdown formatting supported. -
-
-
- -
- -
-
-
- -
-
- - -
- Recommended dimensions (w x h): 920px by 300px. -
-
-
- -
- -
-
-
- -
- - If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event. -
-
-
-
- -
-
- - - diff --git a/views/partials/sidebar.handlebars b/views/partials/sidebar.handlebars index 980e699..5d8e847 100755 --- a/views/partials/sidebar.handlebars +++ b/views/partials/sidebar.handlebars @@ -3,5 +3,5 @@

Nicer events

- New event + New
-- cgit v1.2.3