diff options
| author | Horus3 | 2015-03-23 16:22:21 +0100 |
|---|---|---|
| committer | Horus3 | 2015-03-23 16:22:21 +0100 |
| commit | ac1ee887205d068b7b1c1df690f157dda506e419 (patch) | |
| tree | 94cbabac47acab058c98cdb5e77f2cfdf259640a /views/login.html | |
| parent | 5ff2678063792a74868c231ec68e30ef4397dece (diff) | |
| download | freemail-ac1ee887205d068b7b1c1df690f157dda506e419.tar.gz | |
Reorder and restyle alert messages. Fixed bug in AuthUser(). Remove some unnecessary CSS.
Diffstat (limited to 'views/login.html')
| -rw-r--r-- | views/login.html | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/views/login.html b/views/login.html index d7a3865..ee22eca 100644 --- a/views/login.html +++ b/views/login.html @@ -1,25 +1,8 @@ {{template "header.html"}} {{template "navbar.html"}} -<div class="container"> - <div class="row"> -{{range .Error}} -<h4 class="col-md-4 col-md-offset-4 alert alert-danger alert-dismissible" role="alert"> - <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button> - {{.}} -</h4> -{{end}} -{{range .Success}} -<h4 class="col-md-4 col-md-offset-4 alert alert-success alert-dismissible" role="alert"> - <button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button> - {{.}} -</h4> -{{end}} - </div> -</div> -<div class="container"> - <div class="row"> - </div> -</div> +{{template "alert.html" .}} + + <div class="container"> <div class="row"> <form class="form-horizontal" method='post' action='/login'> |
