]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/modal/confirm.component.html
6584db3e66ff505f25fb37b4b619fbdd4392f2fb
1 <ng-template #confirmModal
let-close=
"close" let-dismiss=
"dismiss">
3 <div class=
"modal-header">
4 <h4 class=
"modal-title">{{ title }}
</h4>
6 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"dismiss()"></my-global-icon>
9 <div class=
"modal-body" >
10 <div [innerHtml]=
"message"></div>
12 <div *
ngIf=
"inputLabel" class=
"form-group mt-3">
13 <label for=
"confirmInput">{{ inputLabel }}
</label>
15 <input *
ngIf=
"!isPasswordInput" type=
"text" id=
"confirmInput" name=
"confirmInput" [(ngModel)]=
"inputValue" />
17 <my-input-text *
ngIf=
"isPasswordInput" inputId=
"confirmInput" [(ngModel)]=
"inputValue"></my-input-text>
21 <div class=
"modal-footer inputs">
23 type=
"button" role=
"button" i18n-value
value=
"Cancel" class=
"peertube-button grey-button"
24 (click)=
"dismiss()" (key.enter)=
"dismiss()"
29 type=
"submit" [value]=
"confirmButtonText" class=
"peertube-button orange-button" [disabled]=
"isConfirmationDisabled()"
30 (click)=
"close()" (key.enter)=
"confirm()"