Commit bd213e48c5d2b34b519b395e928e8bb5932c8898

Authored by Eric Fernandez
Exists in master and in 2 other branches develop, lab

Merge branch 'master' into 'master'

achico tabla para que entre boton teclado

See merge request !3
src/views/foca-abm-choferes-listado.html
1   -<div class="col-12 pt-4">
2   - <h4>Choferes</h4>
3   - <div class="form-group">
4   - <input
5   - type="text"
6   - class="form-control form-control-sm"
7   - placeholder="Búsqueda"
8   - ng-model="filtros"
9   - teclado-virtual
10   - />
  1 +<div class="row">
  2 + <div class="col-12 col-md-10 pt-4 pr-4 pl-4">
  3 + <h4 class="mb-4">Choferes</h4>
  4 + <div class="form-group input-group">
  5 + <input
  6 + type="text"
  7 + class="form-control form-control-sm"
  8 + id="search"
  9 + placeholder="Búsqueda"
  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 65 </div>
12   - <table class="table table-sm table-striped table-dark">
13   - <thead>
14   - <tr>
15   - <th>Código</th>
16   - <th>Nombre</th>
17   - <th>DNI</th>
18   - <th>Teléfono</th>
19   - <th>Transportista</th>
20   - <th class="text-center">
21   - <button class="btn btn-default boton-accion" ng-click="editar(0)">
22   - <i class="fa fa-plus"></i>
23   - </button>
24   - </th>
25   - </tr>
26   - </thead>
27   - <tbody>
28   - <tr ng-repeat="chofer in choferesFiltrados | filter:filtros">
29   - <td ng-bind="chofer.id"></td>
30   - <td ng-bind="chofer.nombre"></td>
31   - <td ng-bind="chofer.dni"></td>
32   - <td ng-bind="chofer.telefono"></td>
33   - <td ng-bind="chofer.transportista.NOM || 'No tiene'"></td>
34   - <td class="text-center">
35   - <button
36   - class="btn btn-default boton-accion"
37   - ng-click="editar(chofer.id)"
38   - >
39   - <i class="fa fa-pencil"></i>
40   - </button>
41   - <button
42   - class="btn btn-default boton-accion"
43   - ng-click="solicitarConfirmacion(chofer)"
44   - >
45   - <i class="fa fa-trash"></i>
46   - </button>
47   - </td>
48   - </tr>
49   - </body>
50   - </table>
51   - <a href="#!/" title="Salir"
52   - class="btn btn-secondary btn-block float-right col-md-2"
53   - >
  66 + <div class="col-md-2 d-flex align-items-end">
  67 + <a href="#!/" title="Salir"
  68 + class="btn btn-secondary btn-block float-right">
54 69 Salir
55   - </a>
  70 + </a>
  71 + </div>
56 72 </div>