2019-10-11 17:47:41 +02:00
|
|
|
<div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="deleteSelectedTitle">
|
|
|
|
<div class="modal-dialog modal-sm" role="document">
|
2018-06-12 23:11:24 +02:00
|
|
|
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
|
|
|
|
<div class="modal-header">
|
2019-10-11 17:47:41 +02:00
|
|
|
<h2 class="modal-title" id="deleteSelectedTitle">
|
2020-04-08 22:48:30 +02:00
|
|
|
{{(permanent ? 'permanentlyDeleteSelected' : 'deleteSelected') | i18n}}
|
2018-06-12 23:11:24 +02:00
|
|
|
</h2>
|
2019-10-11 17:22:21 +02:00
|
|
|
<button type="button" class="close" data-dismiss="modal" appA11yTitle="{{'close' | i18n}}">
|
2018-06-12 23:11:24 +02:00
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2020-05-18 15:51:20 +02:00
|
|
|
{{(permanent ? 'permanentlyDeleteSelectedItemsDesc' : 'deleteSelectedItemsDesc') | i18n: cipherIds.length}}
|
2018-06-12 23:11:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2018-07-18 05:15:15 +02:00
|
|
|
<button appAutoFocus type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading">
|
2019-10-11 16:35:24 +02:00
|
|
|
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
2020-04-08 22:48:30 +02:00
|
|
|
<span>{{(permanent ? 'permanentlyDelete' : 'delete') | i18n}}</span>
|
2018-06-12 23:11:24 +02:00
|
|
|
</button>
|
2019-10-11 16:35:24 +02:00
|
|
|
<button type="button" class="btn btn-outline-secondary"
|
|
|
|
data-dismiss="modal">{{'cancel' | i18n}}</button>
|
2018-06-12 23:11:24 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|