-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
94 lines (91 loc) · 3.56 KB
/
Copy pathindex.php
File metadata and controls
94 lines (91 loc) · 3.56 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
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
<!-- index -->
<?php
@session_start();
if ($_SESSION) {
session_destroy();
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Acceso al Sistema</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"/>
<!-- CSS personalizado-->
<style>
body{
padding-top: 40px;
padding-bottom: 40px;
}
body, html {
background: url(img/pc.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.login{
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
#avatar{
width: 96px;
height: 96px;
margin: 0px auto 10px;
display: block;
border-radius: 50%;
}
#sha{
max-width: 340px;
-webkit-box-shadow: 0px 0px 18px 0px rgba(48,50,50,0.48);
-moz-box-shadow:0px 0px 18px 0px rgba(48,50,50,0.48);
box-shadow: 0px 0px 18px 0px rgba(48,50,50,0.48);
border-radius: 6%;
}
</style>
</head>
<body>
<div class="container well" id="sha">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<img src="img/login.png" class="img-responsive" id="avatar"/>
</div>
</div>
<form class="login" action="acceso.php" method="post">
<div class="form-group input-group">
<input type="text" class="form-control" name="usuario" placeholder="Ingrese su usuario" autofocus="">
<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
</div>
<div class="form-group input-group">
<input type="password" class="form-control" name="clave" placeholder="Ingrese su clave">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">
Iniciar Sesión</button>
<div class="checkbox">
<label class="checkbox">
<input type="checkbox" value="1" name="recuerdame" />No cerrar Sesión
</label>
<p class="help-block"><a href="#">No puede acceder a su cuenta?</a></p>
</div>
<?php if(!empty($_SESSION['#error'])){ ?>
<div class="alert alert-danger">
<span class="glyphicon glyphicon-exclamation-sign"></span>
<?php echo $_SESSION['#error'];?>
</div>
<?php } ?>
</form>
</div>
<!-- Aqui van los archivos js-->
<!--<?php require 'menu/js_lte.ctp'; ?>
<script>
$("#error").delay(4000).slideUp(200,function(){
$(this).alert('close');
})
</script>-->
<script src="js/jquery-1.12.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>