mirror of
https://github.com/bitwarden/browser
synced 2025-12-29 06:33:40 +00:00
generator updates (#1575)
* update generator * update css * add link to help article * update jslib * fix oss module and user type tip icon * update jslib * Revert "update jslib" This reverts commit b2b13ace5e55401294ea83aaac656cba62fe3614. * revert jslib update
This commit is contained in:
@@ -232,7 +232,18 @@
|
||||
</ng-container>
|
||||
<ng-container *ngIf="type === 'username'">
|
||||
<div class="form-group">
|
||||
<label class="d-block">{{ "usernameType" | i18n }}</label>
|
||||
<div class="d-block">
|
||||
<label>{{ "usernameType" | i18n }}</label>
|
||||
<a
|
||||
class="ml-auto"
|
||||
href="https://bitwarden.com/help/generator/#username-types"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
appA11yTitle="{{ 'learnMore' | i18n }}"
|
||||
>
|
||||
<i class="bwi bwi-question-circle" aria-hidden="true"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="form-check" *ngFor="let o of usernameTypeOptions">
|
||||
<input
|
||||
class="form-check-input"
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component, ViewChild, ViewContainerRef } from "@angular/core";
|
||||
import { ActivatedRoute } from "@angular/router";
|
||||
|
||||
import { PasswordGeneratorComponent as BasePasswordGeneratorComponent } from "jslib-angular/components/password-generator.component";
|
||||
import { GeneratorComponent as BaseGeneratorComponent } from "jslib-angular/components/generator.component";
|
||||
import { ModalService } from "jslib-angular/services/modal.service";
|
||||
import { I18nService } from "jslib-common/abstractions/i18n.service";
|
||||
import { PasswordGenerationService } from "jslib-common/abstractions/passwordGeneration.service";
|
||||
@@ -12,10 +12,10 @@ import { UsernameGenerationService } from "jslib-common/abstractions/usernameGen
|
||||
import { PasswordGeneratorHistoryComponent } from "./password-generator-history.component";
|
||||
|
||||
@Component({
|
||||
selector: "app-password-generator",
|
||||
templateUrl: "password-generator.component.html",
|
||||
selector: "app-generator",
|
||||
templateUrl: "generator.component.html",
|
||||
})
|
||||
export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent {
|
||||
export class GeneratorComponent extends BaseGeneratorComponent {
|
||||
@ViewChild("historyTemplate", { read: ViewContainerRef, static: true })
|
||||
historyModalRef: ViewContainerRef;
|
||||
|
||||
Reference in New Issue
Block a user