summaryrefslogtreecommitdiff
path: root/views/partials/importeventform.handlebars
diff options
context:
space:
mode:
authorlowercasename <raphaelkabo@gmail.com>2019-10-01 00:32:31 +0100
committerlowercasename <raphaelkabo@gmail.com>2019-10-01 00:32:31 +0100
commit0c46e2d2d148efb7cfabcf82c12266a8d788f551 (patch)
treeb1a2b9f5aa4dfa543a965b1d7886f4f133d63a54 /views/partials/importeventform.handlebars
parentf04431e5b29b86b7439e41d40ae5a23a13ddd488 (diff)
parent40ade71e0019bbb59710a2e2e5d74197c47cb1b0 (diff)
Merge branch 'master' of https://github.com/lowercasename/gathio
Diffstat (limited to 'views/partials/importeventform.handlebars')
-rw-r--r--views/partials/importeventform.handlebars12
1 files changed, 11 insertions, 1 deletions
diff --git a/views/partials/importeventform.handlebars b/views/partials/importeventform.handlebars
index 35baf6e..9ad038a 100644
--- a/views/partials/importeventform.handlebars
+++ b/views/partials/importeventform.handlebars
@@ -1,3 +1,4 @@
+<h4 class="mb-2">Import an existing event</h4>
<p>
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.
</p>
@@ -5,11 +6,20 @@
<img class="img-thumbnail mb-3 d-block mx-auto" src="/images/facebook-export.png" alt="Image showing the location of the export option on Facebook" />
<form id="icsImportForm" action="/importevent" method="post" enctype="multipart/form-data">
- <div class="custom-file" id="icsImportContainer">
+ <div class="form-group">
+ <div class="custom-file" id="icsImportContainer">
<input required name="icsImportControl" type="file" class="custom-file-input" id="icsImportControl" aria-describedby="fileHelp" accept="text/calendar">
<label name="icsImportLabel" class="custom-file-label" id="icsImportLabel" for="icsImportControl">
<i class="far fa-file-alt"></i> Select file
</label>
</div>
+ </div>
+ <div class="form-group">
+ <label for="creatorEmail" class="form-label">Your email</label>
+ <div class="form-group">
+ <input type="email" class="form-control" id="creatorEmail" name="creatorEmail" placeholder="We won't spam you <3" data-validation="email" data-validation-optional="true">
+ <small class="form-text">We will send your secret editing link to this email address.</small>
+ </div>
+ </div>
<button type="submit" class="d-block mt-3 mx-auto btn btn-primary w-50">Import</button>
</form>