From db1acf33ab220c177579b6eb0914562fac7bac2e Mon Sep 17 00:00:00 2001 From: Lucas BEE Date: Fri, 11 Nov 2016 16:13:54 +0000 Subject: [PATCH] Update templates Better login page Smaller movie list Link to show user's details --- src/templates/layout.tmpl | 4 +- src/templates/navbar.tmpl | 19 ++++++++-- src/templates/users/edit.tmpl | 69 ++++++++++++++++------------------ src/templates/users/login.tmpl | 32 +++++++++++++--- 4 files changed, 79 insertions(+), 45 deletions(-) diff --git a/src/templates/layout.tmpl b/src/templates/layout.tmpl index 8d38326..c20cf23 100644 --- a/src/templates/layout.tmpl +++ b/src/templates/layout.tmpl @@ -12,7 +12,9 @@ {{ template "navbar" $ }}
- {{ yield }} +
+ {{ yield }} +
diff --git a/src/templates/navbar.tmpl b/src/templates/navbar.tmpl index b5ad630..26293af 100644 --- a/src/templates/navbar.tmpl +++ b/src/templates/navbar.tmpl @@ -32,12 +32,25 @@ - {{ end}} + {{ else }} + + {{ end }} diff --git a/src/templates/users/edit.tmpl b/src/templates/users/edit.tmpl index df59aac..3d3f719 100644 --- a/src/templates/users/edit.tmpl +++ b/src/templates/users/edit.tmpl @@ -1,43 +1,40 @@ -
-
-
-

Edit user

-
+
+
+

Edit user

+
-
+ -
- - +
+ + +
+ +
+ + +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ + Cancel +
+
- -
- - -
- -
- -
- - -
- -
- - -
- -
- - Cancel -
- - - -
-
+
diff --git a/src/templates/users/login.tmpl b/src/templates/users/login.tmpl index 60267df..9872d7b 100644 --- a/src/templates/users/login.tmpl +++ b/src/templates/users/login.tmpl @@ -1,5 +1,27 @@ -
- - - -
+
+
+
+

Log in

+
+
+
+ +
+ +

+
+
+ +
+ +

+
+
+ +
+
+ Cancel +
+
+
+