foca-detalle-vehiculo.html 1.68 KB
<div class="modal-header">
    <h4>Detalle de carga</h4>
</div>
<div class="modal-body">
    <div class="row">
        <div class="col-12" ng-repeat="articulo in articulos">
            <input
                type="checkbox"
                ng-model="articulo.chequed"
            >
            <span>Articulo: {{articulo.descripcion}},</span>
            <span>Cantidad: {{articulo.cantidad}}</span>
        </div>
        <strong class="col-12" ng-bind="vehiculo.tractor"></strong>
        <strong class="col-12">Cisternas:</strong>
        <!-- <div class="text-center">
            <div class="progress" ng-repeat="cisterna in vehiculo.cisternas">
                <div class="progress-bar" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="height: 30%;">
                    <span class="sr-only">30% Complete</span>
                </div>
            </div>
        </div> -->
        <div class="progress col-12" ng-repeat="cisterna in vehiculo.cisternas">
            <div class="progress-bar" role="progressbar" aria-valuenow="70"
            aria-valuemin="0" aria-valuemax="100" style="width:70%">
                <span class="sr-only">70% Complete</span>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer py-1">
    <button class="btn btn-sm btn-secondary" type="button" ng-click="aceptar()">Aceptar</button>
</div>
<style>
.progress-bar-vertical {
  width: 20px;
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  margin-right: 20px;
  float: left;
}

.progress-bar-vertical .progress-bar {
  width: 100%;
  height: 0;
  -webkit-transition: height 0.6s ease;
  -o-transition: height 0.6s ease;
  transition: height 0.6s ease;
}
</style>