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