forked from 2014inpercom7/2014inpercom7.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmis_cursos_insc.html
231 lines (211 loc) · 8.71 KB
/
mis_cursos_insc.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SGB - Mis Cursos</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!--barra de navegacion -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<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 " href="index.html">SGB</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<form class="navbar-form navbar-left navbar-input-group" role="search" style="z-index:11000">
<div class="form-group" id="the-basics">
<input type="text" class="form-control typeahead" placeholder="Buscar">
</div>
<button type="submit" class="btn btn-default">Ir</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a href="mi_carrera.html">Mi Carrera</a></li>
<li><a href="mis_cursos.html">Mis Cursos</a></li>
<li><a href="mis_examenes.html">Mis Examenes</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-user"></span> Tomás
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="mi_perfil.html">Ver perfil</a></li>
<li class="divider"></li>
<li><a href="home.html">Salir</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</div>
</nav>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="mi_perfil.thml">Tomás Laurenzo</a></li>
<li><a href="mis_cursos.thml">Mis cursos</a></li>
<li class="active">Inscribirse</li>
</ol>
</div>
</div>
<div class="container toppaddingsmall">
<div class="row">
<table class="table table-responsive table-hover">
<thead>
<tr>
<th>#</th>
<th>Nombre</th>
<th>Fin de inscripción</th>
<th>Inscriptos</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus" data-toggle="modal" data-target="#myModal"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
<tr>
<td><a href="iterpercomp.thml">4635</a></td>
<td>Métodos númericos</td>
<td>12/03/2014</td>
<td>120</td>
<td><span class="glyphicon glyphicon-plus"></span></td>
</tr>
</tbody>
</table>
<ul class="pager">
<li class="previous disabled"><a href="#">← Nuevo</a></li>
<li class="next"><a href="#">Viejo →</a></li>
</ul>
</div>
</div>
<div class="modal fade" id="myModal" 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"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title text-center" id="myModalLabel">Se a realizado la inscripción</h4>
</div>
<div class="modal-body">
Puede desistir desde Mis Cursos.<br>
Su codigo de inscripción es 112323553355.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default">Aceptar</button>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/typeahead.bundle.min.js"></script>
<script src="js/typeahead.jquery.min.js"></script>
<script type="text/javascript">
var substringMatcher = function(strs) {
return function findMatches(q, cb) {
var matches, substringRegex;
// an array that will be populated with substring matches
matches = [];
// regex used to determine if a string contains the substring `q`
substrRegex = new RegExp(q, 'i');
// iterate through the pool of strings and for any string that
// contains the substring `q`, add it to the `matches` array
$.each(strs, function(i, str) {
if (substrRegex.test(str)) {
// the typeahead jQuery plugin expects suggestions to a
// JavaScript object, refer to typeahead docs for more info
matches.push({ value: str });
}
});
cb(matches);
};
};
var states = ['Cálculo 1', 'Cálculo 2', 'Cálculo 3', 'Interacción persona-computadora', 'Sistemas Operativos', 'GAL 1','Sistemas Operativos', 'Mis Cursos','Todos los Cursos','Inscribirse a Curso','Desistir de Curso', 'Mis Examenes','Calendario de Examenes','Inscribirse a Examen','Desistir de Examen','Ayuda'
];
$('#the-basics .typeahead').typeahead({
hint: true,
highlight: true,
minLength: 1
},
{
name: 'states',
displayKey: 'value',
source: substringMatcher(states)
});
</script>
</body>
</html>