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

164 lines
9.8 KiB
HTML
Raw Normal View History

2019-04-02 05:27:54 +02:00
<div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" attr.aria-label="{{'settings' | i18n}}">
<div class="modal-dialog" role="document">
2018-02-10 05:41:29 +01:00
<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="vaultTimeouts">{{'vaultTimeout' | i18n}}</label>
<select id="vaultTimeouts" name="VaultTimeouts" [(ngModel)]="vaultTimeout"
(change)="saveVaultTimeoutOptions()">
<option *ngFor="let o of vaultTimeouts" [ngValue]="o.value">{{o.name}}</option>
2018-02-11 05:24:22 +01:00
</select>
<small class="help-block">{{'vaultTimeoutDesc' | i18n}}</small>
</div>
<div class="form-group">
<label>{{'vaultTimeoutAction' | i18n}}</label>
<div class="radio radio-mt-2">
<label for="vaultTimeoutActionLock">
<input type="radio" name="VaultTimeoutAction" id="vaultTimeoutActionLock"
value="lock" [(ngModel)]="vaultTimeoutAction"
(change)="saveVaultTimeoutOptions()">
{{'lock' | i18n}}
</label>
</div>
<small class="help-block">{{'vaultTimeoutActionLockDesc' | i18n}}</small>
<div class="radio">
<label for="vaultTimeoutActionLogOut">
<input type="radio" name="VaultTimeoutAction" id="vaultTimeoutActionLogOut"
value="logOut" [(ngModel)]="vaultTimeoutAction"
(change)="saveVaultTimeoutOptions()">
{{'logOut' | i18n}}
</label>
</div>
<small class="help-block">{{'vaultTimeoutActionLogOutDesc' | i18n}}</small>
2018-02-11 05:24:22 +01:00
</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>
<div class="form-group" *ngIf="supportsBiometric">
<div class="checkbox">
<label for="biometric">
<input id="biometric" type="checkbox" name="biometric" [checked]="biometric" (change)="updateBiometric()">
{{biometricText | 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">
2019-02-27 17:29:31 +01:00
<div class="form-group">
<label for="clearClipboard">{{'clearClipboard' | i18n}}</label>
<select id="clearClipboard" name="ClearClipboard" [(ngModel)]="clearClipboard"
(change)="saveClearClipboard()">
<option *ngFor="let o of clearClipboardOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
<small class="help-block">{{'clearClipboardDesc' | i18n}}</small>
</div>
<div class="form-group">
<div class="checkbox">
<label for="minimizeOnCopyToClipboard">
<input id="minimizeOnCopyToClipboard" type="checkbox"
name="MinimizeOnCopyToClipboard" [(ngModel)]="minimizeOnCopyToClipboard"
(change)="saveMinOnCopyToClipboard()">
{{'minimizeOnCopyToClipboard' | i18n}}
</label>
</div>
<small class="help-block">{{'minimizeOnCopyToClipboardDesc' | i18n}}</small>
</div>
2018-02-11 05:24:22 +01:00
<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()">
{{enableTrayText}}
2018-05-05 06:29:02 +02:00
</label>
</div>
<small class="help-block">{{enableTrayDescText}}</small>
2018-05-05 06:29:02 +02:00
</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>
2020-11-20 14:05:50 +01:00
<div class="form-group" *ngIf="showHideDock">
<div class="checkbox">
<label for="hideDock">
<input id="hideDock" type="checkbox" name="HideDock" [(ngModel)]="hideDock"
(change)="saveHideDock()">
{{'hideDock' | i18n}}
</label>
</div>
<small class="help-block">{{'hideDockDesc' | 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>