UX: Import with the same style than the other pages.
This commit is contained in:
parent
fcdaddd358
commit
89b476e00f
1 changed files with 31 additions and 46 deletions
|
|
@ -6,31 +6,29 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-show="!loading">
|
<div ng-show="!loading">
|
||||||
<div class="large-4 large-centered medium-6 medium-centered columns">
|
<div class="large-4 large-centered medium-6 medium-centered columns">
|
||||||
<div class="logo-setup">
|
<div class="logo-setup">
|
||||||
<img src="img/logo-negative-beta.svg" alt="Copay" width="146" height="59">
|
<img src="img/logo-negative-beta.svg" alt="Copay" width="146" height="59">
|
||||||
<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">
|
||||||
<i class="fi-x"></i>
|
<i class="fi-x"></i>
|
||||||
{{error|translate}}
|
{{error|translate}}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<div ng-show="!is_iOS">
|
|
||||||
<legend for="backupFile" class="m10b">
|
|
||||||
<span translate>Choose backup file</span>
|
|
||||||
</legend>
|
|
||||||
<input type="file" class="form-control"
|
|
||||||
placeholder="{{'Select a backup file'|translate}}" name="backupFile" ng-model="backupFile" ng-file-select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div ng-show="is_iOS">
|
<div ng-show="!is_iOS">
|
||||||
|
<legend for="backupFile" class="m10b">
|
||||||
|
<span translate>Choose backup file</span>
|
||||||
|
</legend>
|
||||||
|
<input type="file" class="form-control"
|
||||||
|
placeholder="{{'Select a backup file'|translate}}" name="backupFile" ng-model="backupFile" ng-file-select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div ng-show="is_iOS">
|
||||||
<label for="backupText" class="m10b">
|
<label for="backupText" class="m10b">
|
||||||
<span translate>Paste backup plain text code</span> <i class="fi-clipboard"></i>
|
<span translate>Paste backup plain text code</span> <i class="fi-clipboard"></i>
|
||||||
</label>
|
</label>
|
||||||
|
|
@ -38,38 +36,25 @@
|
||||||
name="backupText"
|
name="backupText"
|
||||||
ng-model="backupText"
|
ng-model="backupText"
|
||||||
rows="5"></textarea>
|
rows="5"></textarea>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<label for="password" class="m10b"><span translate>Password</span> <small translate>Required</small></label>
|
|
||||||
<input type="password" class="form-control"
|
|
||||||
placeholder="{{'Your wallet password'|translate}}" name="password" ng-model="password" required>
|
|
||||||
|
|
||||||
<div class="text-right m20t">
|
|
||||||
<a class="back-button text-white m20r" href="#!/">« <span translate>Back</span></a>
|
|
||||||
<button translate type="submit" class="button primary m0" ng-disabled="importForm.$invalid">
|
|
||||||
Import backup
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<input type="password" class="form-control"
|
||||||
|
placeholder="{{'Your wallet password'|translate}}" name="password" ng-model="password" required>
|
||||||
|
|
||||||
|
<button translate type="submit"
|
||||||
|
class="button primary radius expand m0"
|
||||||
|
ng-disabled="importProfileForm.$invalid || loading">
|
||||||
|
Import backup
|
||||||
|
</button>
|
||||||
</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>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue