webcron/templates/security/login.html.twig

42 lines
2.3 KiB
Twig

<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Webcron management :: Log in</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="/css/site.css">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
<script src="/js/site.js" type="text/javascript"></script>
</head>
<body>
<div class="container-fluid py-3">
<div class="row justify-content-md-center">
<div class="col-md-4 col-xs-12">
{{ include('flashes.html.twig') }}
<h1>Webcron management</h1>
<form class="form-horizontal" method="post" action="{{ path('login_check') }}">
<div class="mb-3">
<label for="name">Username</label>
<input type="text" name="name" class="form-control" id="name" placeholder="username">
</div>
<div class="mb-3">
<label for="passwd">Password</label>
<input type="password" name="passwd" class="form-control" id="passwd" placeholder="password">
</div>
<div class="form-check mb-3">
<input type="checkbox" name="autologin" id="autologin" value="autologin" class="form-check-input">
<label class="from-check-label" for="autologin">Remember, remember</label>
</div>
<button type="submit" class="btn btn-outline-primary">Submit</button>
</form>
</div>
</div>
</div>
</body>
</html>