copay/public/views/importLegacy.html

69 lines
2.6 KiB
HTML
Raw Normal View History

2015-05-16 20:34:26 -07:00
<div
class="topbar-container"
2015-05-08 05:35:33 -07:00
ng-include="'views/includes/topbar.html'"
2015-05-13 07:58:19 -07:00
ng-init="titleSection='Import legacy wallet'; goBackToState = 'import'; noColor = true">
2015-05-08 05:35:33 -07:00
</div>
2015-04-23 22:17:54 -07:00
<div class="content p20v" ng-controller="importLegacyController as importLegacy">
2015-03-06 07:00:10 -08:00
<div class="row m20t">
2015-05-21 13:25:14 -07:00
<div class="large-12 columns">
<div ng-show="importLegacy.importing">
<h1 class="m20b animated infinite flash" translate>Importing...</h1>
<ul>
<li ng-repeat="m in importLegacy.messages">
<span ng-style="{'opacity':m.opacity}">{{m.message|translate}}</span>
</ul>
</div>
2015-03-06 07:00:10 -08:00
2015-05-21 13:25:14 -07:00
<div class="box-notification" ng-show="importLegacy.error">
<span class="text-warning size-14">
{{importLegacy.error|translate}}
</span>
</div>
2015-03-06 07:00:10 -08:00
2015-05-21 13:25:14 -07:00
<div ng-show="!importLegacy.importing">
2015-03-06 07:00:10 -08:00
<form name="importForm" ng-submit="importLegacy.import(importForm)" novalidate>
<label for="fromCloud" class="line-b oh m20b">
<span translate>Import from the Cloud?</span>
<switch id="fromCloud" name="fromCloud" ng-model="importLegacy.fromCloud" class="green right m5t m10b"></switch>
</label>
<label for="username">
2015-09-17 06:53:27 -07:00
<span ng-show="importLegacy.fromCloud" translate>Email</span>
<span ng-show="!importLegacy.fromCloud" translate>Username</span>
<input type="text" class="form-control"
placeholder="{{importLegacy.fromCloud ? ('Email'|translate): ('Username'|translate)}}"
2015-05-07 07:30:32 -07:00
name="username" ng-model="importLegacy.username" autocapitalize="off" required>
2015-03-06 07:00:10 -08:00
</label>
<label for="password">
<span translate>Password</span>
<input type="password" class="form-control" placeholder="{{'Your profile password'|translate}}"
name="password" ng-model="importLegacy.password" required>
</label>
<label for="server" ng-show="importLegacy.fromCloud">
<span translate>Server</span>
<input type="text" class="form-control" placeholder="{{'Server URL'}}"
name="server" ng-model="importLegacy.server" required>
</label>
2015-05-16 20:34:26 -07:00
<button translate type="submit"
class="button black round expand m0"
2015-05-21 13:25:14 -07:00
ng-disabled="importForm.$invalid">
2015-05-16 20:34:26 -07:00
Import
2015-03-06 07:00:10 -08:00
</button>
</form>
2015-05-21 13:25:14 -07:00
<div class="text-center p20v">
<a class="m20t tiny button outline round light-gray " ng-click="$root.openExternalLink('https://github.com/bitpay/copay/releases/tag/v0.10.0')" translate>
Learn more about Wallet Migration
</a>
</div>
2015-04-16 06:22:57 -07:00
2015-03-06 07:00:10 -08:00
</div>
</div>
2015-05-21 13:25:14 -07:00
</div>
2015-03-06 07:00:10 -08:00
</div>