Commit a04974abebb8f5ca9fe087df818a0da782d93fec
1 parent
dbe5af6bb0
Exists in
master
linea al final
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
src/views/foca-abm-choferes-listado.html
1 | <div class="row"> | 1 | <div class="row"> |
2 | <div class="col-12 col-md-10 pt-4 pr-4 pl-4"> | 2 | <div class="col-12 col-md-10 pt-4 pr-4 pl-4"> |
3 | <h4 class="mb-4">Choferes</h4> | 3 | <h4 class="mb-4">Choferes</h4> |
4 | <div class="form-group input-group"> | 4 | <div class="form-group input-group"> |
5 | <input | 5 | <input |
6 | type="text" | 6 | type="text" |
7 | class="form-control form-control-sm" | 7 | class="form-control form-control-sm" |
8 | id="search" | 8 | id="search" |
9 | placeholder="Búsqueda" | 9 | placeholder="Búsqueda" |
10 | ng-model="filters" | 10 | ng-model="filters" |
11 | teclado-virtual | 11 | teclado-virtual |
12 | ng-keypress="busquedaPress($event.keyCode)" | 12 | ng-keypress="busquedaPress($event.keyCode)" |
13 | /> | 13 | /> |
14 | <div class="input-group-append"> | 14 | <div class="input-group-append"> |
15 | <button | 15 | <button |
16 | ladda="searchLoading" | 16 | ladda="searchLoading" |
17 | class="btn btn-outline-secondary" | 17 | class="btn btn-outline-secondary" |
18 | type="button" | 18 | type="button" |
19 | ng-click="busquedaPress(13)" | 19 | ng-click="busquedaPress(13)" |
20 | > | 20 | > |
21 | <i class="fa fa-search" aria-hidden="true"></i> | 21 | <i class="fa fa-search" aria-hidden="true"></i> |
22 | </button> | 22 | </button> |
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
25 | <table class="table table-sm table-striped table-dark mb-0"> | 25 | <table class="table table-sm table-striped table-dark mb-0"> |
26 | <thead> | 26 | <thead> |
27 | <tr> | 27 | <tr> |
28 | <th>Código</th> | 28 | <th>Código</th> |
29 | <th>Nombre</th> | 29 | <th>Nombre</th> |
30 | <th>DNI</th> | 30 | <th>DNI</th> |
31 | <th>Teléfono</th> | 31 | <th>Teléfono</th> |
32 | <th>Transportista</th> | 32 | <th>Transportista</th> |
33 | <th class="text-center"> | 33 | <th class="text-center"> |
34 | <button class="btn btn-default boton-accion" ng-click="editar(0)"> | 34 | <button class="btn btn-default boton-accion" ng-click="editar(0)"> |
35 | <i class="fa fa-plus"></i> | 35 | <i class="fa fa-plus"></i> |
36 | </button> | 36 | </button> |
37 | </th> | 37 | </th> |
38 | </tr> | 38 | </tr> |
39 | </thead> | 39 | </thead> |
40 | <tbody> | 40 | <tbody> |
41 | <tr ng-repeat="chofer in choferes | filter:filters"> | 41 | <tr ng-repeat="chofer in choferes | filter:filters"> |
42 | <td ng-bind="chofer.id"></td> | 42 | <td ng-bind="chofer.id"></td> |
43 | <td ng-bind="chofer.nombre"></td> | 43 | <td ng-bind="chofer.nombre"></td> |
44 | <td ng-bind="chofer.dni"></td> | 44 | <td ng-bind="chofer.dni"></td> |
45 | <td ng-bind="chofer.telefono"></td> | 45 | <td ng-bind="chofer.telefono"></td> |
46 | <td ng-bind="chofer.transportista.NOM || 'No tiene'"></td> | 46 | <td ng-bind="chofer.transportista.NOM || 'No tiene'"></td> |
47 | <td class="text-center"> | 47 | <td class="text-center"> |
48 | <button | 48 | <button |
49 | class="btn btn-default boton-accion" | 49 | class="btn btn-default boton-accion" |
50 | ng-click="editar(chofer.id)" | 50 | ng-click="editar(chofer.id)" |
51 | > | 51 | > |
52 | <i class="fa fa-pencil"></i> | 52 | <i class="fa fa-pencil"></i> |
53 | </button> | 53 | </button> |
54 | <button | 54 | <button |
55 | class="btn btn-default boton-accion" | 55 | class="btn btn-default boton-accion" |
56 | ng-click="solicitarConfirmacion(chofer)" | 56 | ng-click="solicitarConfirmacion(chofer)" |
57 | > | 57 | > |
58 | <i class="fa fa-trash"></i> | 58 | <i class="fa fa-trash"></i> |
59 | </button> | 59 | </button> |
60 | </td> | 60 | </td> |
61 | </tr> | 61 | </tr> |
62 | </body> | 62 | </body> |
63 | </table> | 63 | </table> |
64 | 64 | ||
65 | </div> | 65 | </div> |
66 | <div class="col-md-2 d-flex align-items-end"> | 66 | <div class="col-md-2 d-flex align-items-end"> |
67 | <a href="#!/" title="Salir" | 67 | <a href="#!/" title="Salir" |
68 | class="btn btn-secondary btn-block float-right" | 68 | class="btn btn-secondary btn-block float-right"> |
69 | > | ||
70 | Salir | 69 | Salir |
71 | </a> | 70 | </a> |
72 | </div> | 71 | </div> |
73 | </div> |