Mon Aug 26 14:20:28 CST 2019 Source Update...
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
|
||||
|
||||
<script>
|
||||
var WasInitCurrency=0;
|
||||
var CONFIG_DATA={}; CONFIG_DATA.CONSTANTS={};
|
||||
var ServerBlockNumDB=0;
|
||||
var ServerCurBlockNum=0;
|
||||
@@ -453,6 +454,12 @@
|
||||
SetBlockChainConstant(Data);
|
||||
MaxBlockNum=GetCurrentBlockNumByTime();
|
||||
|
||||
|
||||
window.NETWORK_NAME=CONFIG_DATA.NETWORK;
|
||||
if(!WasInitCurrency)
|
||||
FillCurrencyAsync("idCurrency");
|
||||
WasInitCurrency=1;
|
||||
|
||||
var StrVersion=" 0."+Data.VersionNum;
|
||||
if(Data.CODE_VERSION.VersionNum && Data.VersionNum<Data.CODE_VERSION.VersionNum)
|
||||
{
|
||||
@@ -619,7 +626,6 @@
|
||||
|
||||
DrawBlockInfo();
|
||||
|
||||
|
||||
}
|
||||
|
||||
function SetVisibleBtOpenWallet()
|
||||
@@ -1414,7 +1420,7 @@
|
||||
|
||||
<body>
|
||||
<DIV align='center'>
|
||||
<DIV align='left' style="width: 800px;border2: 1px solid #727473;">
|
||||
<DIV align='left' style="width: 800px;border2: 1px solid #727473;">
|
||||
|
||||
<table id="TabHeader">
|
||||
<tr>
|
||||
@@ -1514,91 +1520,75 @@
|
||||
|
||||
|
||||
<DIV>
|
||||
<DIV id="edit_mining_set" style="display: none">
|
||||
<table class="form_input keys" id="grid_mining_set">
|
||||
<tr>
|
||||
<td><DIV>Mining account:</DIV></td><td><INPUT type="number" id="idMiningAccount" min=0 max=1000000000000 value="0"></td>
|
||||
</tr>
|
||||
<DIV id="edit_mining_set" style="display: none">
|
||||
<table class="form_input keys" id="grid_mining_set">
|
||||
<tr>
|
||||
<td><DIV>Mining account:</DIV></td><td><INPUT type="number" id="idMiningAccount" min=0 max=1000000000000 value="0"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="SaveMiningSet()" class="bt" value="Save">
|
||||
<INPUT type="button" onclick="CancalMiningSet()" class="bt" value="Cancel"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</DIV>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="SaveMiningSet()" class="bt" value="Save">
|
||||
<INPUT type="button" onclick="CancalMiningSet()" class="bt" value="Cancel"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</DIV>
|
||||
|
||||
<DIV id="edit_keys" style="display: none">
|
||||
<table class="form_input keys" id="grid_edit_key">
|
||||
<tr>
|
||||
<td>
|
||||
<select size="1" id="idTypeKey" onkeyup="SelectTypeKey();" onchange="SelectTypeKey();">
|
||||
<option value="private">Private key</option>
|
||||
<option value="public">Public key (sign from another wallet)</option>
|
||||
<option value="brain">Brain key generator</option>
|
||||
</select>
|
||||
</td><td><INPUT type="string" autocomplete="off" id="idKeyNew" value=""></td>
|
||||
</tr>
|
||||
<tr id="idViewKeyNew2" style="display: none">
|
||||
<td>You can repeat the secret words:</td>
|
||||
<td><INPUT type="string" id="idKeyNew2" value=""></td>
|
||||
</tr>
|
||||
<DIV id="edit_keys" style="display: none">
|
||||
<table class="form_input keys" id="grid_edit_key">
|
||||
<tr>
|
||||
<td>
|
||||
<select size="1" id="idTypeKey" onkeyup="SelectTypeKey();" onchange="SelectTypeKey();">
|
||||
<option value="private">Private key</option>
|
||||
<option value="public">Public key (sign from another wallet)</option>
|
||||
<option value="brain">Brain key generator</option>
|
||||
</select>
|
||||
</td><td><INPUT type="string" autocomplete="off" id="idKeyNew" value=""></td>
|
||||
</tr>
|
||||
<tr id="idViewKeyNew2" style="display: none">
|
||||
<td>You can repeat the secret words:</td>
|
||||
<td><INPUT type="string" id="idKeyNew2" value=""></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<INPUT type="button" onclick="ConvertToPrivateKey()" class="btdoit bt" style="width: 130px;display: none;" id="idBtConvertKey" value="Convert to key">
|
||||
<INPUT type="button" onclick="SavePrivateKey()" class="bt" id="idBtSaveKey" value="Save">
|
||||
<INPUT type="button" onclick="CancelSavePrivateKey()" class="bt" value="Cancel">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</DIV>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<INPUT type="button" onclick="ConvertToPrivateKey()" class="btdoit bt" style="width: 130px;display: none;" id="idBtConvertKey" value="Convert to key">
|
||||
<INPUT type="button" onclick="SavePrivateKey()" class="bt" id="idBtSaveKey" value="Save">
|
||||
<INPUT type="button" onclick="CancelSavePrivateKey()" class="bt" value="Cancel">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</DIV>
|
||||
|
||||
<DIV id="idAccountEdit" style="display: none">
|
||||
<table class="form_input keys" id="grid_edit_newacc">
|
||||
<tr>
|
||||
<td><DIV>Public name:</DIV></td>
|
||||
<td>
|
||||
<INPUT type="string" maxlength="40" autocomplete="off" id="idAccountName" onkeyup="CheckLengthAccDesription('idAccountName',40)" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<!--<tr>-->
|
||||
<!--<td>-->
|
||||
<!--<DIV>Adviser:</DIV></td><td><INPUT type="number" id="idAdviser" min=0 max=1000000000000 value="0">-->
|
||||
<!--</td>-->
|
||||
<!--</tr>-->
|
||||
<DIV id="idAccountEdit" class="" style="display: none">
|
||||
<table class="form_input keys" id="grid_edit_newacc">
|
||||
<tr><td>Public name:</td>
|
||||
<td>
|
||||
<INPUT type="string" maxlength="40" style="width: 220px;text-align: left" autocomplete="off" id="idAccountName" onkeyup="CheckLengthAccDesription('idAccountName',40)">
|
||||
Currency:
|
||||
<select size="1" id="idCurrency" style="width: 80px;">
|
||||
<option value="0">Loading...</option>
|
||||
</select>
|
||||
Smart:
|
||||
<INPUT type="number" id="idSmart" min=0 max=100000000 value="0" style="width: 80px;">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Currency:</DIV></td><td><INPUT type="number" id="idCurrency" min=0 max=1000000000 value="0">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Smart:</DIV></td><td><INPUT type="number" id="idSmart" min=0 max=1000000000 value="0">
|
||||
</td>
|
||||
</tr>
|
||||
<!--<tr>-->
|
||||
<!--<td></td><td><INPUT type="checkbox" checked id="idAutoSetMining">Mining on this account</td>-->
|
||||
<!--</tr>-->
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td><INPUT type="button" onclick="CreateAccount(0)" class="bt" value="Create">
|
||||
<INPUT type="button" onclick="CancelCreateAccount()" class="bt" value="Cancel">
|
||||
<INPUT type="button" onclick="CreateAccount(1)" class="bt btdoit" style="width: 130px;" id="idBtRun" value="Add to Pay list">
|
||||
</td>
|
||||
<td>
|
||||
<span id="idRowWN" style="display: none;">WN:<INPUT type="number" id="idWN" min=0 max=100 style="width: 30px;" value=""></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr id="idRowWN" style="display: none">
|
||||
<td>
|
||||
<DIV>Wallet number:</DIV></td><td><INPUT type="number" id="idWN" min=0 max=100 value="0">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="CreateAccount(0)" class="bt" value="Create">
|
||||
<INPUT type="button" onclick="CancelCreateAccount()" class="bt" value="Cancel">
|
||||
<INPUT type="button" onclick="CreateAccount(1)" class="bt btdoit" style="width: 130px;" id="idBtRun" value="Add to Pay list">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</DIV>
|
||||
</table>
|
||||
</DIV>
|
||||
</DIV>
|
||||
|
||||
|
||||
@@ -2071,7 +2061,6 @@
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
</DIV>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user