forked from circlecloud/tera
162
src/HTML/123
162
src/HTML/123
@@ -1,162 +0,0 @@
|
||||
<EFBFBD>ࠢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<><E4A0A9><EFBFBD> mobile-wallet.html <20> _MOBILE-WALLET.HTML
|
||||
***** mobile-wallet.html
|
||||
<a onclick="SelectTab('TabWelcome')" class="header__logo-link" id="MTabWelcome">
|
||||
<!--<img src="./PIC/Tera_logo2.svg" alt="Tera logo" height="25" width="104">-->
|
||||
<svg width="104" height="25" viewBox="0 0 105 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<a onclick="SelectTab('TabWelcome')" class="header__logo-link" id="MTabWelcome">
|
||||
|
||||
<svg width="104" height="25" viewBox="0 0 105 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<div class="welcome__img">
|
||||
<svg class="mobile" id="tera-logo" height="126" width="130" fill="#445368" xmlns="http://www.w3.org/2000/svg" viewB
|
||||
ox="0 0 992.13 992.13">
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<div class="welcome__img">
|
||||
<svg class="mobile" id="tera-logo" height="104" width="107" fill="#445368" xmlns="http://www.w3.org/2000/svg" viewB
|
||||
ox="0 0 992.13 992.13">
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
|
||||
<textarea name="private-key" id="idPrivKeyEdit" placeholder="Insert your private key or generate a new key below...
|
||||
" class="key-field__textarea" oninput="OnEditPrivKey()">
|
||||
</textarea>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
|
||||
<textarea name="private-key"
|
||||
id="idPrivKeyEdit"
|
||||
placeholder="Insert your private key or generate a new key below..."
|
||||
class="key-field__textarea"
|
||||
oninput="OnEditPrivKey()">
|
||||
|
||||
</textarea>
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
|
||||
<select size="1" id="idAccountCur" class="bigs key-field__input key-field__input--select">
|
||||
<option value="0">TERA</option>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
|
||||
<select size="1" id="idAccountCur" class="bigs key-field__input">
|
||||
<option value="0">TERA</option>
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<p class="key-field__title">From:</p>
|
||||
<button onclick="SetAllSum()" title="Paste total amount" class="key-field__btn btn-no-bg no-mr" style="padding:
|
||||
0; margin-left: 10px;">
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 1H3C1.89543 1 1 1.89543 1 3V15C1 16.1046 1.89543 1
|
||||
7 3 17H15C16.1046 17 17 16.1046 17 15V3C17 1.89543 16.1046 1 15 1ZM3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C
|
||||
16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM6.64645 10.6464C6.84171 10.4512 7.15829 10.4512 7.35355 10.6464L9.5
|
||||
12.7929V6C9.5 5.17157 8.82843 4.5 8 4.5H6C5.72386 4.5 5.5 4.27614 5.5 4C5.5 3.72386 5.72386 3.5 6 3.5H8C9.38071 3.5 10.5 4.6192
|
||||
9 10.5 6V12.7929L12.6464 10.6464C12.8417 10.4512 13.1583 10.4512 13.3536 10.6464C13.5488 10.8417 13.5488 11.1583 13.3536 11.353
|
||||
6L10.3536 14.3536L10 14.7071L9.64645 14.3536L6.64645 11.3536C6.45118 11.1583 6.45118 10.8417 6.64645 10.6464Z"/>
|
||||
</svg>
|
||||
</button>
|
||||
<select size="1" id="idAccount" class="key-field__select" oninput="OnEditTransactionFields(); CheckSending();">
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<p class="key-field__title">From:</p>
|
||||
<select size="1" id="idAccount" class="key-field__select" oninput="OnEditTransactionFields(); CheckSending();">
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<label for="idTo" class="key-field__title">Pay to:</label>
|
||||
<span id="idNameTo2" style="margin: 5px 10px 0 15px"></span>
|
||||
<!--<button class="key-field__btn btn-no-bg">Paste</button>-->
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<label for="idTo" class="key-field__title">Pay to:</label>
|
||||
<span id="idNameTo2" style="margin: 0 10px 0 0"></span>
|
||||
<!--<button class="key-field__btn btn-no-bg">Paste</button>-->
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<!--<b>2 000 000 000,00000000</b>-->
|
||||
<input type="number"
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<!--<b>2 000 000 000,00000000</b>-->
|
||||
<button onclick="SetAllSum()" title="Paste total amount" class="key-field__btn btn-no-bg no-mr" style="padding:
|
||||
0; margin-left: 10px;">
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 1H3C1.89543 1 1 1.89543 1 3V15C1 16.1046 1.89543 1
|
||||
7 3 17H15C16.1046 17 17 16.1046 17 15V3C17 1.89543 16.1046 1 15 1ZM3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C
|
||||
16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM6.64645 10.6464C6.84171 10.4512 7.15829 10.4512 7.35355 10.6464L9.5
|
||||
12.7929V6C9.5 5.17157 8.82843 4.5 8 4.5H6C5.72386 4.5 5.5 4.27614 5.5 4C5.5 3.72386 5.72386 3.5 6 3.5H8C9.38071 3.5 10.5 4.6192
|
||||
9 10.5 6V12.7929L12.6464 10.6464C12.8417 10.4512 13.1583 10.4512 13.3536 10.6464C13.5488 10.8417 13.5488 11.1583 13.3536 11.353
|
||||
6L10.3536 14.3536L10 14.7071L9.64645 14.3536L6.64645 11.3536C6.45118 11.1583 6.45118 10.8417 6.64645 10.6464Z"/>
|
||||
</svg>
|
||||
</button>
|
||||
<input type="number"
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<label for="idDescription" class="key-field__title">Description:</label>
|
||||
<textarea name="description" id="idDescription" rows="2" placeholder="Optional..." class="key-field__textarea"
|
||||
oninput="CheckLengthAccDesription('idDescription',200); OnEditTransactionFields()">
|
||||
</textarea>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<label for="idDescription" class="key-field__title">Description:</label>
|
||||
<textarea name="description"
|
||||
id="idDescription"
|
||||
rows="2"
|
||||
placeholder="Optional..."
|
||||
class="key-field__textarea"
|
||||
oninput="CheckLengthAccDesription('idDescription',200);OnEditTransactionFields()">
|
||||
</textarea>
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<div class="dapps-page__pagination page-pagination">
|
||||
<button onclick="ViewBegin(DefDapps)" class="btn dapps-page__page-btns">| <</button>
|
||||
<button onclick="ViewPrev(DefDapps)" class="btn dapps-page__page-btns"><</button>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<div class="dapps-page__pagination page-pagination">
|
||||
<button onclick="ViewBegin(DefDapps)" class="btn dapps-page__page-btns">|<</button>
|
||||
<button onclick="ViewPrev(DefDapps)" class="btn dapps-page__page-btns"><</button>
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<button onclick="ViewNext(DefDapps,CONFIG_DATA.MaxDappsID)" class="btn dapps-page__page-btns">></button>
|
||||
<button onclick="ViewEnd(DefDapps,CONFIG_DATA.MaxDappsID)" class="btn dapps-page__page-btns">> |</button>
|
||||
</div>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<button onclick="ViewNext(DefDapps,CONFIG_DATA.MaxDappsID)" class="btn dapps-page__page-btns">></button>
|
||||
<button onclick="ViewEnd(DefDapps,CONFIG_DATA.MaxDappsID)" class="btn dapps-page__page-btns">>|</button>
|
||||
</div>
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<div class="explorer-page__table-wrap">
|
||||
<table id="dapps_list" class="grid dapps__table">
|
||||
<tr>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<div class="explorer-page__table-wrap">
|
||||
<table id="dapps_list" class="grid">
|
||||
<tr>
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<div class="prod-card__heading">
|
||||
<a href="#" class="prod-card__link" onclick="OpenDapp(Item.Num)">Item.Name</a>
|
||||
<!--<span class="lighter-grey-text">Without token generate</span>-->
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<div class="prod-card__heading">
|
||||
Item.Name
|
||||
<!--<span class="lighter-grey-text">Without token generate</span>-->
|
||||
*****
|
||||
|
||||
***** mobile-wallet.html
|
||||
<div class="prod-card__second-line-img">
|
||||
<a href="#" class="prod-card__link" onclick="OpenDapp(Item.Num)"><img src="Item.IconPath" alt="dApp
|
||||
logo" width="32"></a>
|
||||
</div>
|
||||
***** _MOBILE-WALLET.HTML
|
||||
<div class="prod-card__second-line-img">
|
||||
<img src="Item.IconPath" alt="dApp logo" width="32">
|
||||
</div>
|
||||
*****
|
||||
|
||||
@@ -36,8 +36,7 @@ function GetPowPower(arrhash) {
|
||||
for (var b = 7; b >= 0; b--) {
|
||||
if ((byte >> b) & 1) {
|
||||
return SumBit;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
SumBit++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1409,26 +1409,21 @@
|
||||
<DIV id="idNodeUpdateMiningStatus" style="display: block">
|
||||
<DIV style="float: left">
|
||||
<input type="checkbox" class="checkbox" id="idAutoUpdate" onchange = "UseAutoUpdate()"/>
|
||||
<label for="idAutoUpdate">自动更新</label>
|
||||
<label for="idAutoUpdate">AutoUpdate</label>
|
||||
</DIV>
|
||||
<DIV style="float: left">
|
||||
<input type="checkbox" class="checkbox" id="idUseMining" onchange = "UseMining()"/>
|
||||
<label for="idUseMining">挖矿</label>
|
||||
</DIV>
|
||||
<DIV style="float: left">
|
||||
<label>此版本由 MiaoWoo 使用 TypeScript 重构</label>
|
||||
<label for="idUseMining">UseMining</label>
|
||||
</DIV>
|
||||
<DIV style="float: left;display: none" id="idMiningParams">
|
||||
<DIV style="float: left; color: blue;">CPU
|
||||
use:<input type="number" min=0 max=100 id="idPercentMining" onchange="SetPercentMining()"/>%</DIV>
|
||||
<DIV style="float: left; margin: 2px 0 0 8px;" id="idStatusMining"></DIV>
|
||||
</DIV>
|
||||
</DIV>
|
||||
<DIV id="idDevelopService" style="display: none">
|
||||
<BR>
|
||||
<INPUT type="button" id="idDown" onclick="SetVisibleBlock('idDevelopServiceView',!IsVisibleBlock('idDevelopServiceView'));SetImg(this,'idDevelopServiceView')"
|
||||
class="btdoit bt" value="DEV SERVICE">
|
||||
<DIV id="idDevelopServiceView" style="display: none">
|
||||
<INPUT type="button" id="idDown" onclick="SetVisibleBlock('idDevelopServiceView',!IsVisibleBlock('idDevelopServiceView'));SetImg(this,'idDevelopServiceView')" class="btdoit bt" value="DEV SERVICE">
|
||||
<DIV id="idDevelopServiceView">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 100px">
|
||||
@@ -1437,11 +1432,11 @@
|
||||
<INPUT type="button" class="bt btdoit" onclick="SetCorrTimeJSON()" value="DELTA TIME >>"><BR>
|
||||
<INPUT type="button" class="bt btdoit" onclick="SetNetConstJSON()" value="NET CONST >>"><BR>
|
||||
|
||||
</td>
|
||||
</td>
|
||||
<td style="width: 500px">
|
||||
Value:<INPUT type="string" id="idDevValue" value="0"><BR>
|
||||
<TEXTAREA id="idDevService" rows="15" cols="90"> </TEXTAREA><BR>
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<INPUT type="button" onclick="CreateCheckPoint()" class="btdoit bt" value="CHECK POINT">
|
||||
@@ -1461,6 +1456,7 @@
|
||||
</DIV>
|
||||
<canvas width='800' height='30' id='idBlockInfo'></canvas>
|
||||
<BR><BR>
|
||||
<DIV style="float: left;" id="idStatusMining"></DIV>
|
||||
<DIV style="float: left; font-family: monospace">
|
||||
Block:<B id="idCurBlockNum"></B>
|
||||
DB delta:<B id="idDeltaDB" style="min-width: 30px"></B>
|
||||
@@ -1475,24 +1471,17 @@
|
||||
<b class="red">*************** WARNING: VERY SLOW LIBRARY: secp256k1 ***************<BR>Install all dependent packages, see detail: <a href="https://www.npmjs.com/package/secp256k1">https://www.npmjs.com/package/secp256k1</a></b>
|
||||
</DIV>
|
||||
<BR>
|
||||
</DIV>
|
||||
|
||||
|
||||
</DIV>
|
||||
<DIV id="wallet_config_tab" style="display: none;float: left">
|
||||
钱包数据目录: <B id="idDataPath"></B><BR>
|
||||
账户公钥: <B id="idPubKey"></B><BR>
|
||||
DataPath: <B id="idDataPath"></B><BR>
|
||||
PubKey: <B id="idPubKey"></B><BR>
|
||||
<!--Node addr: <B id="idNodeAddr"></B><BR>-->
|
||||
|
||||
|
||||
<INPUT type="button" onclick="MoveUp($('edit_keys'));NewPrivateKey();" class="btdoit bt" value="新建钱包" id="idDown2">
|
||||
<INPUT type="button" onclick="MoveUp($('edit_keys'));EditPrivateKey();SetImg(this,'edit_keys');" class="btdoit bt" value="编辑钱包" id="idDown">
|
||||
<INPUT type="button" onclick="MoveUp($('idAccountEdit'));ViewNewAccount();SetImg(this,'idAccountEdit');" class="btdoit bt" value="新建账户" id="idDown">
|
||||
<INPUT type="button" onclick="MoveUp($('edit_mining_set'));MiningSets();SetImg(this,'edit_mining_set');" class="btdoit bt" value="设置挖矿账号" id="idDown">
|
||||
<INPUT type="button" onclick="ViewSetPassword();itemBtPassword=this; SetImg(itemBtPassword,'idBlockPasswordSet');" class="bt btdoit" value="设置密码" id="idDown">
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
<INPUT type="button" onclick="MoveUp($('edit_keys'));NewPrivateKey();" class="btdoit bt" value="NewWallet" id="idDown2">
|
||||
<INPUT type="button" onclick="MoveUp($('edit_keys'));EditPrivateKey();SetImg(this,'edit_keys');" class="btdoit bt" value="EditWallet" id="idDown">
|
||||
<INPUT type="button" onclick="MoveUp($('idAccountEdit'));ViewNewAccount();SetImg(this,'idAccountEdit');" class="btdoit bt" value="NewAccount" id="idDown">
|
||||
<INPUT type="button" onclick="MoveUp($('edit_mining_set'));MiningSets();SetImg(this,'edit_mining_set');" class="btdoit bt" value="MiningSet" id="idDown">
|
||||
<INPUT type="button" onclick="ViewSetPassword();itemBtPassword=this; SetImg(itemBtPassword,'idBlockPasswordSet');" class="bt btdoit" value="SetPassword" id="idDown">
|
||||
</DIV>
|
||||
<DIV>
|
||||
<DIV id="edit_mining_set" style="display: none">
|
||||
<table class="form_input keys" id="grid_mining_set">
|
||||
@@ -1665,464 +1654,468 @@
|
||||
<HR>
|
||||
</DIV>
|
||||
</DIV>
|
||||
|
||||
|
||||
Style:
|
||||
<select size="1" id="idSelStyle" onkeyup="SelectStyle();SaveValues()" onchange="SelectStyle();SaveValues()">
|
||||
<option value="styleBrown">Brown</option>
|
||||
<option value="styleBlue">Blue</option>
|
||||
<option value="styleGreen">Green</option>
|
||||
<option value="styleDark">Dark</option>
|
||||
<option value="styleGray">Gray</option>
|
||||
<option value="styleContrast1">Contrast 1</option>
|
||||
<option value="styleContrast2">Contrast 2</option>
|
||||
<option value="styleContrast3">Contrast 3</option>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<option value="styleBrown">Brown</option>
|
||||
<option value="styleBlue">Blue</option>
|
||||
<option value="styleGreen">Green</option>
|
||||
<option value="styleDark">Dark</option>
|
||||
<option value="styleGray">Gray</option>
|
||||
<option value="styleContrast1">Contrast 1</option>
|
||||
<option value="styleContrast2">Contrast 2</option>
|
||||
<option value="styleContrast3">Contrast 3</option>
|
||||
</select>
|
||||
此版本由 MiaoWoo 使用 TypeScript 重构<BR>
|
||||
</DIV>
|
||||
|
||||
|
||||
|
||||
<DIV id="TabSend" style="display: none">
|
||||
|
||||
<DIV id="idSendList"> </DIV>
|
||||
<table class="form_input">
|
||||
<tr>
|
||||
<td style="min-width: 115px">From account</td>
|
||||
<td>
|
||||
|
||||
<select size="1" id="idAccount" onkeyup="OnEditTransactionFields()" onchange="OnEditTransactionFields()">
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<DIV id="idNameTo" class="smallbold"></DIV>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pay to</td>
|
||||
<td>
|
||||
<INPUT style="float: left" type="string" id="idTo" value="" onkeyup="OnEditIdTo()" onchange="OnEditIdTo()"placeholder="Payee (required)" >
|
||||
<DIV id="TabSend" style="display: none">
|
||||
<DIV id="idSendList"> </DIV>
|
||||
<table class="form_input">
|
||||
<tr>
|
||||
<td style="min-width: 115px">From account</td>
|
||||
<td>
|
||||
<select size="1" id="idAccount" onkeyup="OnEditTransactionFields()" onchange="OnEditTransactionFields()">
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<DIV id="idNameTo" class="smallbold"></DIV>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pay to</td>
|
||||
<td>
|
||||
<INPUT style="float: left" type="string" id="idTo" value="" onkeyup="OnEditIdTo()" onchange="OnEditIdTo()"placeholder="Payee (required)" >
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>
|
||||
<INPUT type="number" id="idSumSend" style="color:#1e21cb" value="" step=0 min=0 max=1000000000 onkeyup="OnEditTransactionFields()" onchange="OnEditTransactionFields()">
|
||||
<button style="font-family: monospace;" onclick="SetAllSum()">←</button>
|
||||
<B id="idCoinName"></B>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Description (optional)</td>
|
||||
<td><textarea id="idDescription" rows="4" onkeyup="CheckLengthAccDesription('idDescription',200);OnEditTransactionFields()" onchange="OnEditTransactionFields()"></textarea>
|
||||
</td>
|
||||
<td>
|
||||
<DIV id="idAttach"> </DIV>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<INPUT type="button" onclick="ClearTransaction()" class="bsend bt" value="Clear">
|
||||
<INPUT type="button" onclick="EditJSONTransaction();SetImg(this,'edit_transaction');" class="bsend bt" value="Edit JSON" id="idDown">
|
||||
<INPUT type="button" onclick="SendMoneyBefore()" class="bsend bt" id="idSendButton" value="Send" >
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Amount</td>
|
||||
<td>
|
||||
<INPUT type="number" id="idSumSend" style="color:#1e21cb" value="" step=0 min=0 max=1000000000 onkeyup="OnEditTransactionFields()" onchange="OnEditTransactionFields()">
|
||||
<button style="font-family: monospace;" onclick="SetAllSum()">←</button>
|
||||
<B id="idCoinName"></B>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Description (optional)</td>
|
||||
<td><textarea id="idDescription" rows="4" onkeyup="CheckLengthAccDesription('idDescription',200);OnEditTransactionFields()" onchange="OnEditTransactionFields()"></textarea>
|
||||
</td>
|
||||
<td>
|
||||
<DIV id="idAttach"> </DIV>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<INPUT type="button" onclick="ClearTransaction()" class="bsend bt" value="Clear">
|
||||
<INPUT type="button" onclick="EditJSONTransaction();SetImg(this,'edit_transaction');" class="bsend bt" value="Edit JSON" id="idDown">
|
||||
<INPUT type="button" onclick="SendMoneyBefore()" class="bsend bt" id="idSendButton" value="Send" >
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<DIV id="edit_transaction" style="display: none">
|
||||
<textarea id="idTransaction" rows="20" onkeyup="StartEditTransactionJSON()" onchange="StartEditTransactionJSON()"></textarea>
|
||||
<BR>
|
||||
<INPUT type="button" onclick="SignJSON()" class="btdoit bt" value="Sign JSON" id="idSignJSON">
|
||||
<INPUT type="button" onclick="SendMoneyJSON()" class="btdoit bt" value="Send from JSON">
|
||||
</tr>
|
||||
</table>
|
||||
<DIV id="edit_transaction" style="display: none">
|
||||
<textarea id="idTransaction" rows="20" onkeyup="StartEditTransactionJSON()" onchange="StartEditTransactionJSON()"></textarea>
|
||||
<BR>
|
||||
<INPUT type="button" onclick="SignJSON()" class="btdoit bt" value="Sign JSON" id="idSignJSON">
|
||||
<INPUT type="button" onclick="SendMoneyJSON()" class="btdoit bt" value="Send from JSON">
|
||||
</DIV>
|
||||
|
||||
<script>
|
||||
function SetAllSum()
|
||||
<script>
|
||||
function SetAllSum()
|
||||
{
|
||||
var Item=MapAccounts[$("idAccount").value];
|
||||
if(Item)
|
||||
$("idSumSend").value=FLOAT_FROM_COIN(Item.Value).toStringF();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
<DIV id="TabDapps" style="display: none">
|
||||
|
||||
|
||||
<INPUT type="button" onclick="window.Open('./HTML/dapp-edit.html','smart',1240)" class="btdoit btopen bt" id="idOpenSmart" value="Dapps editor">
|
||||
|
||||
|
||||
<BR>
|
||||
<DIV id="idPaginationDapps" style="display: block">
|
||||
<!--<DIV id="view_header" >DAPPS</DIV><BR>-->
|
||||
Search:<INPUT type="search" id="idViewDappsFilter" value="" onchange="CheckNewSearch(DefDapps); ViewCurrent(DefDapps)">
|
||||
Category:
|
||||
<select size="1" id="idCategory" onchange="ViewCurrent(DefDapps)">
|
||||
</select>
|
||||
<BR>
|
||||
|
||||
<INPUT type="button" onclick="ViewBegin(DefDapps)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefDapps)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewDappNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefDapps)">
|
||||
<INPUT type="button" onclick="ViewNext(DefDapps,MaxDappsID)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefDapps,MaxDappsID)" class="btdoitm bt" value="->|">
|
||||
|
||||
<table id="grid_dapps_all" class="grid">
|
||||
<tr>
|
||||
<th id="(RetNumDapp(Item))" class="num">ID</th>
|
||||
<th id="(RetOpenDapps(Item,0,0))" class="accname">Name</th>
|
||||
<th id="Item.Description" class="code">Description</th>
|
||||
<th id="(RetCategory(Item))" class="">Category</th>
|
||||
|
||||
<th id="(RetBaseAccount(Item))" class="num">Base Account</th>
|
||||
|
||||
<th id="(RetHistoryAccount(Item,'Owner'))" class="num">Owner</th>
|
||||
|
||||
<th id="RetBool(Item.TokenGenerate)" class="bool">Token generate</th>
|
||||
<!--<th id="Item.ISIN" class="num">ISIN</th>-->
|
||||
<th id="(RetOpenBlock(Item.BlockNum,1))" class="num">Block Num</th>
|
||||
|
||||
<!--<th id="GetHexFromArr(Item.SumHash)" class="hash">SumHash</th>-->
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<INPUT type="button" onclick="ViewPrev(DefDapps)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefDapps,MaxDappsID)" class="btdoit bt" value="Next >>">
|
||||
|
||||
</DIV>
|
||||
</script>
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
<DIV id="TabExplorer" style="display: none">
|
||||
<DIV id="TabDapps" style="display: none">
|
||||
|
||||
<INPUT type="button" onclick="window.Open('./HTML/stat.html','counters',920)" class="btdoit btopen bt" id="idCounters" value="Counters">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/chains.html','chains',1240,600)" class="btdoit btopen bt" id="idChains" value="Chains">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/console.html','console',1240)" class="btdoit btopen bt" id="idConsole" value="Console">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/monitor.html','monitor',1200)" class="btdoit btopen bt" id="idMonitor" value="Monitor">
|
||||
|
||||
<INPUT type="button" onclick="window.Open('./HTML/network.html','network',1200)" class="btdoit btopen bt" id="idNetwork" value="Network">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/dapp-edit.html','smart',1240)" class="btdoit btopen bt" id="idOpenSmart" value="Dapps editor">
|
||||
|
||||
|
||||
<BR>
|
||||
<INPUT type="button" onclick="ViewCurrent(DefAccounts,1,this);" class="btdoit bt btexlporer" id="idDown" value="Accounts">
|
||||
<INPUT type="button" onclick="ViewCurrent(DefBlock,1,this)" class="btdoit bt btexlporer" id="idDown" value="Blocks & Tr">
|
||||
<INPUT type="button" onclick="ViewCurrent(DefActs,1,this)" class="btdoit bt btexlporer" id="idDown" value="Accounts acts">
|
||||
<INPUT type="button" onclick="ViewCurrent(DefHash,1,this)" class="btdoit bt btexlporer" id="idDown" value="Accounts hash">
|
||||
<INPUT type="button" onclick="SetVisibleUtil(this)" class="btdoit bt btexlporer" id="idDown" value="Utilites">
|
||||
<DIV id="idPaginationDapps" style="display: block">
|
||||
<!--<DIV id="view_header" >DAPPS</DIV><BR>-->
|
||||
Search:<INPUT type="search" id="idViewDappsFilter" value="" onchange="CheckNewSearch(DefDapps); ViewCurrent(DefDapps)">
|
||||
Category:
|
||||
<select size="1" id="idCategory" onchange="ViewCurrent(DefDapps)">
|
||||
</select>
|
||||
<BR>
|
||||
|
||||
<script>
|
||||
function SetVisibleUtil(This)
|
||||
<INPUT type="button" onclick="ViewBegin(DefDapps)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefDapps)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewDappNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefDapps)">
|
||||
<INPUT type="button" onclick="ViewNext(DefDapps,MaxDappsID)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefDapps,MaxDappsID)" class="btdoitm bt" value="->|">
|
||||
|
||||
<table id="grid_dapps_all" class="grid">
|
||||
<tr>
|
||||
<th id="(RetNumDapp(Item))" class="num">ID</th>
|
||||
<th id="(RetOpenDapps(Item,0,0))" class="accname">Name</th>
|
||||
<th id="Item.Description" class="code">Description</th>
|
||||
<th id="(RetCategory(Item))" class="">Category</th>
|
||||
|
||||
<th id="(RetBaseAccount(Item))" class="num">Base Account</th>
|
||||
|
||||
<th id="(RetHistoryAccount(Item,'Owner'))" class="num">Owner</th>
|
||||
|
||||
<th id="RetBool(Item.TokenGenerate)" class="bool">Token generate</th>
|
||||
<!--<th id="Item.ISIN" class="num">ISIN</th>-->
|
||||
<th id="(RetOpenBlock(Item.BlockNum,1))" class="num">Block Num</th>
|
||||
|
||||
<!--<th id="GetHexFromArr(Item.SumHash)" class="hash">SumHash</th>-->
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<INPUT type="button" onclick="ViewPrev(DefDapps)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefDapps,MaxDappsID)" class="btdoit bt" value="Next >>">
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
<DIV id="TabExplorer" style="display: none">
|
||||
|
||||
<INPUT type="button" onclick="window.Open('./HTML/stat.html','counters',920)" class="btdoit btopen bt" id="idCounters" value="Counters">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/chains.html','chains',1240,600)" class="btdoit btopen bt" id="idChains" value="Chains">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/console.html','console',1240)" class="btdoit btopen bt" id="idConsole" value="Console">
|
||||
<INPUT type="button" onclick="window.Open('./HTML/monitor.html','monitor',1200)" class="btdoit btopen bt" id="idMonitor" value="Monitor">
|
||||
|
||||
<INPUT type="button" onclick="window.Open('./HTML/network.html','network',1200)" class="btdoit btopen bt" id="idNetwork" value="Network">
|
||||
|
||||
|
||||
<BR>
|
||||
<INPUT type="button" onclick="ViewCurrent(DefAccounts,1,this);" class="btdoit bt btexlporer" id="idDown" value="Accounts">
|
||||
<INPUT type="button" onclick="ViewCurrent(DefBlock,1,this)" class="btdoit bt btexlporer" id="idDown" value="Blocks & Tr">
|
||||
<INPUT type="button" onclick="ViewCurrent(DefActs,1,this)" class="btdoit bt btexlporer" id="idDown" value="Accounts acts">
|
||||
<INPUT type="button" onclick="ViewCurrent(DefHash,1,this)" class="btdoit bt btexlporer" id="idDown" value="Accounts hash">
|
||||
<INPUT type="button" onclick="SetVisibleUtil(this)" class="btdoit bt btexlporer" id="idDown" value="Utilites">
|
||||
|
||||
<script>
|
||||
function SetVisibleUtil(This)
|
||||
{
|
||||
MoveUp($("idUtilView"));
|
||||
SetVisibleBlock('idUtilView',!IsVisibleBlock('idUtilView'));
|
||||
SetImg(This,'idUtilView');
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
||||
|
||||
<BR>
|
||||
<DIV>
|
||||
<DIV id="idPaginationAccount" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Accounts</DIV><BR>
|
||||
Search:<INPUT type="search" id="idViewAccountFilter" value="" onchange="CheckNewSearch(DefAccounts); ViewCurrent(DefAccounts)">
|
||||
<INPUT type="button" onclick="ViewBegin(DefAccounts)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefAccounts)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewAccountNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefAccounts)">
|
||||
<INPUT type="button" onclick="ViewNext(DefAccounts,MaxAccID)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefAccounts,MaxAccID)" class="btdoitm bt" value="->|">
|
||||
|
||||
<table id="grid_accounts_all" class="grid">
|
||||
<tr>
|
||||
<th id="(RetHistoryAccount(Item))" class="num">ID</th>
|
||||
<th id="SUM_TO_STRING(Item.Value)" class="sum smallbold">Amount</th>
|
||||
<th id="CurrencyNameItem(Item)" class="cur">Cur</th>
|
||||
<th id="Item.Name" class="accname">Name</th>
|
||||
<th id="Item.PubKeyStr" class="pubkey">PubKey</th>
|
||||
<th id="Item.Value.OperationID" class="num">Operation</th>
|
||||
<th id="(RetHistoryAccount(Item,'Adviser'))" class="num">Adviser
|
||||
</th>
|
||||
<th id="Item.Value.Smart" class="num">Smart</th>
|
||||
<th id="(RetOpenBlock(Item.BlockNumCreate,1))" class="num">Block Num
|
||||
</th>
|
||||
<!--<th id="Item.Arr[0].BlockNum" class="num">0</th>-->
|
||||
<!--<th id="Item.Arr[1].BlockNum" class="num">1</th>-->
|
||||
<!--<th id="Item.Arr[2].BlockNum" class="num">2</th>-->
|
||||
<!--<th id="Item.Arr[3].BlockNum" class="num">3</th>-->
|
||||
<!--<th id="Item.Arr[4].BlockNum" class="num">4</th>-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<INPUT type="button" onclick="ViewPrev(DefAccounts)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefAccounts,MaxAccID)" class="btdoit bt" value="Next >>">
|
||||
|
||||
<BR>
|
||||
<B><DIV id="idTotalSum"></DIV></B>
|
||||
<BR>
|
||||
</DIV>
|
||||
|
||||
<DIV id="idPaginationBlock" style="display: none">
|
||||
<BR>
|
||||
<DIV>
|
||||
<DIV id="idPaginationAccount" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Blocks<BR></DIV>
|
||||
<!--<DIV id="idFilterB">JS:<INPUT type="search" id="idViewBlockFilter" value="" onchange="ViewCurrent(DefBlock)"></DIV>-->
|
||||
<INPUT type="button" onclick="ViewBegin(DefBlock)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefBlock)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewBlockNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefBlock)">
|
||||
<INPUT type="button" onclick="ViewNext(DefBlock,ServerBlockNumDB)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefBlock,ServerBlockNumDB)" class="btdoitm bt" value="->|">
|
||||
<DIV id="view_header">Accounts</DIV><BR>
|
||||
Search:<INPUT type="search" id="idViewAccountFilter" value="" onchange="CheckNewSearch(DefAccounts); ViewCurrent(DefAccounts)">
|
||||
<INPUT type="button" onclick="ViewBegin(DefAccounts)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefAccounts)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewAccountNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefAccounts)">
|
||||
<INPUT type="button" onclick="ViewNext(DefAccounts,MaxAccID)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefAccounts,MaxAccID)" class="btdoitm bt" value="->|">
|
||||
|
||||
<table id="grid_block_all" class="grid">
|
||||
<tr>
|
||||
<table id="grid_accounts_all" class="grid">
|
||||
<tr>
|
||||
<th id="(RetHistoryAccount(Item))" class="num">ID</th>
|
||||
<th id="SUM_TO_STRING(Item.Value)" class="sum smallbold">Amount
|
||||
</th>
|
||||
<th id="CurrencyNameItem(Item)" class="cur">Cur</th>
|
||||
<th id="Item.Name" class="accname">Name</th>
|
||||
<th id="Item.PubKeyStr" class="pubkey">PubKey</th>
|
||||
<th id="Item.Value.OperationID" class="num">Operation</th>
|
||||
<th id="(RetHistoryAccount(Item,'Adviser'))" class="num">Adviser
|
||||
</th>
|
||||
<th id="Item.Value.Smart" class="num">Smart</th>
|
||||
<th id="(RetOpenBlock(Item.BlockNumCreate,1))" class="num">Block
|
||||
Num
|
||||
</th>
|
||||
<!--<th id="Item.Arr[0].BlockNum" class="num">0</th>-->
|
||||
<!--<th id="Item.Arr[1].BlockNum" class="num">1</th>-->
|
||||
<!--<th id="Item.Arr[2].BlockNum" class="num">2</th>-->
|
||||
<!--<th id="Item.Arr[3].BlockNum" class="num">3</th>-->
|
||||
<!--<th id="Item.Arr[4].BlockNum" class="num">4</th>-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<th id="(RetOpenBlock(Item.BlockNum,Item.TrDataLen))"
|
||||
class="num">Num</th>
|
||||
<th id="(DateFromBlock(Item.BlockNum,1))" class="date">Date
|
||||
</th>
|
||||
<th id="GetHexFromArr(Item.TreeHash)" class="hash">Data Hash
|
||||
</th>
|
||||
<th id="GetHexFromArr(Item.PowHash)" class="hash">PowHash
|
||||
</th>
|
||||
<th id="GetHexFromArr(Item.Hash)" class="hash">Block Hash
|
||||
</th>
|
||||
<!--<th id="GetHexFromArr(Item.SumHash)" class="hash">SumHash</th>-->
|
||||
<th id="Item.TrDataLen" class="num">Bytes</th>
|
||||
<th id="Item.Power" class="num">Pow</th>
|
||||
<th id="(RetHistoryAccount(Item,'Miner')+'<BR><b>'+Item.MinerName)+'</b>'"
|
||||
class="num">Miner</th>
|
||||
<INPUT type="button" onclick="ViewPrev(DefAccounts)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefAccounts,MaxAccID)" class="btdoit bt" value="Next >>">
|
||||
|
||||
<BR>
|
||||
<B><DIV id="idTotalSum"></DIV></B>
|
||||
<BR>
|
||||
</DIV>
|
||||
|
||||
<DIV id="idPaginationBlock" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Blocks<BR></DIV>
|
||||
<!--<DIV id="idFilterB">JS:<INPUT type="search" id="idViewBlockFilter" value="" onchange="ViewCurrent(DefBlock)"></DIV>-->
|
||||
<INPUT type="button" onclick="ViewBegin(DefBlock)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefBlock)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewBlockNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefBlock)">
|
||||
<INPUT type="button" onclick="ViewNext(DefBlock,ServerBlockNumDB)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefBlock,ServerBlockNumDB)" class="btdoitm bt" value="->|">
|
||||
|
||||
<table id="grid_block_all" class="grid">
|
||||
<tr>
|
||||
|
||||
<th id="(RetOpenBlock(Item.BlockNum,Item.TrDataLen))"
|
||||
class="num">Num</th>
|
||||
<th id="(DateFromBlock(Item.BlockNum,1))" class="date">
|
||||
Date
|
||||
</th>
|
||||
<th id="GetHexFromArr(Item.TreeHash)" class="hash">Data
|
||||
Hash
|
||||
</th>
|
||||
<th id="GetHexFromArr(Item.PowHash)" class="hash">
|
||||
PowHash
|
||||
</th>
|
||||
<th id="GetHexFromArr(Item.Hash)" class="hash">Block
|
||||
Hash
|
||||
</th>
|
||||
<!--<th id="GetHexFromArr(Item.SumHash)" class="hash">SumHash</th>-->
|
||||
<th id="Item.TrDataLen" class="num">Bytes</th>
|
||||
<th id="Item.Power" class="num">Pow</th>
|
||||
<th id="(RetHistoryAccount(Item,'Miner')+'<BR><b>'+Item.MinerName)+'</b>'"
|
||||
class="num">Miner</th>
|
||||
|
||||
|
||||
<!--<th id="GetHexFromArr(Item.Hash1)" class="hash">Hash1</th>-->
|
||||
<!--<th id="GetHexFromArr(Item.Hash2)" class="hash">Hash2</th>-->
|
||||
<!--<th id="GetHexFromArr(Item.Hash1)" class="hash">Hash1</th>-->
|
||||
<!--<th id="GetHexFromArr(Item.Hash2)" class="hash">Hash2</th>-->
|
||||
|
||||
<!--<th id="GetHexFromArr(Item.AddrHash)" class="hash">AddrHash</th>-->
|
||||
<!--<th id="GetHexFromArr(Item.AddrHash)" class="hash">AddrHash</th>-->
|
||||
|
||||
<!--<th id="ReadUintFromArr(Item.AddrHash,6)" class="hash">Nonce0</th>-->
|
||||
<!--<th id="ReadUintFromArr(Item.AddrHash,12)" class="hash">Nonce1</th>-->
|
||||
<!--<th id="ReadUintFromArr(Item.AddrHash,18)" class="hash">Nonce2</th>-->
|
||||
<!--<th id="ReadUintFromArr(Item.AddrHash,6)" class="hash">Nonce0</th>-->
|
||||
<!--<th id="ReadUintFromArr(Item.AddrHash,12)" class="hash">Nonce1</th>-->
|
||||
<!--<th id="ReadUintFromArr(Item.AddrHash,18)" class="hash">Nonce2</th>-->
|
||||
|
||||
<!--<th id="GetPowPower(Item.Hash1)" class="num">Pow1</th>-->
|
||||
<!--<th id="GetPowPower(Item.Hash2)" class="num">Pow2</th>-->
|
||||
</tr>
|
||||
</table>
|
||||
<!--<th id="GetPowPower(Item.Hash1)" class="num">Pow1</th>-->
|
||||
<!--<th id="GetPowPower(Item.Hash2)" class="num">Pow2</th>-->
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<INPUT type="button" onclick="ViewPrev(DefBlock)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefBlock,ServerBlockNumDB)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewPrev(DefBlock)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefBlock,ServerBlockNumDB)" class="btdoit bt" value="Next >>">
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
<DIV id="idPaginationAct" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Accounts acts<BR></DIV>
|
||||
<INPUT type="button" onclick="ViewBegin(DefActs)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefActs)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewActNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefActs)">
|
||||
<INPUT type="button" onclick="ViewNext(DefActs,MaxActNum)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefActs,MaxActNum)" class="btdoitm bt" value="->|">
|
||||
<DIV id="idPaginationAct" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Accounts acts<BR></DIV>
|
||||
<INPUT type="button" onclick="ViewBegin(DefActs)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefActs)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewActNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefActs)">
|
||||
<INPUT type="button" onclick="ViewNext(DefActs,MaxActNum)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefActs,MaxActNum)" class="btdoitm bt" value="->|">
|
||||
|
||||
|
||||
<table id="grid_acts_all" class="grid">
|
||||
<tr>
|
||||
<th id="Item.Num" class="num">Num</th>
|
||||
<th id="Item.ID" class="num">Account</th>
|
||||
<th id="Item.Mode">Mode</th>
|
||||
<th id="(RetOpenBlock(Item.BlockNum,1))"
|
||||
class="num">Block</th>
|
||||
<th id="Item.TrNum" class="num">TrNum</th>
|
||||
<th id="(escapeHtml(DateFromBlock(Item.BlockNum,1)))"
|
||||
class="date">Date</th>
|
||||
<table id="grid_acts_all" class="grid">
|
||||
<tr>
|
||||
<th id="Item.Num" class="num">Num</th>
|
||||
<th id="Item.ID" class="num">Account</th>
|
||||
<th id="Item.Mode">Mode</th>
|
||||
<th id="(RetOpenBlock(Item.BlockNum,1))"
|
||||
class="num">Block</th>
|
||||
<th id="Item.TrNum" class="num">TrNum</th>
|
||||
<th id="(escapeHtml(DateFromBlock(Item.BlockNum,1)))"
|
||||
class="date">Date</th>
|
||||
|
||||
<th id="Item.PrevValue.OperationID" class="num">
|
||||
Prev. Operation</th>
|
||||
<th id="SUM_TO_STRING(Item.PrevValue)" class="sum">
|
||||
Prev. amount</th>
|
||||
<th id="Item.PrevValue.NextPos" class="num">Prev.
|
||||
History</th>
|
||||
</tr>
|
||||
</table>
|
||||
<INPUT type="button" onclick="ViewPrev(DefActs)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefActs,MaxActNum)" class="btdoit bt" value="Next >>">
|
||||
<th id="Item.PrevValue.OperationID" class="num">
|
||||
Prev. Operation</th>
|
||||
<th id="SUM_TO_STRING(Item.PrevValue)"
|
||||
class="sum">
|
||||
Prev. amount</th>
|
||||
<th id="Item.PrevValue.NextPos" class="num">
|
||||
Prev.
|
||||
History</th>
|
||||
</tr>
|
||||
</table>
|
||||
<INPUT type="button" onclick="ViewPrev(DefActs)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefActs,MaxActNum)" class="btdoit bt" value="Next >>">
|
||||
|
||||
</DIV>
|
||||
|
||||
<DIV id="idPaginationHash" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Accounts hash<BR></DIV>
|
||||
<INPUT type="button" onclick="ViewBegin(DefHash)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefHash)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewHashNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefHash)">
|
||||
<INPUT type="button" onclick="ViewNext(DefHash,CONFIG_DATA.MAX_ACCOUNT_HASH)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefHash,CONFIG_DATA.MAX_ACCOUNT_HASH)" class="btdoitm bt" value="->|">
|
||||
<DIV id="idPaginationHash" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">Accounts hash<BR></DIV>
|
||||
<INPUT type="button" onclick="ViewBegin(DefHash)" class="btdoitm bt" value="|<-">
|
||||
<INPUT type="button" onclick="ViewPrev(DefHash)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="number" id="idViewHashNum" style="text-align: center" value="0" min=0 max=1000000000 onchange="ViewCurrent(DefHash)">
|
||||
<INPUT type="button" onclick="ViewNext(DefHash,CONFIG_DATA.MAX_ACCOUNT_HASH)" class="btdoit bt" value="Next >>">
|
||||
<INPUT type="button" onclick="ViewEnd(DefHash,CONFIG_DATA.MAX_ACCOUNT_HASH)" class="btdoitm bt" value="->|">
|
||||
|
||||
<table id="grid_hash_all" class="grid">
|
||||
<tr>
|
||||
<th id="Item.Num" class="num">Num</th>
|
||||
<th id="(RetOpenBlock(Item.BlockNum,3))"
|
||||
class="">Block</th>
|
||||
<th id="(escapeHtml(DateFromBlock(Item.BlockNum,1)))"
|
||||
class="date">Date</th>
|
||||
<th id="GetHexFromArr(Item.AccHash)"
|
||||
class="code">AccHash</th>
|
||||
<th id="GetHexFromArr(Item.SumHash)"
|
||||
class="code">SumHash</th>
|
||||
<th id="Item.AccountMax" class="num">
|
||||
AccountMax</th>
|
||||
<th id="Item.SmartCount" class="num">
|
||||
SmartCount</th>
|
||||
<th id="GetHexFromArr(Item.SmartHash)"
|
||||
class="code">SmartHash</th>
|
||||
<th id="GetHexFromArr(Item.Hash100)"
|
||||
class="code">Hash100</th>
|
||||
</tr>
|
||||
</table>
|
||||
<INPUT type="button" onclick="ViewPrev(DefHash)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefHash,CONFIG_DATA.MAX_ACCOUNT_HASH)" class="btdoit bt" value="Next >>">
|
||||
<table id="grid_hash_all" class="grid">
|
||||
<tr>
|
||||
<th id="Item.Num" class="num">Num</th>
|
||||
<th id="(RetOpenBlock(Item.BlockNum,3))"
|
||||
class="">Block</th>
|
||||
<th id="(escapeHtml(DateFromBlock(Item.BlockNum,1)))"
|
||||
class="date">Date</th>
|
||||
<th id="GetHexFromArr(Item.AccHash)"
|
||||
class="code">AccHash</th>
|
||||
<th id="GetHexFromArr(Item.SumHash)"
|
||||
class="code">SumHash</th>
|
||||
<th id="Item.AccountMax" class="num">
|
||||
AccountMax</th>
|
||||
<th id="Item.SmartCount" class="num">
|
||||
SmartCount</th>
|
||||
<th id="GetHexFromArr(Item.SmartHash)"
|
||||
class="code">SmartHash</th>
|
||||
<th id="GetHexFromArr(Item.Hash100)"
|
||||
class="code">Hash100</th>
|
||||
</tr>
|
||||
</table>
|
||||
<INPUT type="button" onclick="ViewPrev(DefHash)" class="btdoit bt" value="<< Prev">
|
||||
<INPUT type="button" onclick="ViewNext(DefHash,CONFIG_DATA.MAX_ACCOUNT_HASH)" class="btdoit bt" value="Next >>">
|
||||
</DIV>
|
||||
|
||||
<DIV id="idUtilView" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">UTILITES<BR></DIV>
|
||||
<DIV id="idUtilView" style="display: none">
|
||||
<HR>
|
||||
<DIV id="view_header">UTILITES<BR></DIV>
|
||||
|
||||
Number of blocks in
|
||||
depth:<INPUT type="number" id="idBlockCount" onchange = "SaveValues()" value="0"><BR>
|
||||
<INPUT type="button" onclick="RestartNode()" class="bt btdoit btlong" value="Restart node">
|
||||
<INPUT type="button" onclick="RewriteTransactions()" class="bt btdoit btlong" value="Rewrite transactions">
|
||||
<INPUT type="button" onclick="TruncateBlockChain()" class="btdoit btlong bt" value="Truncate chain">
|
||||
<INPUT type="button" onclick="ClearDataBase();InitArrInfo();" class="btdoit btlong bt" value="Clear DataBase <!>">
|
||||
Number of blocks in
|
||||
depth:<INPUT type="number" id="idBlockCount" onchange = "SaveValues()" value="0"><BR>
|
||||
<INPUT type="button" onclick="RestartNode()" class="bt btdoit btlong" value="Restart node">
|
||||
<INPUT type="button" onclick="RewriteTransactions()" class="bt btdoit btlong" value="Rewrite transactions">
|
||||
<INPUT type="button" onclick="TruncateBlockChain()" class="btdoit btlong bt" value="Truncate chain">
|
||||
<INPUT type="button" onclick="ClearDataBase();InitArrInfo();" class="btdoit btlong bt" value="Clear DataBase <!>">
|
||||
|
||||
|
||||
|
||||
|
||||
<DIV id="idDevelopService2">
|
||||
<INPUT type="button" onclick="CleanChain()" class="bt btdoit btlong" value="Clean chain">
|
||||
<BR>
|
||||
<textarea id="idRunText" rows="8" cols="98" autofocus></textarea>
|
||||
<BR>
|
||||
<INPUT type="button" onclick="SetRun()" class="bt btdoit" value="Set run">
|
||||
<DIV id="idDevelopService2">
|
||||
<INPUT type="button" onclick="CleanChain()" class="bt btdoit btlong" value="Clean chain">
|
||||
<BR>
|
||||
<textarea id="idRunText" rows="8" cols="98" autofocus></textarea>
|
||||
<BR>
|
||||
<INPUT type="button" onclick="SetRun()" class="bt btdoit" value="Set run">
|
||||
</DIV>
|
||||
|
||||
<BR>
|
||||
<BR>
|
||||
|
||||
</DIV>
|
||||
</DIV>
|
||||
|
||||
</DIV>
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
|
||||
<BR>
|
||||
<DIV id="idServerBlock" style="width: 99.5%">
|
||||
<HR>
|
||||
Log from node:
|
||||
<DIV id="idServerLog"></DIV><BR>
|
||||
<BR>
|
||||
<DIV id="idServerBlock"
|
||||
style="width: 99.5%">
|
||||
<HR>
|
||||
Log from node:
|
||||
<DIV id="idServerLog"></DIV><BR>
|
||||
</DIV>
|
||||
|
||||
|
||||
<FORM id="idBlockPasswordSet"
|
||||
style="display: none">
|
||||
<H3 align="center">Enter new password:
|
||||
</H3>
|
||||
<table class="password"
|
||||
id="idTablePassword1">
|
||||
<tr style="display: none">
|
||||
<td>
|
||||
<DIV>Login:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="string" id="Login1" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Password:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="password" autocomplete="WalletPassword" id="idPassword1" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Repeat:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="password" autocomplete="WalletPassword" id="idPassword2" onkeyup="" value=""></td>
|
||||
</tr>
|
||||
<FORM id="idBlockPasswordSet"
|
||||
style="display: none">
|
||||
<H3 align="center">Enter new
|
||||
password:
|
||||
</H3>
|
||||
<table class="password"
|
||||
id="idTablePassword1">
|
||||
<tr style="display: none">
|
||||
<td>
|
||||
<DIV>Login:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="string" id="Login1" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Password:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="password" autocomplete="WalletPassword" id="idPassword1" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Repeat:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="password" autocomplete="WalletPassword" id="idPassword2" onkeyup="" value=""></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="SetPassword()" class="bt" value="Set">
|
||||
<INPUT type="button" onclick="CancelSetPassword()" class="bt" value="Cancel"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="SetPassword()" class="bt" value="Set">
|
||||
<INPUT type="button" onclick="CancelSetPassword()" class="bt" value="Cancel"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</FORM>
|
||||
<FORM id="idBlockPasswordGet"
|
||||
style="display: none">
|
||||
<H3 align="center">Enter your password:
|
||||
</H3>
|
||||
<table class="password"
|
||||
id="idTablePassword2">
|
||||
<tr style="display: none">
|
||||
<td>
|
||||
<DIV>Login:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="string" id="Login2" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Password:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="password" autocomplete="WalletPassword" id="idPasswordGet" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="SetPassword()" class="bt" value="Set">
|
||||
<INPUT type="button" onclick="CancelSetPassword()" class="bt" value="Cancel"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</FORM>
|
||||
</table>
|
||||
</FORM>
|
||||
<FORM id="idBlockPasswordGet"
|
||||
style="display: none">
|
||||
<H3 align="center">Enter your
|
||||
password:
|
||||
</H3>
|
||||
<table class="password"
|
||||
id="idTablePassword2">
|
||||
<tr style="display: none">
|
||||
<td>
|
||||
<DIV>Login:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="string" id="Login2" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<DIV>Password:</DIV>
|
||||
</td>
|
||||
<td><INPUT type="password" autocomplete="WalletPassword" id="idPasswordGet" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><INPUT type="button" onclick="SetPassword()" class="bt" value="Set">
|
||||
<INPUT type="button" onclick="CancelSetPassword()" class="bt" value="Cancel"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</FORM>
|
||||
|
||||
|
||||
|
||||
<DIV id="idBlockOnSend"
|
||||
style="display: none">
|
||||
<DIV align="center">
|
||||
Send <B id="idOnSendText"></B><BR>
|
||||
<button onclick="SendMoney2()" id="idBtOnSend" class="radius">Send</button>
|
||||
<button onclick='SetVisibleBlock("idBlockOnSend",0);' class="radius">Cancel</button>
|
||||
<DIV id="idBlockOnSend"
|
||||
style="display: none">
|
||||
<DIV align="center">
|
||||
Send
|
||||
<B id="idOnSendText"></B><BR>
|
||||
<button onclick="SendMoney2()" id="idBtOnSend" class="radius">Send</button>
|
||||
<button onclick='SetVisibleBlock("idBlockOnSend",0);' class="radius">Cancel</button>
|
||||
|
||||
<DIV align="left">
|
||||
<DIV id="idCheckOnSend">
|
||||
<input type="checkbox" id="idWhiteOnSend"/> Add this account to white list</DIV>
|
||||
<DIV align="left">
|
||||
<DIV id="idCheckOnSend">
|
||||
<input type="checkbox" id="idWhiteOnSend"/> Add this account to white list</DIV>
|
||||
</DIV>
|
||||
</DIV>
|
||||
</DIV>
|
||||
|
||||
|
||||
<audio style="visibility: hidden;"
|
||||
controls="controls"
|
||||
id="sound_coin">
|
||||
<source src="coin.mp3"
|
||||
type="audio/mpeg" />
|
||||
</audio>
|
||||
<audio style="visibility: hidden;"
|
||||
controls="controls"
|
||||
id="sound_err">
|
||||
<source src="click.mp3"
|
||||
type="audio/mpeg" />
|
||||
</audio>
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
|
||||
<audio style="visibility: hidden;"
|
||||
controls="controls" id="sound_coin">
|
||||
<source src="coin.mp3"
|
||||
type="audio/mpeg" />
|
||||
</audio>
|
||||
<audio style="visibility: hidden;"
|
||||
controls="controls" id="sound_err">
|
||||
<source src="click.mp3"
|
||||
type="audio/mpeg" />
|
||||
</audio>
|
||||
|
||||
|
||||
</DIV>
|
||||
|
||||
</DIV>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user