Browse Source

prod build fixes

pull/212/head
Kyle Spearrin 8 years ago
parent
commit
d21540878e
  1. 2
      jslib
  2. 4
      src/app/accounts/lock.component.html
  3. 12
      src/app/dummy.module.ts
  4. 2
      tsconfig.json

2
jslib

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

4
src/app/accounts/lock.component.html

@ -1,4 +1,4 @@ @@ -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 @@ @@ -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

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

2
tsconfig.json

@ -25,8 +25,6 @@ @@ -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",

Loading…
Cancel
Save