From faa379fbcb2a221065430d8f5cf8ed833eb36d84 Mon Sep 17 00:00:00 2001 From: bhargav nelluri Date: Fri, 24 Jul 2020 07:11:32 +0000 Subject: [PATCH] Updated views --- views/index.handlebars | 10 ++++----- views/issues.handlebars | 47 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 5 deletions(-) create mode 100644 views/issues.handlebars diff --git a/views/index.handlebars b/views/index.handlebars index 0b5a128..8b6c4b7 100644 --- a/views/index.handlebars +++ b/views/index.handlebars @@ -12,11 +12,6 @@

Home

- {{#if authorised}} - Log out - {{else}} - Log in - {{/if}}
{{#if msg}}

{{msg}}

@@ -26,6 +21,11 @@ {{#if authorised}}

secure page

{{/if}} + {{#if authorised}} +

log out

+ {{else}} +

log in

+ {{/if}} diff --git a/views/issues.handlebars b/views/issues.handlebars new file mode 100644 index 0000000..ee5876f --- /dev/null +++ b/views/issues.handlebars @@ -0,0 +1,47 @@ + + + + + + + Home Page + + + + + + + +
+
+ {{#if msg}} +

{{msg}}

+ {{/if}} + Username is : +
+
+ + + + + + + {{#each record}} + + + + + {{/each}} +
ApplianceCompanyProblem
{{this.type_of_appliance}} {{this.appliance_manufacturer}}{{this.description}}
+
+
+
+

+

+ +
+Click me

+ + + + \ No newline at end of file