login.html
2.01 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Miguel Barão">
<!-- <link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/sign-in/"> -->
<!-- Bootstrap core CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<!-- <link href="../assets/dist/css/bootstrap.min.css" rel="stylesheet"> -->
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
<link href="{{static_url('signin.css')}}" rel="stylesheet">
<title>{{appname}}</title>
</head>
<body class="text-center">
<main class="form-signin">
<form method="post" action="/login" class="form-signin">
{% module xsrf_form_html() %}
<img class="mb-4" src="{{ static_url('logo_horizontal_login.png') }}" alt="Universidade de Évora" height="80">
<!-- <h1 class="h3 mb-3 fw-normal">Please sign in</h1> -->
<div class="form-floating">
<input type="text" class="form-control" id="uid" name="uid" placeholder="99999" required autofocus>
<label for="uid">Número de aluno</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" id="pw" name="pw" placeholder="Senha" required>
<label for="pw">Senha</label>
</div>
<p class="text-danger"> {{ error }} </p>
<button class="w-100 btn btn-lg btn-primary" type="submit">Entrar</button>
<!-- <p class="mt-5 mb-3 text-muted">© 2017–2021</p> -->
</form>
</main>
</body>
</html>