diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/admin-page.ecr | 22 | ||||
-rw-r--r-- | src/views/login-page.ecr | 23 |
2 files changed, 28 insertions, 17 deletions
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 } %> </head> @@ -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 } %> </html> 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 } %> </head> @@ -25,7 +25,18 @@ </div><!-- panel-heading --> <div class='panel-body'> - <form method='post'> + <% if @error %> + <div class='panel panel-danger'> + <div class='panel-heading'> + <b> + <i class='fa fa-exclamation-triangle'></i> + Error: Invalid Login + </b> + </div><!-- panel-heading --> + </div><!-- panel --> + <% end %> + + <form method='post' action='login.html'> <div class='form-group'> <label for='user'> User @@ -73,8 +84,8 @@ <%= scripts %w{ - ../assets/jquery-2.2.1.min.js - ../assets/bootstrap-3.3.6/js/bootstrap.min.js + assets/jquery-2.2.1.min.js + assets/bootstrap-3.3.6/js/bootstrap.min.js } %> </html> |