This commit is contained in:
Matias Alejo Garcia 2014-12-07 14:16:10 -03:00
commit 9690e98162
2 changed files with 70 additions and 69 deletions

3
js/services/isCordova.js Normal file
View file

@ -0,0 +1,3 @@
'use strict';
angular.module('copayApp.services').value('isCordova', window.cordova ? true : false);

View file

@ -48,7 +48,7 @@
<h2 ng-if="useLocalstorage"> Creating on this device </h2> <h2 ng-if="useLocalstorage"> Creating on this device </h2>
<h2 ng-if="!useLocalstorage"> Creating in the cloud </h2> <h2 ng-if="!useLocalstorage"> Creating in the cloud </h2>
<div class="text-gray text-center m20b"> {{userOrEmail}} </div> <div class="text-gray text-center m20b">{{userOrEmail}}</div>
</div> </div>
<div class="box-notification" ng-show="error"> <div class="box-notification" ng-show="error">
@ -65,7 +65,8 @@
<tabset> <tabset>
<tab style="width: 50%;" select="selectStorage('remote')"> <tab style="width: 50%;" select="selectStorage('remote')">
<tab-heading> <tab-heading>
<span class="text-bold">In the Cloud </span><br> <span class="text-bold">In the Cloud </span>
<br>
<span class="size-10 text-gray">( Recommended )</span> <span class="size-10 text-gray">( Recommended )</span>
</tab-heading> </tab-heading>
<div class="content-item"> <div class="content-item">
@ -86,7 +87,7 @@
</tab> </tab>
<tab style="width: 50%;" select="selectStorage('local')"> <tab style="width: 50%;" select="selectStorage('local')">
<tab-heading> <tab-heading>
<div class="m5t text-bold">On this Device </div> <div class="m5t text-bold">On this Device</div>
</tab-heading> </tab-heading>
<div class="content-item"> <div class="content-item">
<div class="bg-circle"><i class="icon-locked"></i> <div class="bg-circle"><i class="icon-locked"></i>
@ -119,8 +120,7 @@
</a> </a>
</div> </div>
<div class="right"> <div class="right">
<a class="text-gray" href="https://copay.io/profile-storage" <a class="text-gray" href="https://copay.io/profile-storage" <span translate>Learn more about this option</span>
<span translate>Learn more about this option</span>
</a> </a>
</div> </div>
@ -140,7 +140,8 @@
</div> </div>
</span> </span>
<div class="" ng-show="!emailForm.email.$invalid && <div class="" ng-show="!emailForm.email.$invalid &&
!emailForm.email.$pristine"><i class="fi-check"></i></div> !emailForm.email.$pristine"><i class="fi-check"></i>
</div>
</div> </div>
</div> </div>
@ -151,9 +152,7 @@
<button translate type="submit" class="button primary radius expand m0" ng-disabled="(useEmail && emailForm.email.$invalid) || (!useEmail && emailForm.username.$invalid)"> <button translate type="submit" class="button primary radius expand m0" ng-disabled="(useEmail && emailForm.email.$invalid) || (!useEmail && emailForm.username.$invalid)">
Next Next
</button </button>
>
<div class="box-setup-footer"> <div class="box-setup-footer">
<div class="left"> <div class="left">
<a class="text-gray" ng-click="setStep('storage')"> <a class="text-gray" ng-click="setStep('storage')">
@ -183,7 +182,8 @@
</div> </div>
</span> </span>
<div class="" ng-show="passForm.repeatpassword.$dirty && <div class="" ng-show="passForm.repeatpassword.$dirty &&
!passForm.repeatpassword.$invalid"><i class="fi-check"></i></div> !passForm.repeatpassword.$invalid"><i class="fi-check"></i>
</div>
</div> </div>
</div> </div>
@ -205,9 +205,8 @@
</div> </div>
<div class="large-4 large-centered medium-6 medium-centered columns m20b" ng-show="!loading && askForPin"> <div class="large-4 large-centered medium-6 medium-centered columns m20b" ng-show="!loading && askForPin">
<div class="box-setup"> <h2><span translate>Set up a </span> <b> PIN </b>?</h2>
<h1><span translate>Set up a </span> <b> PIN </b>?</h1> <p class="size-14 text-gray">Enter a 4-digit number for easier access from this device</p>
<p class="size-14">Enter a 4-digit number for easier access from this device</p>
<div class="box-notification" ng-show="error"> <div class="box-notification" ng-show="error">
<div class="box-icon error"> <div class="box-icon error">
@ -244,7 +243,6 @@
</form> </form>
</div> </div>
</div>
</div> </div>