-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhome.php
107 lines (104 loc) · 2.95 KB
/
home.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
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Bree+Serif|Work+Sans" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/estilos.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/start/jquery-ui.css">
<title>Teccheck</title>
</head>
<body>
<?php
include 'header.php';
?>
<div class="row body">
<?php
include 'menu.php';
?>
<div class="col-md-9 box-container cuerpo">
<h3>Tiendas<br><br></h3>
<form id="form-crearTienda">
<input type="hidden" name="post" id="post" value="crearTienda">
<div class="row">
<div class="col-md-4" align="left">
<label for="nombre">
<b>Nombre de la Tienda</b>
<input type="text" id="nombre" name="nombre" class="form-control" required>
</label>
</div>
<div class="col-md-4" align="left">
<label for="apellido">
<b>URL</b>
<input type="text" id="url" name="url" class="form-control" required>
</label>
</div>
<div class="col-md-4" align="left">
<label for="correo">
<b>Clase</b>
<input type="text" id="clase" name="clase" class="form-control" required>
</label>
</div>
</div>
<br>
<button class="btn btn-primary" type="submit">
Agregar
</button>
</form>
<br>
<div class="resultados">
<table class="table table-striped table-condensed" id="tbl-tiendas">
<thead>
<tr>
<th>Tienda</th>
<th>URL</th>
<th>Clase</th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<?php include 'footer.php'; ?>
</div>
<!--MODAL MODIFICACION-->
<div id="modal-tiendas" title="x" style="overflow-x:hidden;display: none" align="left">
<form id="form-updateTienda">
<input type="hidden" name="post" id="post" value="updateTienda">
<input type="hidden" name="id_tienda" id="id_tienda">
<div class="row">
<div class="col-md-6" align="left">
<label for="nombre">
<b>Tienda</b>
<input type="text" id="u-nombre" name="u-nombre" class="form-control" required>
</label>
<br>
<label for="apellido">
<b>URL</b>
<input type="text" id="u-url" name="u-url" class="form-control" required>
</label>
</div>
<div class="col-md-6" align="left">
<label for="correo">
<b>Clase</b>
<input type="text" id="u-clase" name="u-clase" style="width: 100%" class="form-control" required>
</label>
<br>
<button class="btn btn-primary" type="submit">
Modificar
</button>
</div>
</div>
</form>
</div>
<!--/MODAL TIENDA-->
</div>
<script type="text/javascript" src="js/tiendas.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a[href=tiendas]").addClass("menu-activo");
});
</script>
</body>
</html>