From 4c86c22ff083cd7e50eb6b6cdeba088eaa23b34c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 28 Jul 2016 08:42:10 -0400 Subject: reorganize pages --- src/views/pages/admin.ecr | 32 +++++++++++++ src/views/pages/login.ecr | 114 +++++++++++++++++++++++++++++++++++++++++++++ src/views/pages/logout.ecr | 67 ++++++++++++++++++++++++++ 3 files changed, 213 insertions(+) create mode 100644 src/views/pages/admin.ecr create mode 100644 src/views/pages/login.ecr create mode 100644 src/views/pages/logout.ecr (limited to 'src/views/pages') diff --git a/src/views/pages/admin.ecr b/src/views/pages/admin.ecr new file mode 100644 index 0000000..1eb030a --- /dev/null +++ b/src/views/pages/admin.ecr @@ -0,0 +1,32 @@ + + + + + <%= h(TITLE) %> + <%= styles %> + + + + <%= navbar %> + +
+
+ + +
<%= + panes + %>
+
+
+ + <%= dialogs %> + + + + + <%= scripts %> + diff --git a/src/views/pages/login.ecr b/src/views/pages/login.ecr new file mode 100644 index 0000000..16f63a4 --- /dev/null +++ b/src/views/pages/login.ecr @@ -0,0 +1,114 @@ + + + + + Guff Login + + <%= + styles %w{ + assets/font-awesome-4.5.0/css/font-awesome.min.css + assets/bootstrap-3.3.6/css/bootstrap.min.css + assets/bootstrap-3.3.6/css/bootstrap-theme.min.css + } + %> + + + + + +
+
+
+
+ + + Login + +
+ +
+ <% if @error %> +
+
+ + + Error: Invalid Login + +
+
+ <% end %> + +
+
+ + + +
+ +
+ + + +
+ +
+ +
+ + +
+
+
+
+
+ + + <%= + scripts %w{ + assets/jquery-2.2.1.min.js + assets/bootstrap-3.3.6/js/bootstrap.min.js + } + %> + diff --git a/src/views/pages/logout.ecr b/src/views/pages/logout.ecr new file mode 100644 index 0000000..b3c2eae --- /dev/null +++ b/src/views/pages/logout.ecr @@ -0,0 +1,67 @@ + + + + + Guff Logout + + <%= + styles %w{ + assets/font-awesome-4.5.0/css/font-awesome.min.css + assets/bootstrap-3.3.6/css/bootstrap.min.css + assets/bootstrap-3.3.6/css/bootstrap-theme.min.css + } + %> + + + + + +
+
+
+
+ + + Log Out + +
+ +
+

+ You have logged out. +

+ +

+ Go to Login page +

+
+
+
+
+ + + <%= + scripts %w{ + assets/jquery-2.2.1.min.js + assets/bootstrap-3.3.6/js/bootstrap.min.js + } + %> + -- cgit v1.2.3