From 930542049e40a1a99c9a0c2c349519ccddf52140 Mon Sep 17 00:00:00 2001 From: lowercasename Date: Thu, 25 Jul 2019 16:16:04 +0100 Subject: First commit --- views/404.handlebars | 3 + views/event.handlebars | 397 +++++++++++++++++++++++++++++ views/home.handlebars | 26 ++ views/layouts/main.handlebars | 79 ++++++ views/login.handlebars | 32 +++ views/newevent.handlebars | 120 +++++++++ views/optionsform.handlebars | 47 ++++ views/partials/importeventform.handlebars | 15 ++ views/partials/neweventform.handlebars | 110 ++++++++ views/partials/sidebar-dropdown.handlebars | 11 + views/partials/sidebar.handlebars | 5 + views/register.handlebars | 15 ++ 12 files changed, 860 insertions(+) create mode 100755 views/404.handlebars create mode 100755 views/event.handlebars create mode 100755 views/home.handlebars create mode 100755 views/layouts/main.handlebars create mode 100755 views/login.handlebars create mode 100755 views/newevent.handlebars create mode 100755 views/optionsform.handlebars create mode 100644 views/partials/importeventform.handlebars create mode 100755 views/partials/neweventform.handlebars create mode 100755 views/partials/sidebar-dropdown.handlebars create mode 100755 views/partials/sidebar.handlebars create mode 100755 views/register.handlebars (limited to 'views') diff --git a/views/404.handlebars b/views/404.handlebars new file mode 100755 index 0000000..9d7393a --- /dev/null +++ b/views/404.handlebars @@ -0,0 +1,3 @@ +

404

+ +

Sorry buddy, event not found. Maybe try making a new one?

