escalasSalarial.html 2.14 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<div class="container">
    <div class="row">
      <div class="col-sm-5 col-md-4 col-xs-6">
        <h4 class="color-primary">Escala Salarial</h4>
      </div>
      <div class="col-sm-5 col-md-4 col-sm-offset-2">
        <div class="pull-right">
          <button class="btn btn-success-outline" ng-click="vm.crearEscalaSalarial()" type="button"><i class="fa fa-plus"></i>
            Añadir Escala Salarial
          </button>
        </div>
      </div>
    </div>
    <div class="col-md-10">
      <uib-alert ng-repeat="alerta in vm.alertasEscalaSalarial" type="{{alerta.tipo}}"
                 close="vm.alertasEscalaSalarial.splice($index,1)"
                 dismiss-on-timeout="3000">{{alerta.mensaje}}
      </uib-alert>
    </div>
    <blockquote class="col-md-12 blockquote-primary">
      <div class="row">
        <div class="table-responsive col-md-10">
          <table class="table table-hover">
            <thead>
            <tr>
              <th><a href="" ng-click="vm.ordenar('nivel')">Nivel</a></th>
              <th><a href="" ng-click="vm.ordenar('nombre')">Nombre</a></th>
              <th class="text-right" width="12%" ng-click="vm.ordenar('monto')">Monto</th>
              <th class="text-center" width="12%">Acciones</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="escala in vm.escalasSalarial">
              <td>{{escala.nivel}}</td>
              <td>{{escala.nombre}}</td>
              <td>{{escala.monto}}</td>
              <td class="text-center">
                <div class="btn-group" role="group">
                  <a class="btn btn-info-outline btn-xs" href="#" role="button"
                     ng-click="vm.editarEscalaSalarial(escala)">
                    <i class="fa fa-edit fa-lg"></i>
                  </a>
                  <a class="btn btn-danger-outline btn-xs" href="#" role="button"
                     ng-click="vm.eliminarEscalaSalarial(escala)">
                    <i class="fa fa-trash fa-lg"></i>
                  </a>

                </div>
              </td>
            </tr>
            </tbody>
          </table>
        </div>
      </div>
    </blockquote>
  </div>