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/admin-page.ecr | 32 ------------- src/views/login-page.ecr | 114 --------------------------------------------- src/views/logout-page.ecr | 67 -------------------------- src/views/pages/admin.ecr | 32 +++++++++++++ src/views/pages/login.ecr | 114 +++++++++++++++++++++++++++++++++++++++++++++ src/views/pages/logout.ecr | 67 ++++++++++++++++++++++++++ 6 files changed, 213 insertions(+), 213 deletions(-) delete mode 100644 src/views/admin-page.ecr delete mode 100644 src/views/login-page.ecr delete mode 100644 src/views/logout-page.ecr 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') diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr deleted file mode 100644 index 1eb030a..0000000 --- a/src/views/admin-page.ecr +++ /dev/null @@ -1,32 +0,0 @@ - - - - - <%= h(TITLE) %> - <%= styles %> - - - - <%= navbar %> - -
-
- - -
<%= - panes - %>
-
-
- - <%= dialogs %> - - - - - <%= scripts %> - diff --git a/src/views/login-page.ecr b/src/views/login-page.ecr deleted file mode 100644 index 16f63a4..0000000 --- a/src/views/login-page.ecr +++ /dev/null @@ -1,114 +0,0 @@ - - - - - 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/logout-page.ecr b/src/views/logout-page.ecr deleted file mode 100644 index b3c2eae..0000000 --- a/src/views/logout-page.ecr +++ /dev/null @@ -1,67 +0,0 @@ - - - - - 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 - } - %> - 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