30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{{ $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'>
|
|
<script src='/static/theme.js' type='text/javascript'></script>
|
|
</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'>
|
|
<label for="user-input">Username</label>
|
|
<input type="text" id="user-input" name="user" placeholder="user"><br/>
|
|
<label for="password-input">Password</label>
|
|
<input type="password" id="password-input" name="password" placeholder="password"><br/>
|
|
<input type="submit" value="Login">
|
|
</form>
|
|
</div>
|
|
</body>
|
|
<script src='/static/theme2.js' type='text/javascript'></script>
|
|
</html>
|