op-resp-eva.component.html 1.03 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

<div class="titulo">
  <span class="titulo-texto">Opciones de Respuesta</span>
  <button class="rounder-nuevo" (click)="GuardarParametro()">
    <mat-icon class="white-icon">add</mat-icon>
  </button>
</div>

<table class="principal">
  <thead class="colorsito">
    <tr>
      <th class="colorsito">Descripción</th>
      <th class="colorsito">Puntaje</th>
      <th class="colorsito">Acciones</th>
    </tr>
  </thead>
  <tbody>
    <ng-container *ngFor="let opciones of opcionesRespuesta; let i = index">

      <tr>
        <td>{{ opciones.uzytavalorpar_descrip }}</td>
        <td>{{ opciones.uzytavalorpar_puntaje }}</td>
        <td>
          <button>
            <mat-icon class="azul"
              (click)="EditarParametro(this.opciones.uzytavaloruzytparametros_id)">edit</mat-icon>
          </button>
          <button>
            <mat-icon color="warn"
              (click)="eliminarParametro(opciones.uzytavaloruzytparametros_id)">delete</mat-icon>
          </button>
        </td>
      </tr>
    </ng-container>
  </tbody>
</table>