UX: Import with the same style than the other pages.

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-17 00:37:58 -03:00
commit 89b476e00f

View file

@ -12,8 +12,7 @@
<div ng-include="'views/includes/version.html'"></div> <div ng-include="'views/includes/version.html'"></div>
</div> </div>
<div class="box-setup"> <div class="box-setup">
<h1><span translate>Import Profile<span></h1> <h1 translate>Import Profile</h1>
<form name="importProfileForm" ng-submit="import(importProfileForm)" novalidate> <form name="importProfileForm" ng-submit="import(importProfileForm)" novalidate>
<p class="text-warning size-12" <p class="text-warning size-12"
ng-show="error"> ng-show="error">
@ -21,7 +20,6 @@
{{error|translate}} {{error|translate}}
</p> </p>
<div ng-show="!is_iOS"> <div ng-show="!is_iOS">
<legend for="backupFile" class="m10b"> <legend for="backupFile" class="m10b">
<span translate>Choose backup file</span> <span translate>Choose backup file</span>
@ -40,36 +38,23 @@
rows="5"></textarea> rows="5"></textarea>
</div> </div>
<label for="password" class="m10b"><span translate>Password</span> <small translate>Required</small></label>
<input type="password" class="form-control" <input type="password" class="form-control"
placeholder="{{'Your wallet password'|translate}}" name="password" ng-model="password" required> placeholder="{{'Your wallet password'|translate}}" name="password" ng-model="password" required>
<div class="text-right m20t"> <button translate type="submit"
<a class="back-button text-white m20r" href="#!/">&laquo; <span translate>Back</span></a> class="button primary radius expand m0"
<button translate type="submit" class="button primary m0" ng-disabled="importForm.$invalid"> ng-disabled="importProfileForm.$invalid || loading">
Import backup Import backup
</button> </button>
</div>
</form> </form>
<div class="box-setup-footer"> <div class="box-setup-footer">
<div class="right m10t">
<a class="text-gray" href="#!/"> <a class="text-gray" href="#!/">
<i class="fi-arrow"></i> <i class="fi-arrow-left"></i>
<span translate>Back</span> <span translate>Back</span>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>