add message for unchangeable network
This commit is contained in:
parent
1bf20dfe1f
commit
4d70f0cf24
2 changed files with 10 additions and 2 deletions
11
index.html
11
index.html
|
|
@ -845,8 +845,15 @@
|
||||||
<div class="small-12 medium-6 medium-centered large-6 large-centered columns">
|
<div class="small-12 medium-6 medium-centered large-6 large-centered columns">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Bitcoin Network</legend>
|
<legend>Bitcoin Network</legend>
|
||||||
<input id="network-name" type="checkbox" ng-model="networkName" ng-true-value="livenet" ng-false-value="testnet" class="form-control" ng-click="changeNetwork()">
|
<div ng-if="!forceNetwork">
|
||||||
<label for="network-name">Livenet</label>
|
<input id="network-name" type="checkbox" ng-model="networkName"
|
||||||
|
ng-true-value="livenet" ng-false-value="testnet" class="form-control" ng-click="changeNetwork()">
|
||||||
|
<label for="network-name">Livenet</label>
|
||||||
|
</div>
|
||||||
|
<div ng-if="forceNetwork">
|
||||||
|
Network has been fixed to <strong>{{networkName}}</strong> in this setup. See <a href="https://copay.io">copay.io</a>
|
||||||
|
for options to use Copay on both livenet and testnet.
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Wallet Unit</legend>
|
<legend>Wallet Unit</legend>
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ angular.module('copayApp.controllers').controller('SettingsController',
|
||||||
$scope.networkPort = config.network.port;
|
$scope.networkPort = config.network.port;
|
||||||
$scope.networkSecure = config.network.secure || false;
|
$scope.networkSecure = config.network.secure || false;
|
||||||
$scope.disableVideo = typeof config.disableVideo === undefined ? true : config.disableVideo;
|
$scope.disableVideo = typeof config.disableVideo === undefined ? true : config.disableVideo;
|
||||||
|
$scope.forceNetwork = config.forceNetwork;
|
||||||
|
|
||||||
$scope.unitOpts = [{
|
$scope.unitOpts = [{
|
||||||
name: 'Satoshis (100,000,000 satoshis = 1BTC)',
|
name: 'Satoshis (100,000,000 satoshis = 1BTC)',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue