-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.php
More file actions
94 lines (74 loc) · 2.49 KB
/
index.php
File metadata and controls
94 lines (74 loc) · 2.49 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
<?php
include('controladores/auth.php');
$app = new authCtrl;
if($app->esta_logueado())
$app->redir_to_app(); // si esta logueado lo mandamos a la pagina del app
?>
<html>
<head>
<title>Mi app</title>
<link rel="stylesheet" href="libs/normalize-css/normalize.css">
<link rel="stylesheet" href="libs/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="libs/animate.css/animate.min.css">
<link rel="stylesheet" href="recursos/css/estilo.css">
</head>
<body class="animated fadeInDown">
<div class='container w8'>
<br>
<br>
<h3 class="tlc" style='color:#555'>Gomosoft AUTH</h3>
<br>
<br>
<div class="to-center w5 login-cont animated">
<form action="controladores/auth.php?auth" method="POST" name="login">
<div class="to-center w8" >
<table class='wfull'>
<tbody>
<tr>
<td>
<span class='block tlf'>Correo</span><br>
<input type="email" placeholder="email@mail.com" name="email" class="input-big" style="width:100%">
</td>
</tr>
<tr class='pass'>
<td>
<br>
<span class="block tlf">Clave</span><br>
<input type="password" class="input-big wfull" name="clave"/>
</td>
</tr>
<tr>
<td>
<br>
<br>
<div class="block">
<div class="pull-left">
<label style="width:auto; font-weight:normal">Recordarme <input type="checkbox" name="remember"></label>
</div>
<div class="pull-right">
<a href="#" class="activar">Recuperar Clave</a>
</div>
</div>
<br>
<br>
<br>
<button class="btn btn-primary btn-large block wfull" >Ingresar</button>
</td>
</tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
<script type="text/javascript" src="libs/jquery/dist/jquery.js"></script>
<script type="text/javascript">
var auth = false;
<?php if(isset($_GET['auth'])) echo "auth=true;"; ?>
$(function(){
if(auth)
$('.login-cont').addClass('shake');
});
</script>
</body>
</html>