1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

add UI for new autofill on page load options

This commit is contained in:
Tom Rittson 2020-10-25 14:34:38 +10:00 committed by Thomas Rittson
parent 540ca5d204
commit de809136a2
2 changed files with 18 additions and 0 deletions

View File

@ -888,6 +888,18 @@
"enableAutoFillOnPageLoadDesc": {
"message": "If a login form is detected, automatically perform an auto-fill when the web page loads."
},
"autoFillOnPageLoad": {
"message": "Auto-fill On Page Load"
},
"autoFillOnPageLoadUseGlobalSettings": {
"message": "Use Global Settings"
},
"autoFillOnPageLoadAlways": {
"message": "Always"
},
"autoFillOnPageLoadNever": {
"message": "Never"
},
"experimentalFeature": {
"message": "This is currently an experimental feature. Use at your own risk."
},

View File

@ -261,6 +261,12 @@
</div>
<div class="box">
<div class="box-content">
<div class="box-content-row" appBoxRow>
<label for="autofillOnPageLoad">{{'autoFillOnPageLoad' | i18n}}</label>
<select id="autofillOnPageLoad" name="AutofillOnPageLoad" [(ngModel)]="cipher.login.autofillOnPageLoad">
<option *ngFor="let o of autofillOnPageLoadOptions" [ngValue]="o.value">{{o.name}}</option>
</select>
</div>
<div class="box-content-row" appBoxRow>
<label for="folder">{{'folder' | i18n}}</label>
<select id="folder" name="FolderId" [(ngModel)]="cipher.folderId">