create view and controller refactor
This commit is contained in:
parent
b148332d9d
commit
d55e756e6a
6 changed files with 33 additions and 30 deletions
|
|
@ -6,7 +6,7 @@
|
|||
</ion-nav-bar>
|
||||
|
||||
|
||||
<ion-content ng-init="init()">
|
||||
<ion-content>
|
||||
|
||||
<form name="setupForm" ng-submit="join()" novalidate>
|
||||
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<label class="item item-input item-stacked-label no-border">
|
||||
<span class="input-label" translate>Your nickname</span>
|
||||
<input type="text"
|
||||
placeholder="{{'John'|translate}}"
|
||||
placeholder="Satoshi"
|
||||
name="myName"
|
||||
ng-model="formData.myName"
|
||||
required>
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
autocapitalize="off"
|
||||
name="createPassphrase"
|
||||
ng-model="formData.createPassphrase"
|
||||
ng-change="checkPassword(formData.createPassphrase, formData.repeatpassword)"
|
||||
ng-change="checkPassword(formData.createPassphrase, formData.repeatPassword)"
|
||||
ng-class="{'correct': result == 'correct', 'incorrect': result == 'incorrect'}">
|
||||
|
||||
<input ng-show="seedSourceId == 'set'"
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
autocapitalize="off"
|
||||
name="passphrase"
|
||||
ng-model="formData.passphrase"
|
||||
ng-change="checkPassword(formData.passphrase, formData.repeatpassword)"
|
||||
ng-change="checkPassword(formData.passphrase, formData.repeatPassword)"
|
||||
ng-class="{'correct': result == 'correct', 'incorrect': result == 'incorrect'}">
|
||||
</div>
|
||||
|
||||
|
|
@ -113,16 +113,16 @@
|
|||
placeholder="{{'Repeat password'|translate}}"
|
||||
type="password"
|
||||
autocapitalize="off"
|
||||
ng-model="formData.repeatpassword"
|
||||
ng-change="checkPassword(formData.createPassphrase, formData.repeatpassword)"
|
||||
ng-model="formData.repeatPassword"
|
||||
ng-change="checkPassword(formData.createPassphrase, formData.repeatPassword)"
|
||||
ng-class="{'correct': result == 'correct', 'incorrect': result == 'incorrect'}">
|
||||
|
||||
<input ng-show="seedSource.id == 'set'"
|
||||
placeholder="{{'Repeat password'|translate}}"
|
||||
type="password"
|
||||
autocapitalize="off"
|
||||
ng-model="formData.repeatpassword"
|
||||
ng-change="checkPassword(formData.passphrase, formData.repeatpassword)"
|
||||
ng-model="formData.repeatPassword"
|
||||
ng-change="checkPassword(formData.passphrase, formData.repeatPassword)"
|
||||
ng-class="{'correct': result == 'correct', 'incorrect': result == 'incorrect'}">
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue