From 1988056df3bb929c9e34fe7f6c6e32210abf6da4 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 21 May 2016 05:25:09 -0400 Subject: add initial model stubs, login, logout, etc --- src/views/admin-page.ecr | 22 +++++++++++----------- src/views/login-page.ecr | 23 +++++++++++++++++------ 2 files changed, 28 insertions(+), 17 deletions(-) (limited to 'src/views') diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index 284b1a7..47931a8 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -6,9 +6,9 @@ <%= 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 + 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 } %> @@ -18,14 +18,14 @@ <%= scripts %w{ - ../assets/jquery-2.2.1.min.js - ../assets/luigi-template-0.4.1.min.js - ../assets/js/util.js - ../assets/bootstrap-3.3.6/js/bootstrap.min.js - ../assets/ckeditor-4.5.8-custom/ckeditor.js - ../assets/js/search-field.js - ../assets/test/tab-users.js - ../assets/test/tab-posts.js + assets/jquery-2.2.1.min.js + assets/luigi-template-0.4.1.min.js + assets/js/util.js + assets/bootstrap-3.3.6/js/bootstrap.min.js + assets/ckeditor-4.5.8-custom/ckeditor.js + assets/js/search-field.js + assets/test/tab-users.js + assets/test/tab-posts.js } %> diff --git a/src/views/login-page.ecr b/src/views/login-page.ecr index 5e3c8ce..9f2082a 100644 --- a/src/views/login-page.ecr +++ b/src/views/login-page.ecr @@ -6,9 +6,9 @@ <%= 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 + 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 } %> @@ -25,7 +25,18 @@
-
+ <% if @error %> +
+
+ + + Error: Invalid Login + +
+
+ <% end %> + +