mirror of https://github.com/BTCPrivate/copay.git
settings form improved
This commit is contained in:
parent
89b3453d4c
commit
bbff716c65
82
index.html
82
index.html
|
@ -591,47 +591,49 @@
|
|||
<script type="text/ng-template" id="settings.html">
|
||||
<div class="settings" ng-controller="SettingsController">
|
||||
<h3>{{title}}</h3>
|
||||
<div class="small-12 medium-6 medium-centered large-6 large-centered columns">
|
||||
<fieldset>
|
||||
<legend>Bitcoin Network</legend>
|
||||
<input id="network-name" type="checkbox" ng-model="networkName" ng-true-value="livenet" ng-false-value="testnet">
|
||||
<label for="network-name">Livenet</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Insight API server</legend>
|
||||
<div class="row">
|
||||
<label for="insight-host">Host</label>
|
||||
<input type="text" ng-model="insightHost">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="insight-port">Port</label>
|
||||
<input type="number" ng-model="insightPort">
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>PeerJS server</legend>
|
||||
<div class="row">
|
||||
<label for="peerjs-key">Key</label>
|
||||
<input type="text" ng-model="networkKey">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="peerjs-host">Host</label>
|
||||
<input type="text" ng-model="networkHost">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="socket-port">Port</label>
|
||||
<input type="number" ng-model="networkPort">
|
||||
</div>
|
||||
</fieldset>
|
||||
</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>
|
||||
<form name="settingsForm">
|
||||
<div class="small-12 medium-6 medium-centered large-6 large-centered columns">
|
||||
<fieldset>
|
||||
<legend>Bitcoin Network</legend>
|
||||
<input id="network-name" type="checkbox" ng-model="networkName" ng-true-value="livenet" ng-false-value="testnet" class="form-control">
|
||||
<label for="network-name">Livenet</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Insight API server</legend>
|
||||
<div class="row">
|
||||
<label for="insight-host">Host</label>
|
||||
<input type="text" ng-model="insightHost" class="form-control" name="insight-host">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="insight-port">Port</label>
|
||||
<input type="number" ng-model="insightPort" class="form-control" name="insight-port">
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>PeerJS server</legend>
|
||||
<div class="row">
|
||||
<label for="peerjs-key">Key</label>
|
||||
<input type="text" ng-model="networkKey" class="form-control" name="peerjs-key">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="peerjs-host">Host</label>
|
||||
<input type="text" ng-model="networkHost" class="form-control" name="peerjs-host">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="peerjs-port">Port</label>
|
||||
<input type="number" ng-model="networkPort" class="form-control" name="peerjs-port">
|
||||
</div>
|
||||
</fieldset>
|
||||
</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>
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue