aboutsummaryrefslogtreecommitdiffstats
path: root/templates/login.tmpl
blob: 6f76a4a3edbe55fa285181a7803f10f550922b81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body{margin: 0 auto; width: 400px; padding-top: 10em; font-family: "Source Sans Pro"; font-size: 15px;}
form > hr{border: none; border-top: 1px solid #e6e6e6; margin: 1.3em 0;}
form > h4{font-weight: 300; font-size: 19px; margin-bottom: 0} label {font-weight: bold; text-align: right;}
form > div {display: grid; grid-template-columns: 2fr 5fr; grid-gap: 1em 1em; align-items: center;}
input, button {font-size: inherit; font-family: inherit; line-height: inherit; padding: 0.8em 1em; border-radius: 0}
input {border: 1px solid #cccccc; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s}
input:focus {border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}
button {border: 1px solid #2780e3; background-color: #2780e3; color: white; cursor: pointer; grid-column: 2; justify-self: left}
button:hover {background-color: #1967be; border-color: #1862b5}
</style>
  </head>
  <body>

<form action="/login" role="form"  method="post">
  <h4>Connexion</h4>
  <hr>
  <div>
	<label for="name">Nom :</label>
	<input type="text" id="name" name="username" placeholder="Prénom"/>

	<label for="password">Mot de passe :</label>
	<input type="password" id="password" name="password" placeholder="Mot de passe"/>

	<button type="submit" name="login">Se Connecter</button>
	<input type="hidden" name="next" value="{{.Next}}"/>
  </div>
  <hr>
</form>

  </body>
</html>