+ indicators for future use
! check for error in syncing - consoloe.log line
This commit is contained in:
35
assets/styles/indicators.css
Normal file
35
assets/styles/indicators.css
Normal file
@@ -0,0 +1,35 @@
|
||||
.led-red {
|
||||
margin: 20px auto;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: #940;
|
||||
border-radius: 50%;
|
||||
box-shadow: #000 0 -1px 7px 1px, inset #600 0 -1px 9px, #F00 0 2px 12px;
|
||||
}
|
||||
|
||||
.led-yellow {
|
||||
margin: 20px auto;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: #A90;
|
||||
border-radius: 50%;
|
||||
box-shadow: #000 0 -1px 7px 1px, inset #660 0 -1px 9px, #DD0 0 2px 12px;
|
||||
}
|
||||
|
||||
.led-green {
|
||||
margin: 20px auto;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: #690;
|
||||
border-radius: 50%;
|
||||
box-shadow: #000 0 -1px 7px 1px, inset #460 0 -1px 9px, #7D0 0 2px 12px;
|
||||
}
|
||||
|
||||
.led-blue {
|
||||
margin: 20px auto;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: #4AB;
|
||||
border-radius: 50%;
|
||||
box-shadow: #000 0 -1px 7px 1px, inset #006 0 -1px 9px, #06F 0 2px 14px;
|
||||
}
|
||||
@@ -10,6 +10,7 @@
|
||||
<link rel="stylesheet" href="./assets/styles/iziToast.min.css">
|
||||
<link rel="stylesheet" href="./assets/styles/transactions.css">
|
||||
<link rel="stylesheet" href="./assets/styles/please-wait.css">
|
||||
<link rel="stylesheet" href="./assets/styles/indicators.css">
|
||||
<link rel="stylesheet" href="./assets/styles/all.min.css">
|
||||
<link rel="stylesheet" href="./assets/styles/spinner.css">
|
||||
<link rel="stylesheet" href="./assets/styles/buttons.css">
|
||||
|
||||
@@ -55,7 +55,6 @@ class MainGUI {
|
||||
|
||||
$("#btnGeneralConfirmYes").click(function() {
|
||||
$('#dlgGeneralConfirm').iziModal('close');
|
||||
console.log(true);
|
||||
callback(true);
|
||||
});
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ function StartSyncProcess() {
|
||||
nodeSyncInterval = setInterval(function()
|
||||
{
|
||||
web3Local.eth.getBlock("latest", function(error, localBlock) {
|
||||
if (!error) {
|
||||
if (localBlock.number > 0) {
|
||||
if (!EthoTransactions.getIsSyncing()) {
|
||||
SyncProgress.animate(1);
|
||||
@@ -74,6 +75,7 @@ function StartSyncProcess() {
|
||||
$(document).trigger("onSyncComplete");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 10000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user