bitwarden-estensione-browser/src/app/accounts/settings.component.html

106 lines
5.9 KiB
HTML
Raw Normal View History

2018-02-10 05:41:29 +01:00
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
2018-02-11 05:24:22 +01:00
<div class="modal-body form">
2018-02-10 05:41:29 +01:00
<div class="box">
<div class="box-header">
2018-02-11 05:24:22 +01:00
{{'security' | i18n}}
2018-02-10 05:41:29 +01:00
</div>
2018-02-11 05:24:22 +01:00
<div class="box-content box-content-padded">
<div class="form-group">
<label for="lockOption">{{'lockOptions' | i18n}}</label>
2018-02-12 21:06:39 +01:00
<select id="lockOption" name="LockOption" [(ngModel)]="lockOption"
2019-02-21 22:53:32 +01:00
(change)="saveLockOption()">
2018-02-11 05:24:22 +01:00
<option *ngFor="let o of lockOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
<small class="help-block">{{'lockOptionsDesc' | i18n}}</small>
</div>
2019-02-13 16:06:58 +01:00
<div class="form-group">
<div class="checkbox">
<label for="pin">
<input id="pin" type="checkbox" name="PIN" [(ngModel)]="pin" (change)="updatePin()">
{{'unlockWithPin' | i18n}}
</label>
</div>
</div>
2018-02-11 05:24:22 +01:00
</div>
</div>
<div class="box">
<div class="box-header">
{{'options' | i18n}}
</div>
<div class="box-content box-content-padded">
<div class="form-group">
<div class="checkbox">
2018-02-12 21:06:39 +01:00
<label for="disableFavicons">
<input id="disableFavicons" type="checkbox" name="DisableFavicons"
2019-02-21 22:53:32 +01:00
[(ngModel)]="disableFavicons" (change)="saveFavicons()">
2018-02-11 05:24:22 +01:00
{{'disableFavicon' | i18n}}
</label>
</div>
<small class="help-block">{{'disableFaviconDesc' | i18n}}</small>
</div>
2018-05-05 06:29:02 +02:00
<div class="form-group">
<div class="checkbox">
<label for="enableTray">
2019-02-21 22:53:32 +01:00
<input id="enableTray" type="checkbox" name="EnableTray" [(ngModel)]="enableTray"
(change)="saveTray()">
2018-05-05 06:29:02 +02:00
{{'enableTray' | i18n}}
</label>
</div>
<small class="help-block">{{'enableTrayDesc' | i18n}}</small>
</div>
2018-05-08 15:40:33 +02:00
<div class="form-group" *ngIf="showMinToTray">
<div class="checkbox">
2018-05-04 19:16:12 +02:00
<label for="enableMinToTray">
<input id="enableMinToTray" type="checkbox" name="EnableMinToTray"
2019-02-21 22:53:32 +01:00
[(ngModel)]="enableMinToTray" (change)="saveMinToTray()">
2018-05-04 19:16:12 +02:00
{{'enableMinToTray' | i18n}}
</label>
</div>
2018-05-04 19:16:12 +02:00
<small class="help-block">{{'enableMinToTrayDesc' | i18n}}</small>
</div>
<div class="form-group" *ngIf="showMinToTray">
<div class="checkbox">
<label for="enableCloseToTray">
<input id="enableCloseToTray" type="checkbox" name="EnableCloseToTray"
2019-02-21 22:53:32 +01:00
[(ngModel)]="enableCloseToTray" (change)="saveCloseToTray()">
{{'enableCloseToTray' | i18n}}
</label>
</div>
<small class="help-block">{{'enableCloseToTrayDesc' | i18n}}</small>
</div>
2019-02-02 18:27:06 +01:00
<div class="form-group" *ngIf="showMinToTray">
<div class="checkbox">
<label for="startToTray">
2019-02-21 22:53:32 +01:00
<input id="startToTray" type="checkbox" name="StartToTray" [(ngModel)]="startToTray"
(change)="saveStartToTray()">
2019-02-02 18:27:06 +01:00
{{'startToTray' | i18n}}
</label>
</div>
<small class="help-block">{{'startToTrayDesc' | i18n}}</small>
</div>
2018-05-30 05:28:58 +02:00
<div class="form-group">
<label for="theme">{{'theme' | i18n}}</label>
<select id="theme" name="Theme" [(ngModel)]="theme" (change)="saveTheme()">
<option *ngFor="let o of themeOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
<small class="help-block">{{'themeDesc' | i18n}}</small>
</div>
<div class="form-group">
<label for="locale">{{'language' | i18n}}</label>
2018-04-25 05:53:20 +02:00
<select id="locale" name="Locale" [(ngModel)]="locale" (change)="saveLocale()">
<option *ngFor="let o of localeOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
<small class="help-block">{{'languageDesc' | i18n}}</small>
</div>
2018-02-10 05:41:29 +01:00
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal">{{'close' | i18n}}</button>
</div>
</div>
</div>
</div>