mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
commit
ad1653ec3f
@ -54,7 +54,7 @@
|
|||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<div class="box-content-row box-content-row-input" appBoxRow>
|
<div class="box-content-row box-content-row-input" appBoxRow>
|
||||||
<label for="num-words">{{'numWords' | i18n}}</label>
|
<label for="num-words">{{'numWords' | i18n}}</label>
|
||||||
<input id="num-words" type="number" min="3" max="20" (blur)="saveOptions()"
|
<input id="num-words" type="number" min="3" max="20" (change)="saveOptions()"
|
||||||
[(ngModel)]="options.numWords">
|
[(ngModel)]="options.numWords">
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-input" appBoxRow>
|
<div class="box-content-row box-content-row-input" appBoxRow>
|
||||||
@ -80,7 +80,7 @@
|
|||||||
<div class="box-content-row box-content-row-slider" appBoxRow>
|
<div class="box-content-row box-content-row-slider" appBoxRow>
|
||||||
<label for="length">{{'length' | i18n}}</label>
|
<label for="length">{{'length' | i18n}}</label>
|
||||||
<input id="length" type="number" min="5" max="128" [(ngModel)]="options.length"
|
<input id="length" type="number" min="5" max="128" [(ngModel)]="options.length"
|
||||||
(change)="lengthChanged()" (blur)="saveOptions()">
|
(change)="saveOptions()">
|
||||||
<input id="lengthRange" type="range" min="5" max="128" step="1" [(ngModel)]="options.length"
|
<input id="lengthRange" type="range" min="5" max="128" step="1" [(ngModel)]="options.length"
|
||||||
(change)="sliderChanged()" (input)="sliderInput()">
|
(change)="sliderChanged()" (input)="sliderInput()">
|
||||||
</div>
|
</div>
|
||||||
@ -110,12 +110,12 @@
|
|||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<div class="box-content-row box-content-row-input" appBoxRow>
|
<div class="box-content-row box-content-row-input" appBoxRow>
|
||||||
<label for="min-number">{{'minNumbers' | i18n}}</label>
|
<label for="min-number">{{'minNumbers' | i18n}}</label>
|
||||||
<input id="min-number" type="number" min="0" max="9" (blur)="saveOptions()"
|
<input id="min-number" type="number" min="0" max="9" (change)="saveOptions()"
|
||||||
[(ngModel)]="options.minNumber">
|
[(ngModel)]="options.minNumber">
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-input" appBoxRow>
|
<div class="box-content-row box-content-row-input" appBoxRow>
|
||||||
<label for="min-special">{{'minSpecial' | i18n}}</label>
|
<label for="min-special">{{'minSpecial' | i18n}}</label>
|
||||||
<input id="min-special" type="number" min="0" max="9" (blur)="saveOptions()"
|
<input id="min-special" type="number" min="0" max="9" (change)="saveOptions()"
|
||||||
[(ngModel)]="options.minSpecial">
|
[(ngModel)]="options.minSpecial">
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
<div class="box-content-row box-content-row-checkbox" appBoxRow>
|
||||||
|
@ -40,10 +40,6 @@ export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent {
|
|||||||
this.close();
|
this.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
lengthChanged() {
|
|
||||||
document.getElementById('length').focus();
|
|
||||||
}
|
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.location.back();
|
this.location.back();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user