ampel/assets/templates/login.tpl

44 lines
754 B
Smarty
Raw Normal View History

2017-04-03 22:34:23 +02:00
<html>
<head>
<title>Mitarbeiterlogin</title>
2017-06-27 22:51:45 +02:00
<style>
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100%;
}
body>div {
width: 15em;
height: 1.5em;
font-size: 2em;
font-weight: bold;
border-bottom: 2px solid black;
text-align: center;
}
body>div, body>form {
margin-top: 10px;
}
form>* {
font-size: 1.5em;
}
</style>
2017-04-03 22:34:23 +02:00
</head>
<body>
2017-06-27 22:51:45 +02:00
<div>Login für Mitarbeiter:</div>
2017-04-03 22:34:23 +02:00
<form method="post">
<select name="employeeId">
% for i in range(0, len(employees)):
<option value="{{i}}">{{employees[i][0]}}</option>
2017-04-03 22:34:23 +02:00
% end
</select>
<button type="submit">Einloggen</button>
</form>
</body>
</html>