summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2023-10-06 16:16:26 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2023-10-06 16:19:04 +0100
commit5980e63de0d71f2168d4c234312f1e3d6ab23d8c (patch)
tree365382c1a6c06dd7869f6c7480d8dad4631c65e1
parentc52e51fe5dcc22bed5671d3931c76c47130d3da5 (diff)
Remove unused Handlebars files
-rwxr-xr-xviews/login.handlebars32
-rwxr-xr-xviews/partials/sidebar-dropdown.handlebars11
-rwxr-xr-xviews/register.handlebars15
3 files changed, 0 insertions, 58 deletions
diff --git a/views/login.handlebars b/views/login.handlebars
deleted file mode 100755
index a08f5b4..0000000
--- a/views/login.handlebars
+++ /dev/null
@@ -1,32 +0,0 @@
-<h2>Log in</h2>
-<div class="form-group row">
- <div class="col-sm-12">
- {{#if isPublic}}
- <p class="form-text">Register or log in to your account to be able to show this event on your profile, edit it, and delete it. <strong>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.</strong></p>
- {{else if isPrivate}}
- <p class="form-text">You must <a href="/register">register</a> or log in to your account to create a private event.</p>
- {{else if isOrganisation}}
- <p class="form-text">You must <a href="/register">register</a> or log in to an organisation account to create an organisation event.</p>
- {{/if}}
- </div>
-</div>
-<div class="form-group row">
- <label for="email" class="col-sm-2 col-form-label">Email address</label>
- <div class="form-group col-sm-10">
- <input type="email" class="form-control" id="email" name="email" placeholder="We will never spam you or share your email." value="{{data.email}}" data-validation="{{#unless isPublic}}required{{/unless}} email" {{#if isPublic}}data-validation-optional="true"{{/if}}>
- </div>
-</div>
-<div class="form-group row">
- <label for="password" class="col-sm-2 col-form-label">Password</label>
- <div class="form-group col-sm-10">
- <input type="password" class="form-control" id="password" name="password" placeholder="Don't forget it!" {{#unless isPublic}}data-validation="required"{{/unless}}>
- </div>
- <div class="form-group col-sm-10 offset-sm-2">
- <div class="" id="passwordStrengthBar"></div>
- </div>
-</div>
-
-
-<p>
- <a href="/register">Register</a> | <a href="/forgotpassword">Forgot password</a>
-</p>
diff --git a/views/partials/sidebar-dropdown.handlebars b/views/partials/sidebar-dropdown.handlebars
deleted file mode 100755
index 9f9e564..0000000
--- a/views/partials/sidebar-dropdown.handlebars
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="dropdown mb-2">
- <a class="w-100 btn btn-dark dropdown-toggle" href="#" role="button" id="newEventDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- New event
- </a>
-
- <div class="dropdown-menu" aria-labelledby="newEventDropdownMenuLink">
- <a class="dropdown-item" href="/new/event/private">Private</a>
- <a class="dropdown-item" href="/new/event/public">Public</a>
- <a class="dropdown-item" href="/new/event/organisation">Organisation</a>
- </div>
-</div> \ No newline at end of file
diff --git a/views/register.handlebars b/views/register.handlebars
deleted file mode 100755
index 1e097c1..0000000
--- a/views/register.handlebars
+++ /dev/null
@@ -1,15 +0,0 @@
-<div class="form-group row">
- <label for="email" class="col-sm-2 col-form-label">Email address</label>
- <div class="form-group col-sm-10">
- <input type="email" class="form-control" id="email" name="email" placeholder="We will never spam you or share your email." value="{{data.email}}" data-validation="{{#unless isPublic}}required{{/unless}} email" {{#if isPublic}}data-validation-optional="true"{{/if}}>
- </div>
- </div>
- <div class="form-group row">
- <label for="password" class="col-sm-2 col-form-label">Password</label>
- <div class="form-group col-sm-10">
- <input type="password" class="form-control" id="password" name="password" placeholder="Don't forget it!" {{#unless isPublic}}data-validation="required"{{/unless}}>
- </div>
- <div class="form-group col-sm-10 offset-sm-2">
- <div class="" id="passwordStrengthBar"></div>
- </div>
- </div> \ No newline at end of file