1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

prod build fixes

This commit is contained in:
Kyle Spearrin 2018-06-11 08:54:48 -04:00
parent 894ab16b35
commit d21540878e
4 changed files with 15 additions and 5 deletions

2
jslib

@ -1 +1 @@
Subproject commit cd3c2ddff1abd66c6318d981a389685dc82cfc0e
Subproject commit d875b9aeb0013ff0802c1a9a1e6a8eb2fb8ef156

View File

@ -1,4 +1,4 @@
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" class="container">
<form (ngSubmit)="submit()" class="container">
<div class="row justify-content-md-center mt-5">
<div class="col-5">
<p class="text-center mb-4">
@ -11,7 +11,7 @@
<label for="masterPassword">{{'masterPass' | i18n}}</label>
<div class="d-flex">
<input id="masterPassword" type="{{showPassword ? 'text' : 'password'}}" name="MasterPassword" class="text-monospace form-control"
[(ngModel)]="masterPassword" required [appAutofocus]="email !== ''">
[(ngModel)]="masterPassword" required appAutofocus>
<button type="button" class="ml-1 btn btn-link" appBlurClick title="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
</button>

12
src/app/dummy.module.ts Normal file
View File

@ -0,0 +1,12 @@
import { NgModule } from '@angular/core';
import { ModalComponent } from 'jslib/angular/components/modal.component';
@NgModule({
imports: [],
declarations: [
ModalComponent,
],
})
export class DummyModule {
}

View File

@ -25,8 +25,6 @@
"jslib/dist",
"jslib/spec",
"jslib/src/electron",
"jslib/src/angular/components/modal.component.ts",
"jslib/src/angular/dummy.module.ts",
"jslib/src/services/nodeApi.service.ts",
"jslib/src/services/lowdbStorage.service.ts",
"jslib/src/misc/nodeUtils.ts",