diff options
Diffstat (limited to 'src/views/login-page.ecr')
-rw-r--r-- | src/views/login-page.ecr | 23 |
1 files changed, 17 insertions, 6 deletions
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> |