Add survey template view button and remove lift effect on preview card

This commit is contained in:
Pablo Bonilla 2021-08-08 14:55:48 -06:00
parent be7d6041dc
commit 170742324b
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
3 changed files with 11 additions and 2 deletions

View File

@ -34,7 +34,7 @@
<p class="ds-subtitle text-center">Inicie creando preguntas y opciones para su encuesta.</p>
</ng-container>
<div class="ds-survey--question-wrapper card-encuesta lift" *ngFor="let ePregunta of ePreguntas; let i = index; trackBy: trackId">
<div class="ds-survey--question-wrapper card-encuesta" *ngFor="let ePregunta of ePreguntas; let i = index; trackBy: trackId">
<div
[attr.data-index]="ePregunta.id"
[attr.data-tipo]="ePregunta.tipo"

View File

@ -24,7 +24,7 @@
<p class="ds-subtitle text-center">Inicie creando preguntas y opciones para su plantilla.</p>
</ng-container>
<div class="ds-survey--question-wrapper card-plantilla lift" *ngFor="let pPregunta of pPreguntas; let i = index; trackBy: trackId">
<div class="ds-survey--question-wrapper card-plantilla" *ngFor="let pPregunta of pPreguntas; let i = index; trackBy: trackId">
<div
[attr.data-index]="pPregunta.id"
[attr.data-tipo]="pPregunta.tipo"

View File

@ -59,6 +59,15 @@
<td>{{ plantilla.categoria?.nombre }}</td>
<td class="text-right">
<div class="btn-group">
<button
type="submit"
[routerLink]="['/plantilla', plantilla.id, 'view']"
class="ds-btn ds-btn--secondary btn-sm"
data-cy="entityDetailsButton"
>
<fa-icon icon="eye"></fa-icon>
<span class="d-none d-md-inline">Vista previa</span>
</button>
<button
type="submit"
[routerLink]="['/plantilla', plantilla.id, 'edit']"