-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
executable file
·99 lines (85 loc) · 4.4 KB
/
login.php
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
include_once 'app/control.php';
$control = new Control('login');
$control->permission();
?>
<!DOCTYPE html>
<html lang="pt-pt">
<head>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Login</title>
<link rel="shortcut icon" type="image/x-icon" href="theme-assets/images/ico/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="theme-assets/css/vendors.css">
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/login.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/jquery.toast.css"/>
<link href="assets/line-awesome/1.3.0/css/line-awesome.min.css" rel="stylesheet">
<script type="text/javascript" src="theme-assets/vendors/js/vendors.min.js"></script>
</head>
<body>
<div class="preload">
<div class="w-100">
<center>
<img src="./assets/img/preloader.gif">
</center>
</div>
</div>
<div class="onload">
<div class="d-flex justify-content-center align-items-center login-area">
<div>
<form method="POST" class="login-card">
<div class="bg-white p-1">
<div class="mt-1 mb-1">
<center>
<img src="assets/img/logo.png" width="100">
<p class="m-0 p-1 text-secondary">Faça login para continuar</p>
</center>
</div>
<div class="form-group">
<label for="email">Endereço de email</label>
<div class="input-group">
<div class="input-group-prepend">
<i class="input-group-text las la-envelope"></i>
</div>
<input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp" placeholder="Seu email">
</div>
<small id="emailHelp" class="form-text text-muted">Verifique se não tem alguem a observa-lo.</small>
</div>
<div class="form-group">
<label for="senha">Senha</label>
<div class="input-group">
<div class="input-group-prepend">
<i class="input-group-text las la-key"></i>
</div>
<input autocomplete="on" type="password" class="form-control" id="senha" name="senha" placeholder="Senha">
</div>
</div>
<div class="custom-control custom-checkbox mb-1">
<input type="checkbox" class="custom-control-input" id="sessionCashe">
<label class="custom-control-label" for="sessionCashe">Manter sessão iníciada</label>
</div>
<a href="./recover">Esqueceu a senha?</a>
<?= isset($getDef['modulo']['signUp']) && $getDef['modulo']['signUp'] ? '<p><a href="./cadastro">Criar conta</a></p>' : '' ?>
<div class="d-flex justify-content-end">
<button style="padding: 12px;" type="button" class="btn btn-primary" id="entrar">Entrar</button>
</div>
</div>
</form>
<footer class="footer-login d-flex justify-content-end align-items-center p-1">
<div>
<a href="https://rubro.ao/termos" target="_blank">Termos de serviços & privacidade</a>
<small>•</small>
<a href="https://rubro.ao/sobre" target="_blank">Sobre</a>
</div>
</footer>
</div>
</div>
</div>
<script src="assets/js/jquery.toast.js"></script>
<script src="assets/js/login.js"></script>
<script src="assets/js/init.js"></script>
</body>
</html>