adding wallet id on url
This commit is contained in:
parent
28d9d76f93
commit
965619740b
25 changed files with 82 additions and 75 deletions
|
|
@ -14,7 +14,6 @@
|
|||
<!-- <body ng-cloak class="ng-cloak"> -->
|
||||
<body >
|
||||
|
||||
<ion-nav-bar class="bar-stable"></ion-nav-bar>
|
||||
<ion-nav-view name="main"></ion-nav-view>
|
||||
|
||||
<script src="lib/ionic.bundle.min.js"></script>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<ion-view ng-controller="preferencesController" cache-view="false" ng-init="init()">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Wallet Settings</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button" href ui-sref="walletDetails">
|
||||
<button class="button" href ui-sref="wallet.details">
|
||||
<i class="ion-arrow-left-c"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesController" cache-view="false" ng-init="init()">
|
||||
<div class="list">
|
||||
<div class="item item-divider">
|
||||
Preferences
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<div class="item item-icon-right" href ui-sref="preferencesAlias">
|
||||
<span translate>Wallet Name</span>
|
||||
<span class="item-note">
|
||||
{{index.alias||index.walletName}}
|
||||
{{alias||walletName}}
|
||||
</span>
|
||||
<i class="icon ion-ios-arrow-right"></i>
|
||||
</div>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<div class="item item-icon-right" href ui-sref="preferencesColor">
|
||||
<span ng-style="{'color':index.backgroundColor}">█</span>
|
||||
<span ng-style="{'color': backgroundColor}">█</span>
|
||||
<span translate>Wallet Color</span>
|
||||
<span class="item-note">
|
||||
{{index.alias||index.walletName}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesAbout" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>About Copay</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content>
|
||||
<ion-content ng-controller="preferencesAbout" cache-view="false">
|
||||
<div class="item item-divider">
|
||||
Release information
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesAliasController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Alias</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesAliasController" cache-view="false">
|
||||
<form name="aliasForm" ng-submit="save(aliasForm)" novalidate>
|
||||
<label class="item item-input item-stacked-label">
|
||||
<span class="input-label" transalate>Alias for {{walletName}}</span>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesAltCurrencyController" cache-view="false" ng-init="init()">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Alternative Currency</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content>
|
||||
<ion-content ng-controller="preferencesAltCurrencyController" ng-init="init()" cache-view="false">
|
||||
<ion-radio ng-repeat="altCurrency in altCurrencyList" ng-value="altCurrency.isoCode" ng-model="currentCurrency"
|
||||
ng-click="save(altCurrency)">{{altCurrency.name}}
|
||||
</ion-radio>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesBwsUrlController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Wallet Service URL</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesBwsUrlController" cache-view="false">
|
||||
<form name="settingsBwsUrlForm" ng-submit="save(settingsBwsUrlForm)" novalidate>
|
||||
<label class="item item-input item-stacked-label">
|
||||
<span class="input-label" transalate>Wallet Service URL</span><a ng-click="resetDefaultUrl()" translate> Set default url</a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesColorController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Color</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesColorController" cache-view="false">
|
||||
<ion-radio ng-repeat="c in colorList" ng-value="c" ng-model="currentColor" ng-click="save(c)">
|
||||
<span ng-style="{'color': c}">█</span>
|
||||
</ion-radio>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesDeleteWalletController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Delete Wallet</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesDeleteWalletController" cache-view="false">
|
||||
<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">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesDeleteWordsController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Delete Recovery Phrase</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesDeleteWordsController" cache-view="false">
|
||||
<div ng-show="!deleted">
|
||||
<div ng-show="error">
|
||||
{{error|translate}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesEmailController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Email Notifications</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesEmailController" cache-view="false">
|
||||
<form name="emailForm" ng-submit="save(emailForm)" novalidate>
|
||||
<label class="item item-input item-stacked-label">
|
||||
<span class="input-label" transalate>Email for wallet notifications</span>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesFeeController" cache-view="false" ng-init="init()">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Preferences fee</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content>
|
||||
<ion-content ng-controller="preferencesFeeController" cache-view="false" ng-init="init()">
|
||||
<div ng-show="loading">
|
||||
<ion-spinner class="spinner-dark" icon="lines">Loading...</ion-spinner>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesHistory" cache-view="false" ng-init="index.updatingTxHistory ? null : csvHistory()">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Transaction History</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesHistory" cache-view="false" ng-init="index.updatingTxHistory ? null : csvHistory()">
|
||||
<div class="item item-divider"></div>
|
||||
<div class="item" ng-show="csvReady && !index.isCordova" ng-csv="csvContent" csv-header="csvHeader" filename="Copay-{{index.alias || index.walletName}}.csv">
|
||||
<span translate>Export to file</span>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<ion-view ng-controller="preferencesInformation" cache-view="false" ng-init="init()">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Wallet Information</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="preferencesInformation" cache-view="false" ng-init="init()">
|
||||
<div class="list">
|
||||
<div class="item item-divider">
|
||||
Wallet Information
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesLanguageController" ng-init="init()" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Languages</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content>
|
||||
<ion-content ng-controller="preferencesLanguageController" ng-init="init()" cache-view="false">
|
||||
<ion-radio ng-repeat="lang in availableLanguages" ng-value="lang.isoCode" ng-model="currentLanguage"
|
||||
ng-click="save(lang.isoCode)">{{lang.name}}
|
||||
</ion-radio>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesLogs" ng-init="init()" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Session log</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content>
|
||||
<ion-content ng-controller="preferencesLogs" ng-init="init()" cache-view="false">
|
||||
<button ng-show="isCordova" ng-click="logs.sendLogs()"><i class="fi-mail"></i>
|
||||
<span translate>Send by email</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="preferencesUnitController" ng-init="init()" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Unit</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar class="bar-stable">
|
||||
<ion-content>
|
||||
<ion-content ng-controller="preferencesUnitController" ng-init="init()" cache-view="false">
|
||||
<ion-radio ng-repeat="unit in unitList" ng-value="unit.code" ng-model="currentUnit"
|
||||
ng-click="save(unit)">{{unit.shortName}}
|
||||
</ion-radio>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
|
||||
<ion-view view-title="Home">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Home</ion-nav-title>
|
||||
</ion-nav-bar>
|
||||
<ion-content class="padding home" ng-controller="tabHomeController">
|
||||
<a href="#/add"><i class="ion-ios-plus-outline right"></i></a>
|
||||
<h2>Wallets </h2>
|
||||
|
|
@ -8,7 +11,7 @@
|
|||
|
||||
<li ng-show="wallets[0]"
|
||||
ng-repeat="item in wallets track by $index" class="item item-icon-left"
|
||||
menu-toggle href ui-sref="walletDetails({'walletId': item.id})">
|
||||
menu-toggle href ui-sref="wallet.details({'walletId': item.id})">
|
||||
<i class="icon ion-briefcase size-21" ng-style="{'color':item.color}"></i>
|
||||
{{item.name || item.id}}
|
||||
<span ng-show="item.n > 1" class="text-gray">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<ion-view ng-controller="tabReceiveController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-title>Receive</ion-nav-title>
|
||||
<ion-content ng-init="init()">
|
||||
<ion-content ng-controller="tabReceiveController" ng-init="init()" cache-view="false">
|
||||
|
||||
<div class="text-center m30v" ng-click="copyToClipboard(addr, $event)" ng-show="addr" >
|
||||
<qrcode size="220" data="bitcoin:{{addr}}" ng-show="addr"></qrcode>
|
||||
|
|
@ -34,7 +34,7 @@ Error: {{addrError}}
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div ng-show="!incomplete">
|
||||
<div class="item item-icon-left" ng-click="shareAddress(addr)" ng-show="isCordova && addr" ng-disabled="generatingAddress">
|
||||
<i class="icon ion-ios-upload-outline"></i>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<ion-view ng-controller="tabSettingsController" cache-view="false" ng-init="init()">
|
||||
<ion-view>
|
||||
<ion-nav-title>Global Settings</ion-nav-title>
|
||||
<ion-content class="has-header">
|
||||
<ion-content class="has-header" ng-controller="tabSettingsController" cache-view="false" ng-init="init()">
|
||||
<div class="item item-divider">
|
||||
</div>
|
||||
<div class="list">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view ng-controller="termOfUseController" cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Terms of Use</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content>
|
||||
<ion-content ng-controller="termOfUseController" cache-view="false">
|
||||
<p>
|
||||
<div ng-include="'views/includes/terms.html'"></div>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view cache-view="false">
|
||||
<ion-view>
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>Translators</ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
|
|||
|
|
@ -1,19 +1,21 @@
|
|||
|
||||
|
||||
<ion-view ng-controller="walletDetailsController">
|
||||
<ion-nav-bar class="bar-stable">
|
||||
<ion-nav-title>{{wallet.name}}</ion-nav-title>
|
||||
|
||||
<ion-nav-title>{{wallet.name}}</ion-nav-title>
|
||||
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button" href ui-sref="tabs.home">
|
||||
<i class="ion-arrow-left-c"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button class="button button-icon icon ion-ios-settings" href ui-sref="preferences"></button>
|
||||
</ion-nav-buttons>
|
||||
<ion-nav-buttons side="primary">
|
||||
<button class="button" href ui-sref="tabs.home">
|
||||
<i class="ion-arrow-left-c"></i> Back
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button class="button button-icon icon ion-ios-settings" href ui-sref="wallet.preferences"></button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content delegate-handle="my-handle" overflow-scroll="true">
|
||||
<button class="button button-icon icon ion-ios-settings" href ui-sref="wallet.preferences"></button>
|
||||
|
||||
<div ng-show="!wallet">
|
||||
No Wallet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue