forked from georgemaia/gestaodegabinete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
71 lines (57 loc) · 2.45 KB
/
index.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
<?php
/**
Descrição: Login do sistema
*/
include_once 'includes/conexao.php';
include_once 'includes/functions.php';
session_start();
?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<!-- <link rel="icon" href="logo.png"> -->
<title>Gestão de Gabinete</title>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="css/gabinete.css" rel="stylesheet">
<link href="css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/gabinete.css" rel="stylesheet">
<style> body{background-color: #eee;} </style>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/sha512.js"></script>
<script src="js/forms.js"></script>
</head>
<body>
<div class="container">
<!--<img src="logo.png" class="center-block img-responsive">-->
<form class="form-signin" action="login/process_login.php" method="post">
<h2 class="form-signin-heading text-center" >Gestão de Gabinete</h2>
<label for="inputNome" class="sr-only">Nome</label>
<input type="text" id="nome" name="nome" class="form-control" placeholder="Digite seu nome" required autofocus>
<label for="inputPassword" class="sr-only">Senha</label>
<input type="password" id="password" name="senha" class="form-control" placeholder="Senha" required>
<div>
<label></label>
<!---<label>
<input type="checkbox" value="remember-me">Continuar conectado
</label>--->
<?php
if (isset($_GET['error'])) {
echo '<label class="label-error">Falha no login!</label>';
}
?>
</div>
<button class="btn btn-lg btn-primary btn-block" onclick="formhash(this.form, this.form.senha);">Entrar</button>
</form>
</div> <!-- /container -->
<?php include 'includes/footer.html';?>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>