-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.html
272 lines (215 loc) · 11 KB
/
config.html
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Config</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<!-- Estilos personalizados para la plantilla -->
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/bootstrap-toggle.min.css" rel="stylesheet"/>
<link href="css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-default navbar-static-top navbar-inverse" style="margin-bottom: 40px" >
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand">
<img class="img-logo" alt="Brand" src="image/logo.png">
</a>
<a class="navbar-brand" href="inicio.html">
Home Security
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="inicio.html"><span class="glyphicon glyphicon-home " aria-hidden="true"></span> Inicio</a></li>
<li><a href="config.html"><span class="glyphicon glyphicon-cog " aria-hidden="true"></span> Configuración</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-user " aria-hidden="true"></span> Nombre Usuario <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="perfil.html"><span class="glyphicon glyphicon-pencil " aria-hidden="true"></span> Editar Perfil</a></li>
<li role="presentation" class="divider"></li>
<li><a href="index.html"><span class="glyphicon glyphicon-off " aria-hidden="true"></span> Salir</a></li>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<!-- Contenido -->
<div class="container">
<div class="row">
<!-- Colunas -->
<div class="col-sm-12 visible-xs"> <!-- Coluna para las secciones -->
<div class="panel panel-default">
<div class="panel-heading">
<h4><strong>Secciones</strong></h4>
</div>
<div class="panel-body">
<ul class="nav nav-stacked" id="sidebar">
<li><a href="#sms"><span class="glyphicon glyphicon-phone " aria-hidden="true"></span> Alertas via SMS</a></li>
<li><a href="#mail"><span class="glyphicon glyphicon-envelope " aria-hidden="true"></span> Alertas via Mail</a></li>
<li><a href="#recordatorio"><span class="glyphicon glyphicon-comment " aria-hidden="true"></span> Recordatorios</a></li>
</ul>
</div>
</div>
</div> <!-- Fin Coluna secciones -->
<div class="col-sm-12"> <!-- Coluna Panel de control-->
<div class="row"> <!-- Colunas elementos panel de contro -->
<div class="col-lg-7 col-md-6">
<div class="panel panel-default" id="sms">
<div class="panel-heading">
<h3 class="text-center"><strong>Configuración</strong></h3>
</div>
<div class="panel-body">
<h4><strong>Alertas por mensaje de texto</strong></h4>
<p class="help-block">Descripcion de la funcionalidad </p>
<hr/>
<div class="row">
<div class="form-group col-sm-6">
<label class="control-label">Numero de celular</label>
</div>
<div class="form-group col-sm-6">
<input type="text" class="form-control" value="0912345678">
</div>
<div class="form-group col-sm-12">
<label class="control-label">Texto del mensaje</label>
<textarea rows="3" class="form-control" > La alarma se a activado</textarea>
<hr/>
</div>
<div class="form-group col-sm-6">
<label class="control-label">Seleccione el servidor</label>
</div>
<div class="form-grup col-sm-6">
<select id="" class="form-control">
<option>Twilio</option>
<option>Plivo</option>
</select>
</div>
<div class="form-group col-sm-12">
<p></p>
<h4 class="text-center"><strong>Credenciales de acceso</strong> </h4>
<label class="control-label">AUTH ID</label>
<input type="text" class="form-control" value="NTGTYRTYTQWVVYRUWMMadfkKSDBFSDJKCJK">
<label class="control-label">TOKEN</label>
<input type="text" class="form-control" value="sdgdffsrRTYTQWVVYsdsdfsdjfnsRUWMMadfkKSDBFSDJKCJK">
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-6"><button type="button" class="btn btn-success btn-block">Test</button></div>
<div class="col-md-4 col-sm-2"></div>
<div class="col-md-4 col-sm-6"><button type="submit" class="btn btn-primary btn-block">Editar</button></div>
</div>
</div>
</div>
<div class="panel panel-default" id="mail">
<div class="panel-heading">
<h4><strong>Alerta por correo electronico</strong></h4>
</div>
<div class="panel-body" >
<div class="form-group">
<label class="control-label">Email del receptor</label>
<input type="email" class="form-control" placeholder="nombre@correo.com">
</div>
<div class="form-group">
<label class="control-label">Asunto</label>
<input type="text" class="form-control" placeholder="Alterta de intruso">
</div>
<div class="form-group">
<label class="control-label">Detalle</label>
<textarea rows="4" class="form-control" placeholder="Mensaje" ></textarea>
</div>
<div class="row">
<div class="col-md-4 col-sm-6"><button type="button" class="btn btn-success btn-block">Test</button></div>
<div class="col-md-4 col-sm-2"></div>
<div class="col-md-4 col-sm-6"><button type="submit" class="btn btn-primary btn-block">Guardar</button></div>
</div>
</div>
</div>
</div>
<div class="col-lg-5 col-md-6" id="recordatorio">
<div class="panel panel-default">
<div class="panel-heading">
<h4>
<a href="#addrecordatorio" data-toggle="modal" class="pull-right">
<span class="glyphicon glyphicon-star-empty " aria-hidden="true"></span> Nuevo
</a>
<strong>Recordatorios</strong>
</h4>
</div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item">
<p class="list-group-item-heading help-block pull-right"><strong>Autor: </strong>Usuario 1</p>
<h4 class="list-group-item-heading"><strong>Limpiar la sala</strong></h4>
<hr/>
<p class="list-group-item-text">Quitar los polvos de los muebles y barrer</p>
<hr/>
<div class="row">
<div class="col-sm-9">
<p class="list-group-item-text"><strong>Fecha: </strong> 13/02/2015</p>
</div>
<div class="col-sm-3">
<button type="submit" class="btn btn-danger btn-block">Eliminar</button>
</div>
</div>
</li>
<li class="list-group-item">
<p class="list-group-item-heading help-block pull-right"><strong>Autor: </strong>Usuario 1</p>
<h4 class="list-group-item-heading"><strong>Mandar a labar la roma</strong></h4>
<hr/>
<p class="list-group-item-text">Recojer la ropa de todos y mandar a la lavanderia a las 5:00 pm</p>
<hr/>
<div class="row">
<div class="col-sm-9">
<p class="list-group-item-text"><strong>Fecha: </strong> 13/02/2015</p>
</div>
<div class="col-sm-3">
<button type="submit" class="btn btn-danger btn-block">Eliminar</button>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div> <!-- Fin Colunas elementos panel de contro -->
</div> <!-- Fin Coluna Panel de control-->
</div> <!--Fin Colunas-->
</div>
<div class="modal fade" id="addrecordatorio" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Agregar Recordatorio</h4>
</div>
<div class="modal-body">
<div class="form-group">
<input type="text" class="form-control" placeholder="Titulo">
</div>
<textarea class="form-control" rows="4" placeholder="Descripcion"></textarea>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
<button type="submit" class="btn btn-primary">Guardar</button>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery .JS -->
<script src="js/jquery.min.js"></script>
<!-- Bootstrap .JS -->
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-toggle.min.js"></script>
</body>
</html>