Commit ce06ed39989d36bac2d47d5d78446d01ba29b076
1 parent
ba5693e559
Exists in
master
and in
1 other branch
linea al final
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/views/foca-detalle-vehiculo.html
| 1 | <div class="modal-header"> | 1 | <div class="modal-header"> |
| 2 | <h4>Detalle de carga</h4> | 2 | <h4>Detalle de carga</h4> |
| 3 | <h3>-EN DESARROLLO</h3> | 3 | <h3>-EN DESARROLLO</h3> |
| 4 | </div> | 4 | </div> |
| 5 | <div class="modal-body"> | 5 | <div class="modal-body"> |
| 6 | <div> | 6 | <div> |
| 7 | <div class="col-12" ng-repeat="articulo in articulos"> | 7 | <div class="col-12" ng-repeat="articulo in articulos"> |
| 8 | <input | 8 | <input |
| 9 | type="radio" | 9 | type="radio" |
| 10 | name="articuloRadio" | 10 | name="articuloRadio" |
| 11 | id="{{articulo.id}}" | 11 | id="{{articulo.id}}" |
| 12 | ng-click="cambioArticulo(articulo)" | 12 | ng-click="cambioArticulo(articulo)" |
| 13 | > | 13 | > |
| 14 | <span>Articulo: {{articulo.descripcion}},</span> | 14 | <span>Articulo: {{articulo.descripcion}},</span> |
| 15 | <span>Cantidad Cargada: {{articulo.cantidad}}</span> | 15 | <span>Cantidad Cargada: {{articulo.cantidad}}</span> |
| 16 | <span>Cantidad a Cargar: </span> | 16 | <span>Cantidad a Cargar: </span> |
| 17 | </div> | 17 | </div> |
| 18 | <strong class="col-12" ng-bind="vehiculo.tractor"></strong> | 18 | <strong class="col-12" ng-bind="vehiculo.tractor"></strong> |
| 19 | <strong class="col-12">Cisternas:</strong> | 19 | <strong class="col-12">Cisternas:</strong> |
| 20 | <div class="form-group row input-group" ng-repeat="cisterna in vehiculo.cisternas"> | 20 | <div class="form-group row input-group" ng-repeat="cisterna in vehiculo.cisternas"> |
| 21 | <div class="col-1 mt-2"> | 21 | <div class="col-1 mt-2"> |
| 22 | <strong>{{cisterna.codigo}}</strong> | 22 | <strong>{{cisterna.codigo}}</strong> |
| 23 | </div> | 23 | </div> |
| 24 | <input | 24 | <input |
| 25 | class="form-control col-2" | 25 | class="form-control col-2" |
| 26 | foca-tipo-input | 26 | foca-tipo-input |
| 27 | foca-teclado | 27 | foca-teclado |
| 28 | placeholder="A cargar..." | 28 | placeholder="A cargar..." |
| 29 | ng-model="cisterna.aCargar" | 29 | ng-model="cisterna.aCargar" |
| 30 | ng-disabled="articuloSeleccionado.cantidad > cisterna.disponible" | 30 | ng-disabled="articuloSeleccionado.cantidad > cisterna.disponible" |
| 31 | > | 31 | > |
| 32 | <div class="input-group-append"> | 32 | <div class="input-group-append"> |
| 33 | <button | 33 | <button |
| 34 | class="form-control btn btn-outline-secondary" | 34 | class="form-control btn btn-outline-secondary" |
| 35 | ng-disabled="articuloSeleccionado.cantidad > cisterna.disponible"> | 35 | ng-disabled="articuloSeleccionado.cantidad > cisterna.disponible"> |
| 36 | <i | 36 | <i |
| 37 | class="fa fa-save" | 37 | class="fa fa-save" |
| 38 | ng-click="cargarACisterna(cisterna)" | 38 | ng-click="cargarACisterna(cisterna)" |
| 39 | aria-hidden="true"></i> | 39 | aria-hidden="true"></i> |
| 40 | </button> | 40 | </button> |
| 41 | </div> | 41 | </div> |
| 42 | <div class="progress foca-alto col-8 pl-0 pr-0 mt-1"> | 42 | <div class="progress foca-alto col-8 pl-0 pr-0 mt-1"> |
| 43 | <strong class="col-12 mt-1 text-center position-absolute" | 43 | <strong class="col-12 mt-1 text-center position-absolute" |
| 44 | >{{cisterna.cisternaCarga.cantidad || 0}} / {{cisterna.capacidad}}</strong> | 44 | >{{cisterna.cisternaCarga.cantidad || 0}} / {{cisterna.capacidad}}</strong> |
| 45 | <div | 45 | <div |
| 46 | id="{{cisterna.id}}" | 46 | id="{{cisterna.id}}" |
| 47 | class="progress-bar" | 47 | class="progress-bar" |
| 48 | role="progressbar" | 48 | role="progressbar" |
| 49 | aria-valuemin="0" | 49 | aria-valuemin="0" |
| 50 | aria-valuemax="{{cisterna.capacidad}}" | 50 | aria-valuemax="{{cisterna.capacidad}}" |
| 51 | ng-style="{'width':'{{calcularPorcentaje(cisterna)}}'}"> | 51 | ng-style="{'width':'{{calcularPorcentaje(cisterna)}}'}"> |
| 52 | </div> | 52 | </div> |
| 53 | </div> | 53 | </div> |
| 54 | <div class="col-1 mt-1"> | 54 | <div class="col-1 mt-1"> |
| 55 | <i class="fa fa-info" data-toggle="tooltip" title="asd"></i> | 55 | <i class="fa fa-info" data-toggle="tooltip" title="asd"></i> |
| 56 | </div> | 56 | </div> |
| 57 | </div> | 57 | </div> |
| 58 | </div> | 58 | </div> |
| 59 | </div> | 59 | </div> |
| 60 | <div class="modal-footer py-1"> | 60 | <div class="modal-footer py-1"> |
| 61 | <button class="btn btn-sm btn-secondary" type="button" ng-click="aceptar()">Aceptar</button> | 61 | <button class="btn btn-sm btn-secondary" type="button" ng-click="aceptar()">Aceptar</button> |
| 62 | </div> | 62 | </div> |
| 63 | <style> | 63 | <style> |
| 64 | .progress-bar-vertical { | 64 | .progress-bar-vertical { |
| 65 | width: 20px; | 65 | width: 20px; |
| 66 | min-height: 100px; | 66 | min-height: 100px; |
| 67 | display: flex; | 67 | display: flex; |
| 68 | align-items: flex-end; | 68 | align-items: flex-end; |
| 69 | margin-right: 20px; | 69 | margin-right: 20px; |
| 70 | float: left; | 70 | float: left; |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | .progress-bar-vertical .progress-bar { | 73 | .progress-bar-vertical .progress-bar { |
| 74 | width: 100%; | 74 | width: 100%; |
| 75 | height: 0; | 75 | height: 0; |
| 76 | -webkit-transition: height 0.6s ease; | 76 | -webkit-transition: height 0.6s ease; |
| 77 | -o-transition: height 0.6s ease; | 77 | -o-transition: height 0.6s ease; |
| 78 | transition: height 0.6s ease; | 78 | transition: height 0.6s ease; |
| 79 | } | 79 | } |
| 80 | .foca-alto{ | 80 | .foca-alto{ |
| 81 | height: 2rem; | 81 | height: 2rem; |
| 82 | } | 82 | } |
| 83 | </style> | ||
| 83 | </style> |