2016-11-19 19:01:21 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
|
|
|
<link rel="icon" href="/static/favicon.ico">
|
|
|
|
|
|
|
|
<title>{{ app_name }}</title>
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="/static/css/signin.css" rel="stylesheet">
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2016-12-09 23:06:07 +01:00
|
|
|
<!-- Begin alert message -->
|
|
|
|
<div class="container">
|
|
|
|
<p>
|
|
|
|
%if message:
|
|
|
|
<div class="alert alert-{{ message['alert'] }} alert-dismissible" role="alert">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
|
{{ message['message'] }}.
|
|
|
|
</div>
|
|
|
|
%end
|
|
|
|
</p>
|
|
|
|
</div> <!-- alert message -->
|
2016-11-22 00:40:57 +01:00
|
|
|
<!-- Begin page content -->
|
2016-11-19 19:01:21 +01:00
|
|
|
<div class="container">
|
|
|
|
<form class="form-signin" action="/login" method="post">
|
|
|
|
<h2 class="form-signin-heading">{{ app_name }}</h2>
|
|
|
|
<label for="inputFactorioaccount" class="sr-only">Factorio account</label>
|
|
|
|
<input name="username" type="text" id="inputfactorioaccount" class="form-control" placeholder="Factorio account" required autofocus>
|
|
|
|
<label for="inputPassword" class="sr-only">Password</label>
|
|
|
|
<input name="password" type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
|
|
|
<p>For security reasons every session will expire {{ int(cookie_max_age/60) }} minutes after login.</p>
|
|
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Login</button>
|
|
|
|
</form>
|
2016-11-22 00:40:57 +01:00
|
|
|
</div> <!-- Page content -->
|
2016-11-19 19:01:21 +01:00
|
|
|
|
|
|
|
<!-- Bootstrap core JavaScript
|
|
|
|
================================================== -->
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
|
|
|
<script>window.jQuery || document.write('<script src="/static/js/vendor/jquery.min.js"><\/script>')</script>
|
|
|
|
<script src="/static/js/bootstrap.min.js"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|