mirror of
https://github.com/bitwarden/browser
synced 2025-12-28 14:13:22 +00:00
* feat(browser): Update auto biometrics copy * refactor(common): remove TotpService.isAutoCopyEnabled and use state directly The TotpService was just taking the value from StateService and forwarding it, making it depend on state service. All services that depended on the TotpService.isAutoCopyEnable flag also depended on StateService. This therefore simplifies things by using StateService directly. * feat(browser): update auto totp copy * feat(browser): update add login notification copy * feat(browser): update change password notification copy * feat(browser): update context menu copy * feat(browser): update show cards current tab copy * feat(browser): update show identities current tab copy * feat(browser): update enable favicon copy * feat(browser): update badge counter copy * feat(browser): update auto-fill copy * feat(desktop): update auto biometrics prompt copy * feat(desktop): update favicon copy * feat(desktop): adjust copy * feat(web): update favicons copy * feat(web): adjust copy * feat(web): update preference settings to sentence case * feat(browser): update settings and options page to sentence case * feat(desktop): update settings to sentence case * feat(web): update copy * feat(desktop): update copy
146 lines
4.5 KiB
HTML
146 lines
4.5 KiB
HTML
<div class="page-header">
|
|
<h1>{{ "preferences" | i18n }}</h1>
|
|
</div>
|
|
<p>{{ "preferencesDesc" | i18n }}</p>
|
|
<form (ngSubmit)="submit()" ngNativeValidate>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<app-vault-timeout-input
|
|
[vaultTimeouts]="vaultTimeouts"
|
|
[formControl]="vaultTimeout"
|
|
ngDefaultControl
|
|
>
|
|
</app-vault-timeout-input>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>{{ "vaultTimeoutAction" | i18n }}</label>
|
|
<div class="form-check form-check-block">
|
|
<input
|
|
class="form-check-input"
|
|
type="radio"
|
|
name="vaultTimeoutAction"
|
|
id="vaultTimeoutActionLock"
|
|
value="lock"
|
|
[(ngModel)]="vaultTimeoutAction"
|
|
/>
|
|
<label class="form-check-label" for="vaultTimeoutActionLock">
|
|
{{ "lock" | i18n }}
|
|
<small>{{ "vaultTimeoutActionLockDesc" | i18n }}</small>
|
|
</label>
|
|
</div>
|
|
<div class="form-check mt-2 form-check-block">
|
|
<input
|
|
class="form-check-input"
|
|
type="radio"
|
|
name="vaultTimeoutAction"
|
|
id="vaultTimeoutActionLogOut"
|
|
value="logOut"
|
|
[(ngModel)]="vaultTimeoutAction"
|
|
(ngModelChange)="vaultTimeoutActionChanged($event)"
|
|
/>
|
|
<label class="form-check-label" for="vaultTimeoutActionLogOut">
|
|
{{ "logOut" | i18n }}
|
|
<small>{{ "vaultTimeoutActionLogOutDesc" | i18n }}</small>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<div class="form-group">
|
|
<div class="d-flex">
|
|
<label for="locale">{{ "language" | i18n }}</label>
|
|
<a
|
|
class="ml-auto"
|
|
href="https://bitwarden.com/help/localization/"
|
|
target="_blank"
|
|
rel="noopener"
|
|
appA11yTitle="{{ 'learnMore' | i18n }}"
|
|
>
|
|
<i class="bwi bwi-question-circle" aria-hidden="true"></i>
|
|
</a>
|
|
</div>
|
|
<select id="locale" name="Locale" [(ngModel)]="locale" class="form-control">
|
|
<option *ngFor="let o of localeOptions" [ngValue]="o.value">{{ o.name }}</option>
|
|
</select>
|
|
<small class="form-text text-muted">{{ "languageDesc" | i18n }}</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="form-check">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
id="enableFavicons"
|
|
name="enableFavicons"
|
|
[(ngModel)]="enableFavicons"
|
|
/>
|
|
<label class="form-check-label" for="enableFavicons">
|
|
{{ "enableFavicon" | i18n }}
|
|
</label>
|
|
<a
|
|
href="https://bitwarden.com/help/website-icons/"
|
|
target="_blank"
|
|
rel="noopener"
|
|
appA11yTitle="{{ 'learnMore' | i18n }}"
|
|
>
|
|
<i class="bwi bwi-question-circle" aria-hidden="true"></i>
|
|
</a>
|
|
</div>
|
|
<small class="form-text text-muted">{{ "faviconDesc" | i18n }}</small>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="form-check">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
id="enableGravatars"
|
|
name="enableGravatars"
|
|
[(ngModel)]="enableGravatars"
|
|
/>
|
|
<label class="form-check-label" for="enableGravatars">
|
|
{{ "enableGravatars" | i18n }}
|
|
</label>
|
|
<a
|
|
href="https://gravatar.com/"
|
|
target="_blank"
|
|
rel="noopener"
|
|
appA11yTitle="{{ 'learnMore' | i18n }}"
|
|
>
|
|
<i class="bwi bwi-question-circle" aria-hidden="true"></i>
|
|
</a>
|
|
</div>
|
|
<small class="form-text text-muted">{{ "enableGravatarsDesc" | i18n }}</small>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="form-check">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
id="enableFullWidth"
|
|
name="enableFullWidth"
|
|
[(ngModel)]="enableFullWidth"
|
|
/>
|
|
<label class="form-check-label" for="enableFullWidth">
|
|
{{ "enableFullWidth" | i18n }}
|
|
</label>
|
|
</div>
|
|
<small class="form-text text-muted">{{ "enableFullWidthDesc" | i18n }}</small>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<div class="form-group">
|
|
<label for="theme">{{ "theme" | i18n }}</label>
|
|
<select id="theme" name="theme" [(ngModel)]="theme" class="form-control">
|
|
<option *ngFor="let o of themeOptions" [ngValue]="o.value">{{ o.name }}</option>
|
|
</select>
|
|
<small class="form-text text-muted">{{ "themeDesc" | i18n }}</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">
|
|
{{ "save" | i18n }}
|
|
</button>
|
|
</form>
|