bitwarden-estensione-browser/src/app/vault/folder-add-edit.component.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
2.1 KiB
HTML
Raw Normal View History

<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="folderAddEditTitle">
2019-04-02 05:27:54 +02:00
<div class="modal-dialog modal-sm" role="document">
2018-01-31 18:52:12 +01:00
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
2018-01-30 21:40:06 +01:00
<div class="modal-body">
<div class="box">
2019-04-02 05:27:54 +02:00
<div class="box-header" id="folderAddEditTitle">
2018-01-30 21:58:58 +01:00
{{ title }}
2018-01-30 21:40:06 +01:00
</div>
<div class="box-content">
<div class="box-content-row" appBoxRow>
<label for="name">{{ "name" | i18n }}</label>
<input
id="name"
type="text"
name="Name"
[(ngModel)]="folder.name"
2019-02-21 22:53:32 +01:00
[appAutofocus]="!editMode"
2018-01-30 21:40:06 +01:00
/>
</div>
2021-12-20 15:47:17 +01:00
</div>
</div>
</div>
2018-01-30 21:40:06 +01:00
<div class="modal-footer">
2019-04-02 04:43:42 +02:00
<button
appBlurClick
type="submit"
class="primary"
appA11yTitle="{{ 'save' | i18n }}"
[disabled]="form.loading"
>
2019-04-02 04:56:28 +02:00
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading" aria-hidden="true"></i>
<i
class="fa fa-spinner fa-spin fa-lg fa-fw"
[hidden]="!form.loading"
aria-hidden="true"
></i>
2018-01-30 21:40:06 +01:00
</button>
2018-08-02 05:21:32 +02:00
<button type="button" data-dismiss="modal">{{ "cancel" | i18n }}</button>
2018-01-30 21:40:06 +01:00
<div class="right">
2018-01-31 18:52:12 +01:00
<button
#deleteBtn
appBlurClick
type="button"
(click)="delete()"
class="danger"
2019-04-02 04:43:42 +02:00
appA11yTitle="{{ 'delete' | i18n }}"
*ngIf="editMode"
[disabled]="deleteBtn.loading"
2019-02-21 22:53:32 +01:00
[appApiAction]="deletePromise"
2019-04-02 04:56:28 +02:00
>
<i
class="fa fa-trash-o fa-lg fa-fw"
[hidden]="deleteBtn.loading"
aria-hidden="true"
></i>
<i
class="fa fa-spinner fa-spin fa-lg fa-fw"
[hidden]="!deleteBtn.loading"
aria-hidden="true"
></i>
2018-01-30 21:40:06 +01:00
</button>
</div>
2021-12-20 15:47:17 +01:00
</div>
2018-01-31 18:52:12 +01:00
</form>
2018-01-30 21:40:06 +01:00
</div>
</div>