]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/modal/custom-modal.component.html
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / app / modal / custom-modal.component.html
CommitLineData
437e8e06
K
1<ng-template #modal let-hide="close">
2 <div class="modal-header">
3 <h4 class="modal-title">{{title}}</h4>
4 <my-global-icon *ngIf="close" iconName="cross" aria-label="Close" role="button" (click)="onCloseClick()"></my-global-icon>
5 </div>
266947e5 6
437e8e06
K
7 <div class="modal-body" [innerHTML]="content"></div>
8
9 <div *ngIf="hasCancel() || hasConfirm()" class="modal-footer inputs">
10 <input
266947e5 11 *ngIf="hasCancel()" type="button" role="button" value="{{cancel.value}}" class="peertube-button grey-button"
437e8e06
K
12 (click)="onCancelClick()" (key.enter)="onCancelClick()"
13 >
14
15 <input
266947e5 16 *ngIf="hasConfirm()" type="button" role="button" value="{{confirm.value}}" class="peertube-button orange-button"
437e8e06
K
17 (click)="onConfirmClick()" (key.enter)="onConfirmClick()"
18 >
19 </div>
20</ng-template>