botonera-facturador.html 1.11 KB
<div
    class="col-4 col-sm-2 px-1 py-1 m-auto m-md-0"
    ng-repeat="boton in botones track by $index"
    ng-class="{'d-md-grid': boton == ''}">
    <img
        ng-src="./img/tilde_.png"
        class="w-25 position-absolute  foca-boton-facturador-right"
        ng-show="boton != '' && boton.checked"
        uib-tooltip="Parámetro seleccionado"
        tooltip-append-to-body="true">
    <img
        uib-tooltip="Limpiar parámetro"
        tooltip-append-to-body="true"
        ng-src="./img/cruz-gris.png"
        class="w-25 position-absolute"
        ng-show="boton != '' && boton.checked && existeFuncionDelete(boton.variable)"
        ng-click="ejecutarFuncionDelete(boton.variable)">
    <button
        type="button"
        class="btn btn-block btn-xs text-center py-1 rounded border border-light foca-overflow-hidden"
        ng-click="(boton != '') ? ejecutarFuncion(boton.label) : null"
        ng-class="{'d-sm-block h-100': boton == ''}"
        ng-disabled="boton.disable"
    >
        <img ng-src="./img/{{boton.image}}" alt="" ng-show="boton != ''">
        <span>{{boton.label}}</span>
    </button>
</div>