cleanup generator
This commit is contained in:
parent
367104f0a7
commit
16b29c6116
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit d75543e6c88b220d8e3c7d66fb768d39f9480587
|
Subproject commit 6e501dddb9411c51ae2377523171d65f67884226
|
|
@ -3,7 +3,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card card-password bg-light my-4">
|
<div class="card card-password bg-light my-4">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<span>{{password}}</span>
|
{{password}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h2>{{'options' | i18n}}</h2>
|
<h2>{{'options' | i18n}}</h2>
|
||||||
|
@ -11,8 +11,6 @@
|
||||||
<div class="form-group col-4">
|
<div class="form-group col-4">
|
||||||
<label for="length">{{'length' | i18n}}</label>
|
<label for="length">{{'length' | i18n}}</label>
|
||||||
<input id="length" class="form-control" type="number" min="5" max="128" [(ngModel)]="options.length" (input)="saveOptions()">
|
<input id="length" class="form-control" type="number" min="5" max="128" [(ngModel)]="options.length" (input)="saveOptions()">
|
||||||
<input id="lengthRange" class="mt-2" type="range" min="5" max="128" step="1" [(ngModel)]="options.length" (change)="sliderChanged()"
|
|
||||||
(input)="sliderInput()">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-4">
|
<div class="form-group col-4">
|
||||||
<label for="min-number">{{'minNumbers' | i18n}}</label>
|
<label for="min-number">{{'minNumbers' | i18n}}</label>
|
||||||
|
@ -47,7 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<div>
|
<div>
|
||||||
<button type="button" class="btn btn-outline-primary" appBlurClick (click)="regenerate()">
|
<button type="button" class="btn btn-primary" appBlurClick (click)="regenerate()">
|
||||||
{{'regeneratePassword' | i18n}}
|
{{'regeneratePassword' | i18n}}
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-outline-primary" appBlurClick (click)="copy()">
|
<button type="button" class="btn btn-outline-primary" appBlurClick (click)="copy()">
|
||||||
|
@ -55,8 +53,8 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
<button type="button" class="btn btn-link" appBlurClick (click)="history()">
|
<button type="button" class="btn btn-outline-primary" appBlurClick (click)="history()" title="{{'passwordHistory' | i18n}}">
|
||||||
{{'passwordHistory' | i18n}}
|
<i class="fa fa-clock-o fa-lg"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -302,9 +302,8 @@ app-password-generator {
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-password {
|
.card-password {
|
||||||
span {
|
.card-body {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
display: block;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: $font-size-lg;
|
font-size: $font-size-lg;
|
||||||
font-family: $font-family-monospace;
|
font-family: $font-family-monospace;
|
||||||
|
|
Loading…
Reference in New Issue