refactor wallet settings
This commit is contained in:
parent
fb83bbba34
commit
ac7ce0af23
17 changed files with 635 additions and 692 deletions
|
|
@ -1,21 +1,18 @@
|
|||
<div
|
||||
class="topbar-container"
|
||||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Delete Wallet'; goBackToState = 'preferencesAdvanced'">
|
||||
</div>
|
||||
|
||||
<div class="content preferences" ng-controller="preferencesDeleteWalletController">
|
||||
<div class="text-center text-gray m20v size-12">
|
||||
<div class="text-warning size-18 m10b" translate>Warning!</div>
|
||||
<div class="m10" translate>Permanently delete this wallet. THIS ACTION CANNOT BE REVERSED</div>
|
||||
</div>
|
||||
|
||||
<ul class="no-bullet m0">
|
||||
<li ng-click="deleteWallet()">
|
||||
<div class="right" ng-style="{'color':index.backgroundColor}" ng-show="!isDeletingWallet">
|
||||
{{index.walletName}} <span ng-show="index.alias">({{index.alias}})</span>
|
||||
</div>
|
||||
<div translate>Delete wallet</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<ion-view ng-controller="preferencesDeleteWalletController" cache-view="false">
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Delete Wallet</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button" href ui-sref="preferencesAdvanced">
|
||||
<i class="ion-arrow-left-c"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<div translate>Warning!</div>
|
||||
<div translate>Permanently delete this wallet. THIS ACTION CANNOT BE REVERSED</div>
|
||||
<div class="right" ng-style="{'color':index.backgroundColor}" ng-show="!isDeletingWallet">
|
||||
{{index.walletName}}<span ng-show="index.alias">({{index.alias}})</span>
|
||||
</div>
|
||||
<button class="button button-block button-stable" ng-click="deleteWallet()"translate>Delete wallet</button>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue