mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #384 from colkito/fix/peerjs-settings
settings form improved
This commit is contained in:
commit
ff00d5f4f2
82
index.html
82
index.html
|
@ -591,47 +591,49 @@
|
||||||
<script type="text/ng-template" id="settings.html">
|
<script type="text/ng-template" id="settings.html">
|
||||||
<div class="settings" ng-controller="SettingsController">
|
<div class="settings" ng-controller="SettingsController">
|
||||||
<h3>{{title}}</h3>
|
<h3>{{title}}</h3>
|
||||||
<div class="small-12 medium-6 medium-centered large-6 large-centered columns">
|
<form name="settingsForm">
|
||||||
<fieldset>
|
<div class="small-12 medium-6 medium-centered large-6 large-centered columns">
|
||||||
<legend>Bitcoin Network</legend>
|
<fieldset>
|
||||||
<input id="network-name" type="checkbox" ng-model="networkName" ng-true-value="livenet" ng-false-value="testnet">
|
<legend>Bitcoin Network</legend>
|
||||||
<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">
|
||||||
</fieldset>
|
<label for="network-name">Livenet</label>
|
||||||
<fieldset>
|
</fieldset>
|
||||||
<legend>Insight API server</legend>
|
<fieldset>
|
||||||
<div class="row">
|
<legend>Insight API server</legend>
|
||||||
<label for="insight-host">Host</label>
|
<div class="row">
|
||||||
<input type="text" ng-model="insightHost">
|
<label for="insight-host">Host</label>
|
||||||
</div>
|
<input type="text" ng-model="insightHost" class="form-control" name="insight-host">
|
||||||
<div class="row">
|
</div>
|
||||||
<label for="insight-port">Port</label>
|
<div class="row">
|
||||||
<input type="number" ng-model="insightPort">
|
<label for="insight-port">Port</label>
|
||||||
</div>
|
<input type="number" ng-model="insightPort" class="form-control" name="insight-port">
|
||||||
</fieldset>
|
</div>
|
||||||
<fieldset>
|
</fieldset>
|
||||||
<legend>PeerJS server</legend>
|
<fieldset>
|
||||||
<div class="row">
|
<legend>PeerJS server</legend>
|
||||||
<label for="peerjs-key">Key</label>
|
<div class="row">
|
||||||
<input type="text" ng-model="networkKey">
|
<label for="peerjs-key">Key</label>
|
||||||
</div>
|
<input type="text" ng-model="networkKey" class="form-control" name="peerjs-key">
|
||||||
<div class="row">
|
</div>
|
||||||
<label for="peerjs-host">Host</label>
|
<div class="row">
|
||||||
<input type="text" ng-model="networkHost">
|
<label for="peerjs-host">Host</label>
|
||||||
</div>
|
<input type="text" ng-model="networkHost" class="form-control" name="peerjs-host">
|
||||||
<div class="row">
|
</div>
|
||||||
<label for="socket-port">Port</label>
|
<div class="row">
|
||||||
<input type="number" ng-model="networkPort">
|
<label for="peerjs-port">Port</label>
|
||||||
</div>
|
<input type="number" ng-model="networkPort" class="form-control" name="peerjs-port">
|
||||||
</fieldset>
|
</div>
|
||||||
</div>
|
</fieldset>
|
||||||
<div class="row">
|
|
||||||
<div class="large-12 columns line-dashed">
|
|
||||||
<button type="submit" class="button primary radius right ng-binding" ng-disabled="setupForm.$invalid || loading" disabled="disabled" ng-click="save()">
|
|
||||||
Save
|
|
||||||
</button>
|
|
||||||
<a class="button secondary radius" href="#signin" ng-hide="$root.wallet">Signin</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="row">
|
||||||
|
<div class="large-12 columns line-dashed">
|
||||||
|
<button type="submit" class="button primary radius right ng-binding" ng-disabled="setupForm.$invalid || loading" disabled="disabled" ng-click="save()">
|
||||||
|
Save
|
||||||
|
</button>
|
||||||
|
<a class="button secondary radius" href="#signin" ng-hide="$root.wallet">Signin</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue