diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-27 16:54:44 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-27 16:59:56 +0100 |
commit | 5769e1db8d3d5a1e3baa8dff23090cfe93d48a50 (patch) | |
tree | acbb14fda82b7517734f22d4ca57fb5e1ff9ef04 /client/src/app/core/confirm/confirm.component.html | |
parent | 7ddd02c9b8c1e088f6679a2227f105e6439fc992 (diff) | |
download | PeerTube-5769e1db8d3d5a1e3baa8dff23090cfe93d48a50.tar.gz PeerTube-5769e1db8d3d5a1e3baa8dff23090cfe93d48a50.tar.zst PeerTube-5769e1db8d3d5a1e3baa8dff23090cfe93d48a50.zip |
Client: better confirm box for a beautiful world
Diffstat (limited to 'client/src/app/core/confirm/confirm.component.html')
-rw-r--r-- | client/src/app/core/confirm/confirm.component.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/client/src/app/core/confirm/confirm.component.html b/client/src/app/core/confirm/confirm.component.html new file mode 100644 index 000000000..3052526ba --- /dev/null +++ b/client/src/app/core/confirm/confirm.component.html | |||
@@ -0,0 +1,20 @@ | |||
1 | <div bsModal #confirmModal="bs-modal" class="modal" tabindex="-1" role="dialog"> | ||
2 | <div class="modal-dialog"> | ||
3 | <div class="modal-content"> | ||
4 | |||
5 | <div class="modal-header"> | ||
6 | <button type="button" class="close" aria-label="Close" (click)="abort()"> | ||
7 | <span aria-hidden="true">×</span> | ||
8 | </button> | ||
9 | <h4 class="modal-title">{{ title }}</h4> | ||
10 | </div> | ||
11 | |||
12 | <div class="modal-body" [innerHtml]="message"></div> | ||
13 | |||
14 | <div class="modal-footer"> | ||
15 | <button type="button" class="btn btn-default" data-dismiss="modal" (click)="abort()">Annuler</button> | ||
16 | <button type="button" class="btn btn-primary" (click)="confirm()">Valider</button> | ||
17 | </div> | ||
18 | </div> | ||
19 | </div> | ||
20 | </div> | ||