mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-24 11:06:14 +00:00
This is a very simple layout, but it should do the job until we have better :-)
45 lines
1.3 KiB
Twig
45 lines
1.3 KiB
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>{{ 'Login to %installation_name%' | trans({ '%installation_name%' : installation.name } ) }}</title>
|
|
<style>
|
|
label {
|
|
width : 15em;
|
|
text-align: right;
|
|
display: inline-block;
|
|
}
|
|
input {
|
|
|
|
}
|
|
form {
|
|
|
|
}
|
|
button {
|
|
margin-left: 15em;
|
|
margin-top: 1em;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>{{ 'Welcome to %installation_name%' | trans({ '%installation_name%' : installation.name } ) }}</h1>
|
|
|
|
<p>{{ error|trans }}</p>
|
|
|
|
<form method="POST" action="{{ path('login_check') }}">
|
|
<label for="_username">{{ 'Username'|trans }}</label>
|
|
<input type="text" name="_username" value="{{ last_username }}" />
|
|
<br/>
|
|
<label for="_password">{{ 'Password'|trans }}</label>
|
|
<input type="password" name="_password" />
|
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
|
|
<br/>
|
|
<button type="submit">{{ 'Login'|trans }}</button>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|
|
|