templates/login.html (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
{{ $tryagain := .FormValue "tryagain" }} <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8'> <meta name='description' content='Nirvash CMS'/> <meta name='viewport' content='width=device-width,initial-scale=1'> <title>Nirvash — Login</title> <link rel='stylesheet' type='text/css' href='/static/style.css'> <link rel='shortcut icon' href='/static/favicon.png'> </head> <body class="login-body"> <div class="login"> <h1>Nirvash</h1> {{ if $tryagain }} <span class="error">Incorrect credentials; please try again.</span> {{ end }} <form action='/login' method='post'> <input type="text" name="user" placeholder="user"> <input type="password" name="password" placeholder="password"> <input type="submit" value="Login"> </form> </div> </body> </html> |