mirror of https://github.com/BTCPrivate/copay.git
Import and settings
This commit is contained in:
parent
93ad392928
commit
c52b604771
21
css/main.css
21
css/main.css
|
@ -103,7 +103,10 @@ a:hover {
|
||||||
color: #2980b9;
|
color: #2980b9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signin input, .setup input {
|
.signin input,
|
||||||
|
.setup input,
|
||||||
|
.import input,
|
||||||
|
.settings input {
|
||||||
background: #2C3E50 !important;
|
background: #2C3E50 !important;
|
||||||
-moz-box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.10) !important;
|
-moz-box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.10) !important;
|
||||||
box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.10) !important;
|
box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.10) !important;
|
||||||
|
@ -111,7 +114,10 @@ a:hover {
|
||||||
color: #7A8C9E !important;
|
color: #7A8C9E !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signin select, .setup select {
|
.signin select,
|
||||||
|
.setup select,
|
||||||
|
.import select,
|
||||||
|
.settings select {
|
||||||
background: #2C3E50 !important;
|
background: #2C3E50 !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
color: #7A8C9E !important;
|
color: #7A8C9E !important;
|
||||||
|
@ -180,19 +186,24 @@ a:hover {
|
||||||
|
|
||||||
.signin, .setup, .import, .settings {
|
.signin, .setup, .import, .settings {
|
||||||
margin-top: 15%;
|
margin-top: 15%;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.import fieldset {
|
.import fieldset, .settings fieldset {
|
||||||
border: 1px solid #3C5269;
|
border: 1px solid #3C5269;
|
||||||
}
|
}
|
||||||
|
|
||||||
.import fieldset legend {
|
.import fieldset legend, .settings fieldset legend {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.import input[type="file"], .import label, .import label small {
|
.import input[type="file"],
|
||||||
|
.import label,
|
||||||
|
.import label small,
|
||||||
|
.settings label,
|
||||||
|
.settings label small {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ angular.module('copayApp.controllers').controller('SettingsController',
|
||||||
unitToSatoshi: $scope.selectedUnit.value,
|
unitToSatoshi: $scope.selectedUnit.value,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
var target = ($window.location.origin !== 'null' ? $window.location.origin : '') + $window.location.pathname;
|
var target = ($window.location.origin !== 'null' ? $window.location.origin : '') + '/signin';
|
||||||
|
|
||||||
$window.location.href = target;
|
$window.location.href = target;
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<input type="password" class="form-control" placeholder="Your wallet password" name="password" ng-model="password" required>
|
<input type="password" class="form-control" placeholder="Your wallet password" name="password" ng-model="password" required>
|
||||||
|
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<a class="back-button m20r" href="/signin">« Back</a>
|
<a class="back-button text-white m20r" href="/signin">« Back</a>
|
||||||
<button type="submit" class="button primary m0" ng-disabled="importForm.$invalid" loading="Importing">
|
<button type="submit" class="button primary m0" ng-disabled="importForm.$invalid" loading="Importing">
|
||||||
Import backup
|
Import backup
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
<div class="settings" ng-controller="SettingsController">
|
<div class="row settings" ng-controller="SettingsController">
|
||||||
|
<div class="large-4 columns logo-setup text-center">
|
||||||
|
<img src="../img/logo-negative-beta.svg" alt="Copay">
|
||||||
|
</div>
|
||||||
|
<div class="large-8 columns line-dashed-setup-v">
|
||||||
|
<div class="box-setup">
|
||||||
|
<h1 class="text-white line-sidebar-b">{{title}}</h1>
|
||||||
<form name="settingsForm">
|
<form name="settingsForm">
|
||||||
<div class="row">
|
|
||||||
<div class="small-12 medium-8 medium-centered large-6 large-centered columns">
|
|
||||||
<h3>{{title}}</h3>
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Bitcoin Network</legend>
|
<legend>Bitcoin Network</legend>
|
||||||
<input id="network-name" type="checkbox" ng-model="networkName"
|
<input id="network-name" type="checkbox" ng-model="networkName"
|
||||||
|
@ -36,9 +39,12 @@
|
||||||
<label for="insight-secure">Use SSL</label>
|
<label for="insight-secure">Use SSL</label>
|
||||||
|
|
||||||
<p class="small">
|
<p class="small">
|
||||||
Insight API server is open-source software. You can run your own instance, check <a href="http://insight.is" target="_blank">Insight API Homepage</a>
|
Insight API server is open-source software. You can run your own
|
||||||
|
instance, check <a href="http://insight.is" target="_blank">Insight
|
||||||
|
API Homepage</a></p>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>PeerJS server</legend>
|
<legend>PeerJS server</legend>
|
||||||
<label for="peerjs-key">Key</label>
|
<label for="peerjs-key">Key</label>
|
||||||
|
@ -50,22 +56,19 @@
|
||||||
<input id="peerjs-secure" type="checkbox" ng-model="networkSecure" class="form-control">
|
<input id="peerjs-secure" type="checkbox" ng-model="networkSecure" class="form-control">
|
||||||
<label for="peerjs-secure">Use SSL</label>
|
<label for="peerjs-secure">Use SSL</label>
|
||||||
|
|
||||||
|
|
||||||
<p class="small">
|
<p class="small">
|
||||||
PeerJS Server is open-source software. You can run your own instance, or use PeerJS Server cloud. Check <a href="http://peerjs.com" target="_blank">PeerJS Server</a>
|
PeerJS Server is open-source software. You can run your own instance, or use PeerJS Server cloud. Check <a href="http://peerjs.com" target="_blank">PeerJS Server</a>
|
||||||
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
|
||||||
</div>
|
<div class="text-right">
|
||||||
<div class="row">
|
<a class="back-button text-white m20r" href="/signin" ng-hide="$root.wallet">« Back</a>
|
||||||
<div class="large-6 medium-8 small-12 large-centered medium-centered columns">
|
<button type="submit" class="button primary m0 ng-binding" ng-disabled="setupForm.$invalid || loading" disabled="disabled" ng-click="save()">
|
||||||
<div class="line-dashed">
|
|
||||||
<a class="back-button" href="/signin" ng-hide="$root.wallet">« Back</a>
|
|
||||||
<button type="submit" class="button primary radius right ng-binding" ng-disabled="setupForm.$invalid || loading" disabled="disabled" ng-click="save()">
|
|
||||||
Save
|
Save
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue