Commit 555e86cbbe9e737473fbf8f03195fda591873f95
1 parent
956ee10ddd
Exists in
develop
Add
Boton de cierre, modal confirmacion
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/app/shared/confirmacion/confirmacion.component.html
1 | <div class="modal-header bg-primary rounded-top pt-4 px-2"> | 1 | <div class="modal-header bg-primary rounded-top pt-4 px-2"> |
2 | <img | ||
3 | draggable="false" | ||
4 | ondragstart="return false;" | ||
5 | (contextmenu)="false" | ||
6 | (click)="modalRef.hide()" | ||
7 | class="btn-effect icon-30 mt-2 mr-2 position-absolute right-0 top-0 z-index" | ||
8 | src="assets/img/icono-cancelar-blanco.svg"> | ||
2 | <div class="row mx-0 w-100 justify-content-between"> | 9 | <div class="row mx-0 w-100 justify-content-between"> |
3 | <div class="col-8"> | 10 | <div class="col-8"> |
4 | <p *ngIf="titleMessage" class="h3 text-white">{{titleMessage}}</p> | 11 | <p *ngIf="titleMessage" class="h3 text-white">{{titleMessage}}</p> |
5 | </div> | 12 | </div> |
6 | </div> | 13 | </div> |
7 | <div *ngIf="imagenPath" class="col-4 align-self-center"> | 14 | <div *ngIf="imagenPath" class="col-4 align-self-center"> |
8 | <img | 15 | <img |
9 | draggable="false" | 16 | draggable="false" |
10 | ondragstart="return false;" | 17 | ondragstart="return false;" |
11 | (contextmenu)="false" | 18 | (contextmenu)="false" |
12 | src="{{urlImagenes}}{{imagenPath}}" | 19 | src="{{urlImagenes}}{{imagenPath}}" |
13 | onerror="this.src='assets/img/imagen-no-encontrada.jpg'" | 20 | onerror="this.src='assets/img/imagen-no-encontrada.jpg'" |
14 | class="card-img-top img-fluid rounded-circle"> | 21 | class="card-img-top img-fluid rounded-circle"> |
15 | </div> | 22 | </div> |
16 | </div> | 23 | </div> |
17 | <div class=" col-12 modal-body bg-primary rounded-bottom pb-3 px-2"> | 24 | <div class=" col-12 modal-body bg-primary rounded-bottom pb-3 px-2"> |
18 | <div class="row justify-content-between mx-0 w-100"> | 25 | <div class="row justify-content-between mx-0 w-100"> |
19 | <div class="col-8"> | 26 | <div class="col-8"> |
20 | <p *ngIf="footerMessageFirst" class="text-white"><small>{{footerMessageFirst}}</small></p > | 27 | <p *ngIf="footerMessageFirst" class="text-white"><small>{{footerMessageFirst}}</small></p > |
21 | <h1 *ngIf="footerMessageSecond" class="text-white mb-4">{{footerMessageSecond}}</h1> | 28 | <h1 *ngIf="footerMessageSecond" class="text-white mb-4">{{footerMessageSecond}}</h1> |
22 | </div> | 29 | </div> |
23 | <div class="col-4"> | 30 | <div class="col-4"> |
24 | <div | 31 | <div |
25 | class="mx-0" | 32 | class="mx-0" |
26 | (click)="confirmarArticulo()"> | 33 | (click)="confirmarArticulo()"> |
27 | <div class="col-auto bg-white badge-pill"> | 34 | <div class="col-auto bg-white badge-pill"> |
28 | <div class="row justify-content-between"> | 35 | <div class="row justify-content-between"> |
29 | <div *ngIf="footerConfirmation" class="col-auto px-0 align-self-center text-primary pl-3"> | 36 | <div *ngIf="footerConfirmation" class="col-auto px-0 align-self-center text-primary pl-3"> |
30 | <p class="font-weight-bold">{{footerConfirmation | currency}}</p> | 37 | <p class="font-weight-bold">{{footerConfirmation | currency}}</p> |
31 | </div> | 38 | </div> |
32 | <div class="col-auto px-0"> | 39 | <div class="col-auto px-0"> |
33 | <img | 40 | <img |
34 | draggable="false" | 41 | draggable="false" |
35 | ondragstart="return false;" | 42 | ondragstart="return false;" |
36 | (contextmenu)="false" | 43 | (contextmenu)="false" |
37 | class="d-block ml-auto my-1 icon-30 pr-2" | 44 | class="d-block ml-auto my-1 icon-30 pr-2" |
38 | src="assets/img/ir-color.svg"> | 45 | src="assets/img/ir-color.svg"> |
39 | </div> | 46 | </div> |
40 | </div> | 47 | </div> |
41 | </div> | 48 | </div> |
42 | </div> | 49 | </div> |
43 | <div *ngIf="footerClose" class="bg-white badge-pill mt-2"> | 50 | <div *ngIf="footerClose" class="bg-white badge-pill mt-2"> |
44 | <div class="row justify-content-between"> | 51 | <div class="row justify-content-between"> |
45 | <div | 52 | <div |
46 | class="col-auto mx-0 " | 53 | class="col-auto mx-0 " |
47 | (click)="close()"> | 54 | (click)="close()"> |
48 | <p class="font-weight-bold text-center text-primary">{{footerClose}}</p> | 55 | <p class="font-weight-bold text-center text-primary">{{footerClose}}</p> |
49 | </div> | 56 | </div> |
50 | <i class="fas fa-undo-alt text-info mr-3 my-auto"></i> | 57 | <i class="fas fa-undo-alt text-info mr-3 my-auto"></i> |
51 | </div> | 58 | </div> |
52 | </div> | 59 | </div> |
53 | </div> | 60 | </div> |
54 | </div> | 61 | </div> |
55 | </div> | 62 | </div> |
56 | 63 |