Commit 82ab6cfc90f1759f7140f7daf7367b30e52b1b07
1 parent
f235f0936a
Exists in
master
and in
1 other branch
titles y funcion select en toda la fila
Showing
1 changed file
with
19 additions
and
20 deletions
Show diff stats
src/views/modal-domicilio.html
| ... | ... | @@ -56,7 +56,7 @@ |
| 56 | 56 | </td> |
| 57 | 57 | </tr> |
| 58 | 58 | <tr> |
| 59 | - <td colspan="4" ng-show="!ingreso"> | |
| 59 | + <td colspan="6" ng-show="!ingreso"> | |
| 60 | 60 | <input |
| 61 | 61 | class="form-control form-control-sm" |
| 62 | 62 | type="text" |
| ... | ... | @@ -65,33 +65,31 @@ |
| 65 | 65 | ng-click="ingreso = !ingreso" |
| 66 | 66 | /> |
| 67 | 67 | </td> |
| 68 | - <td colspan="1" ng-show="!ingreso"> | |
| 69 | - <button | |
| 70 | - type="button" | |
| 71 | - class="btn btn-sm p-1 float-right" | |
| 72 | - ng-class="{ | |
| 73 | - 'btn-secondary': selectedDomicilio != 0, | |
| 74 | - 'btn-primary': selectedDomicilio == 0 | |
| 75 | - }" | |
| 76 | - foca-focus="selectedDomicilio == 0" | |
| 77 | - ng-keydown="itemDomicilio($event.keyCode)" | |
| 78 | - ng-click="ingreso = !ingreso" | |
| 79 | - > | |
| 80 | - <i class="fa fa-circle-thin" aria-hidden="true"></i> | |
| 81 | - </button> | |
| 82 | - </td> | |
| 83 | 68 | </tr> |
| 84 | 69 | <tr class="selectable" |
| 85 | 70 | ng-repeat="(key,domicilio) in currentPageDomicilios"> |
| 86 | - <td ng-bind="domicilio.titulo"></td> | |
| 87 | - <td ng-bind="domicilio.Calle + ' ' + domicilio.Numero"></td> | |
| 88 | - <td ng-bind="domicilio.Localidad"></td> | |
| 89 | - <td ng-bind="domicilio.Provincia"></td> | |
| 71 | + <td | |
| 72 | + ng-bind="domicilio.titulo" | |
| 73 | + ng-click="select(domicilio)" | |
| 74 | + ></td> | |
| 75 | + <td | |
| 76 | + ng-bind="domicilio.Calle + ' ' + domicilio.Numero" | |
| 77 | + ng-click="select(domicilio)" | |
| 78 | + ></td> | |
| 79 | + <td | |
| 80 | + ng-bind="domicilio.Localidad" | |
| 81 | + ng-click="select(domicilio)" | |
| 82 | + ></td> | |
| 83 | + <td | |
| 84 | + ng-bind="domicilio.Provincia" | |
| 85 | + ng-click="select(domicilio)" | |
| 86 | + ></td> | |
| 90 | 87 | <td> |
| 91 | 88 | <button |
| 92 | 89 | type="button" |
| 93 | 90 | class="btn btn-sm p-1 float-right btn-secondary" |
| 94 | 91 | ng-click="verPuntosDescarga(key)" |
| 92 | + title="Puntos de descarga" | |
| 95 | 93 | > |
| 96 | 94 | <i class="fa fa-arrow-down" aria-hidden="true"></i> |
| 97 | 95 | </button> |
| ... | ... | @@ -107,6 +105,7 @@ |
| 107 | 105 | foca-focus="selectedDomicilio == {{key + 1}}" |
| 108 | 106 | ng-keydown="itemDomicilio($event.keyCode)" |
| 109 | 107 | ng-click="select(domicilio)" |
| 108 | + title="Seleccionar" | |
| 110 | 109 | > |
| 111 | 110 | <i class="fa fa-circle-thin" aria-hidden="true"></i> |
| 112 | 111 | </button> |