\ No newline at end of file diff --git a/views/event.handlebars b/views/event.handlebars new file mode 100755 index 0000000..ab04987 --- /dev/null +++ b/views/event.handlebars @@ -0,0 +1,397 @@ +{{#if eventHasCoverImage}} +
+{{else}} +
+{{/if}} +
+
+

{{eventData.name}}

+
+ {{#if editingEnabled}} +
+
+ + +
+
+ {{/if}} +
+
+
+ +
+
+{{#if eventHasConcluded}} + +{{/if}} +{{#if firstLoad}} + +{{/if}} +
+
About
+
+ {{{parsedDescription}}} +
+
+ +{{#if eventData.usersCanAttend}} +
+
Attendees {{#if eventData.attendees}}({{eventData.attendees.length}}){{/if}}
+
+ {{#if eventData.attendees}} +
    + {{#each eventData.attendees}} +
  • {{this.name}}
  • + {{/each}} +
+ {{else}} +

No attendees yet!

+ {{/if}} +
+
+ + +{{/if}} + +{{#if eventData.usersCanComment}} +
+
Discussion
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+ {{#if eventData.comments}} +
+
+ {{#each eventData.comments}} +
+
+
+

{{this.author}} {{this.timestamp}}

+

{{this.content}}

+ {{#if this.replies}} +
+
+ {{#each this.replies}} +

{{this.author}} {{this.timestamp}}

+

{{this.content}}

+ {{/each}} +
+ {{/if}} +
+ +
+
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+ {{/each}} +
+ {{/if}} +
+
+{{/if}} + +{{#if editingEnabled}} + + + + +{{/if}} + + + diff --git a/views/home.handlebars b/views/home.handlebars new file mode 100755 index 0000000..ae1e8c6 --- /dev/null +++ b/views/home.handlebars @@ -0,0 +1,26 @@ +

Organise all the things

+ +

+ gathio is a quick and easy way to make and share events which respects your privacy. +

+ +
+ +

You don't need to sign up for an account - we just use your email to send you a secret link you can use to edit or delete your event. Send all your guests the public link, and all your co-hosts the editing link. A week after the event finishes, it's deleted from our servers for ever, and your email goes with it.

+ +

Oh, and events look great:

+ +
+ +
+ +

Also, we don't show you ads, don't sell your data, and never send you unnecessary emails.

+ +

But remember: all our events are visible to anyone who knows the link, so probably don't use gathio to plot your surprise birthday party or revolution. Or whatever, you do you.

+ +
+
+

If you find yourself using and enjoying gathio, consider buying me a coffee. It'll help keep the site running!

+ +
+
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars new file mode 100755 index 0000000..caa00a9 --- /dev/null +++ b/views/layouts/main.handlebars @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{#if title}}{{title}} · {{/if}}gathio + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ {{{body}}} +
+
+ GitHub · Made with by Raphael · Need help? Email us. +
+
+
+
+ + diff --git a/views/login.handlebars b/views/login.handlebars new file mode 100755 index 0000000..b5907c0 --- /dev/null +++ b/views/login.handlebars @@ -0,0 +1,32 @@ +

Log in

+
+
+ {{#if isPublic}} +

Register or log in to your account to be able to show this event on your profile, edit it, and delete it. Associating an event with an account is optional, but keep in mind that an unassociated event can not be modified in any way and will be automatically deleted 30 days after it concludes.

+ {{else if isPrivate}} +

You must register or log in to your account to create a private event.

+ {{else if isOrganisation}} +

You must register or log in to an organisation account to create an organisation event.

+ {{/if}} +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + +

+ Register | Forgot password +

\ No newline at end of file diff --git a/views/newevent.handlebars b/views/newevent.handlebars new file mode 100755 index 0000000..b63b43c --- /dev/null +++ b/views/newevent.handlebars @@ -0,0 +1,120 @@ +{{#if isPublic}} +

New public event

+
+ +{{else if isPrivate}} +

New private event

+
+

A private event is only visible to those who know the event password.

+
+{{else if isOrganisation}} +

New organisation event

+

An organisation event is linked to an existing organisation. It can be made public, in which case it is visible to anyone who has the link, or private, in which case it is only visible to those who know the event password.

+
+{{else if isUnknownType}} +

New event

+
+ +{{else}} +

New event

+
+ +{{/if}} + + +{{#each errors}} + +{{/each}} + +
+
+
+ +
+
+ +
+
+
+ +
+ {{#if isPublic}} + {{>neweventform}} + {{else if isPrivate}} + {{>neweventform}} + {{else if isOrganisation}} + {{>neweventform}} + {{else}} + {{/if}} +
+ +
+ {{>importeventform}} +
+ + + diff --git a/views/optionsform.handlebars b/views/optionsform.handlebars new file mode 100755 index 0000000..4b3e7a3 --- /dev/null +++ b/views/optionsform.handlebars @@ -0,0 +1,47 @@ +
+
Options
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
Options
+
+
+ + +
+
+ + +
+
+ + +
+
+
diff --git a/views/partials/importeventform.handlebars b/views/partials/importeventform.handlebars new file mode 100644 index 0000000..35baf6e --- /dev/null +++ b/views/partials/importeventform.handlebars @@ -0,0 +1,15 @@ +

+ Upload an .ics file here to instantly create an event. You can save a Facebook event as an .ics file by clicking on the context menu next to the 'Import' and 'Edit' buttons on the event page and choosing the 'Export Event' option. Then select the 'Save to calendar' option and save the file on your computer. +

+ +Image showing the location of the export option on Facebook + +
+
+ + +
+ +
diff --git a/views/partials/neweventform.handlebars b/views/partials/neweventform.handlebars new file mode 100755 index 0000000..8f2b32e --- /dev/null +++ b/views/partials/neweventform.handlebars @@ -0,0 +1,110 @@ +
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + Markdown formatting supported. +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ Recommended dimensions (w x h): 920px by 300px. +
+
+ {{#unless isPublic}} +
+ +
+ +
+
+
+
+
+ {{/unless}} +
+ +
+ +
+
+
+ +
+ + We will send your secret editing link to this email address. +
+
+
+
Options
+
+
+ + +
+
+ + +
+
+
+
+
+ +
+
+
+ + diff --git a/views/partials/sidebar-dropdown.handlebars b/views/partials/sidebar-dropdown.handlebars new file mode 100755 index 0000000..9f9e564 --- /dev/null +++ b/views/partials/sidebar-dropdown.handlebars @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/views/partials/sidebar.handlebars b/views/partials/sidebar.handlebars new file mode 100755 index 0000000..75f5ca8 --- /dev/null +++ b/views/partials/sidebar.handlebars @@ -0,0 +1,5 @@ +

gathio

+ +

Nicer events

+ + New event diff --git a/views/register.handlebars b/views/register.handlebars new file mode 100755 index 0000000..1e097c1 --- /dev/null +++ b/views/register.handlebars @@ -0,0 +1,15 @@ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+
\ No newline at end of file -- cgit v1.2.3