Commit 08007ecda1236dbdabebbfbd03d0f042ce243330
1 parent
ddedbbb5cd
Exists in
master
and in
1 other branch
teclado virtual en modal prompt
Showing
1 changed file
with
6 additions
and
2 deletions
Show diff stats
src/views/modal-prompt.html
| 1 | <div class="modal-header"> | 1 | <div class="modal-header"> |
| 2 | <h4 ng-bind="options.titulo"></h4> | 2 | <h4 ng-bind="options.titulo"></h4> |
| 3 | </div> | 3 | </div> |
| 4 | <div class="modal-body"> | 4 | <div class="modal-body"> |
| 5 | <input | 5 | <input |
| 6 | type="text" | 6 | type="text" |
| 7 | class="form-control" | 7 | class="form-control" |
| 8 | ng-model="options.value" | 8 | ng-model="options.value" |
| 9 | ng-show="!options.textarea" | 9 | ng-show="!options.textarea" |
| 10 | maxlength="{{options.maxlength}}" | 10 | maxlength="{{options.maxlength}}" |
| 11 | ng-readonly="options.readonly" | 11 | ng-readonly="options.readonly" |
| 12 | ng-keypress="aceptar($event.keyCode)"> | 12 | ng-keypress="aceptar($event.keyCode)" |
| 13 | teclado-virtual | ||
| 14 | > | ||
| 13 | 15 | ||
| 14 | <textarea | 16 | <textarea |
| 15 | rows="5" | 17 | rows="5" |
| 16 | class="form-control text-uppercase" | 18 | class="form-control text-uppercase" |
| 17 | ng-model="options.value" | 19 | ng-model="options.value" |
| 18 | ng-show="options.textarea" | 20 | ng-show="options.textarea" |
| 19 | maxlength="{{options.maxlength}}" | 21 | maxlength="{{options.maxlength}}" |
| 20 | ng-readonly="options.readonly" | 22 | ng-readonly="options.readonly" |
| 21 | ng-keypress="aceptar($event.keyCode)"></textarea> | 23 | ng-keypress="aceptar($event.keyCode)" |
| 24 | teclado-virtual | ||
| 25 | ></textarea> | ||
| 22 | </div> | 26 | </div> |
| 23 | <div class="modal-footer"> | 27 | <div class="modal-footer"> |
| 24 | <button class="btn btn-primary" ng-click="aceptar(13)" foca-focus="true">Aceptar</button> | 28 | <button class="btn btn-primary" ng-click="aceptar(13)" foca-focus="true">Aceptar</button> |
| 25 | <button class="btn btn-default" ng-click="cancelar()">Cancelar</button> | 29 | <button class="btn btn-default" ng-click="cancelar()">Cancelar</button> |
| 26 | </div> | 30 | </div> |
| 27 | 31 |