From 376fae2a3367d5813d088a29c5a62938bd55f762 Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 6 May 2021 21:07:24 +0200 Subject: Boilerplate for login system. --- views/home.handlebars | 2 +- views/layouts/main.handlebars | 17 +++++++++++++++++ views/login.handlebars | 14 ++++++++++++++ views/new-post.handlebars | 8 +++++++- views/register.handlebars | 26 ++++++++++++++++++++++++++ 5 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 views/login.handlebars create mode 100644 views/register.handlebars (limited to 'views') diff --git a/views/home.handlebars b/views/home.handlebars index 6061e4e..b0b7d34 100644 --- a/views/home.handlebars +++ b/views/home.handlebars @@ -8,7 +8,7 @@
- {{this.text}} + {{{this.text}}}
Remove
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 9eccc37..41585e5 100644 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -31,6 +31,23 @@ New Post {{/if}} + + + diff --git a/views/login.handlebars b/views/login.handlebars new file mode 100644 index 0000000..47e2166 --- /dev/null +++ b/views/login.handlebars @@ -0,0 +1,14 @@ +
+

{{ title }}

+
+
+ + +
+
+ + +
+ +
+
diff --git a/views/new-post.handlebars b/views/new-post.handlebars index 19984ee..9e42ba9 100644 --- a/views/new-post.handlebars +++ b/views/new-post.handlebars @@ -7,8 +7,14 @@
- +
+ + diff --git a/views/register.handlebars b/views/register.handlebars new file mode 100644 index 0000000..d18a6b8 --- /dev/null +++ b/views/register.handlebars @@ -0,0 +1,26 @@ +
+

{{ title }}

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
-- cgit v1.2.3