2016-09-06 11:11:02 -07:00
|
|
|
<form name="importForm" ng-submit="importBlob(importForm)" novalidate>
|
2016-10-12 22:31:15 -07:00
|
|
|
<div class="list settings-list settings-input-group">
|
2016-09-06 11:11:02 -07:00
|
|
|
<label class="item item-input item-stacked-label no-border" ng-show="!isSafari && !isCordova">
|
|
|
|
<div class="input-label" translate>Choose a backup file from your computer</div>
|
|
|
|
<div>
|
|
|
|
<input type="file"
|
|
|
|
placeholder="{{'Select a backup file'|translate}}"
|
|
|
|
ng-model="formData.backupFile" ng-file-select>
|
2016-08-19 12:16:24 -07:00
|
|
|
</div>
|
2016-09-06 11:11:02 -07:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="item item-input item-stacked-label" ng-show="isSafari || isCordova">
|
|
|
|
<span class="input-label" translate>Paste the backup plain text code</span>
|
|
|
|
<textarea ng-model="formData.backupText" rows="5"></textarea>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="item item-input item-stacked-label">
|
|
|
|
<span class="input-label" translate>Password</span>
|
|
|
|
<input type="password"
|
|
|
|
placeholder="{{'Your password'|translate}}"
|
|
|
|
ng-model="formData.password">
|
|
|
|
</label>
|
|
|
|
|
2016-10-12 13:43:23 -07:00
|
|
|
<div class="item item-divider"></div>
|
|
|
|
|
|
|
|
<a class="item" ng-click="showAdvChange()">
|
2016-09-06 11:11:02 -07:00
|
|
|
<span translate ng-show="!showAdv">Show advanced options</span>
|
|
|
|
<span translate ng-show="showAdv">Hide advanced options</span>
|
2016-10-12 13:43:23 -07:00
|
|
|
</a>
|
2016-09-06 11:11:02 -07:00
|
|
|
|
|
|
|
<div ng-show="showAdv">
|
|
|
|
<label class="item item-input item-stacked-label">
|
|
|
|
<span class="input-label">Wallet Service URL</span>
|
|
|
|
<input type="text" ng-model="formData.bwsurl">
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-10-11 20:23:54 -07:00
|
|
|
<button type="submit" class="button button-standard button-primary" ng-disabled="importForm.$invalid || !formData.password" translate>
|
2016-09-06 11:11:02 -07:00
|
|
|
Import backup
|
|
|
|
</button>
|
|
|
|
</form>
|