diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-22 15:29:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-22 15:29:32 +0100 |
commit | 1f30a1853e38c20a45722dbd6d38aaaec63839e8 (patch) | |
tree | cdce8cc9fcc62d9b3343c9478b1dbcefedcea972 /client/src/app/core/confirm/confirm.component.html | |
parent | 78967fca4cacbc247fa6fb62d64b2d6825a10804 (diff) | |
download | PeerTube-1f30a1853e38c20a45722dbd6d38aaaec63839e8.tar.gz PeerTube-1f30a1853e38c20a45722dbd6d38aaaec63839e8.tar.zst PeerTube-1f30a1853e38c20a45722dbd6d38aaaec63839e8.zip |
Add confirm when admin use custom js/css
Diffstat (limited to 'client/src/app/core/confirm/confirm.component.html')
-rw-r--r-- | client/src/app/core/confirm/confirm.component.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/core/confirm/confirm.component.html b/client/src/app/core/confirm/confirm.component.html index cc2c28de2..90274b248 100644 --- a/client/src/app/core/confirm/confirm.component.html +++ b/client/src/app/core/confirm/confirm.component.html | |||
@@ -10,13 +10,18 @@ | |||
10 | <div class="modal-body" > | 10 | <div class="modal-body" > |
11 | <div [innerHtml]="message"></div> | 11 | <div [innerHtml]="message"></div> |
12 | 12 | ||
13 | <div *ngIf="inputLabel && expectedInputValue" class="form-group"> | ||
14 | <label for="confirmInput">{{ inputLabel }}</label> | ||
15 | <input type="text" id="confirmInput" name="confirmInput" [(ngModel)]="inputValue" /> | ||
16 | </div> | ||
17 | |||
13 | <div class="form-group inputs"> | 18 | <div class="form-group inputs"> |
14 | <span class="action-button action-button-cancel" (click)="cancel()"> | 19 | <span class="action-button action-button-cancel" (click)="cancel()"> |
15 | Cancel | 20 | Cancel |
16 | </span> | 21 | </span> |
17 | 22 | ||
18 | <input | 23 | <input |
19 | type="submit" value="Confirm" class="action-button-submit" | 24 | type="submit" value="Confirm" class="action-button-submit" [disabled]="isConfirmationDisabled()" |
20 | (click)="confirm()" | 25 | (click)="confirm()" |
21 | > | 26 | > |
22 | </div> | 27 | </div> |