-
Notifications
You must be signed in to change notification settings - Fork 0
/
logar.php
35 lines (31 loc) · 1.3 KB
/
logar.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>School Life - Fazer login</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/login.css">
</head>
<body class="text-center">
<form class="form-signin" action="login.php" method="post">
<img class="mb-4" src="../../assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
<h1 class="h3 mb-3 font-weight-normal">Login - School Life</h1>
<label for="user" class="sr-only">Usuário</label>
<input type="texto" name="user" class="form-control" placeholder="Usuário" required autofocus>
<label for="senha" class="sr-only">Senha</label>
<input type="password" name="senha" class="form-control" placeholder="Senha" required>
<button class="btn btn-lg btn-primary btn-block" type="submit">Logar</button>
<div class="">
<a href="cadastrar.php">Cadastre-se</a>
</div>
<?php
if (isset($_GET['erro'])){
echo '<div class="alert alert-danger" role="alert">';
echo $_GET['erro'];
echo '</div>';
}
?>
</form>
</body>
</html>