<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <title>Login :: zBackup</title>

    <!-- Bootstrap core CSS -->
	<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
  </head>
  <body class="text-center">
	<div class="container">	  
	  <form class="form-signin" method="POST" action="/u/submit">
		<h1 class="h3 mb-3 font-weight-normal">Sign in</h1>
		{{if (ne .Error "")}}<div class="alert alert-danger">{{.Error}}</div>{{end}}
	    <div class="form-group">
	      <input type="username" class="form-control" id="username" placeholder="Username" name="username" required autofocus>
	    </div>
	    <div class="form-group">
	      <input type="password" class="form-control" id="pwd" placeholder="Password" name="password" required>
	    </div>
	    <button class="btn btn-lg btn-primary btn-block" type="submit" >Sign in</button>
		<p class="mt-5 mb-3 text-muted">&copy; 2023</p>
	  </form>
	  <a href="/u/recover">Lost password</a>
	</div>
  </body>
</html>