Tue Jul 23 10:47:18 CST 2019 Source Update...
This commit is contained in:
@@ -64,7 +64,6 @@
|
||||
</div>
|
||||
<h1 class="welcome__title title">Welcome to TERA Wallet</h1>
|
||||
<p><a onclick="SelectTab('TabKeySet')" class="pointer">ATTENTION: Before using the wallet, save the private key.</a></p>
|
||||
<!--<a class="welcome__link btn" onclick="SelectTab('TabAccounts')">Open wallet</a>-->
|
||||
|
||||
<ul id="idStableScroll" align='center' class="social-list">
|
||||
<li class="social-list__item"><a href="https://terafoundation.org/">Web-site</a></li>
|
||||
@@ -85,7 +84,6 @@
|
||||
</div>
|
||||
<div class="wallet-settings__field key-field">
|
||||
<p class="key-field__title">Private key (secret)</p>
|
||||
<!--<button class="key-field__btn btn-no-bg" onclick="pasteKey(event, 'idPrivKeyEdit')">Paste</button>-->
|
||||
|
||||
<textarea name="private-key" id="idPrivKeyEdit" placeholder="Insert your private key or generate a new key below..." class="key-field__textarea" oninput="OnEditPrivKey()">
|
||||
</textarea>
|
||||
@@ -100,14 +98,12 @@
|
||||
<button class="btn wallet-settings__btn-270" id="okEditBtn" style="margin-bottom: 15px;" onclick="OnPrivKeyOK()">OK</button>
|
||||
<button class="btn btn--white wallet-settings__btn-270" id="cancelEditBtn" style="margin-bottom: 15px;" onclick="OnPrivKeyCancel()">Cancel</button>
|
||||
</div>
|
||||
<!--<button class="btn wallet-settings__go-btn" onclick="SelectTab('TabAccounts')">Go to accounts</button>-->
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<section id="TabKeySet" class="wallet-settings wallet-settings--info" style="display: none;">
|
||||
<div class="wallet-settings__title-wrap">
|
||||
<!--<a class="back-link" onclick="SelectTab('TabWelcome')"><span>Back</span></a>-->
|
||||
<h2 class="wallet-settings__title title">Key settings</h2>
|
||||
<a class="modal-lock pointer" id="idPasswordEdit" onclick="openModal('password-modal-set');"><svg width="14" height="18" viewBox="0 0 14 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.5 5V10H10.5H12H13C13.5523 10 14 10.4477 14 11V17C14 17.5523 13.5523 18 13 18H1C0.447716 18 0 17.5523 0 17V11C0 10.4477 0.447715 10 1 10H2V5C2 2.23858 4.23858 0 7 0C9.76142 0 12 2.23858 12 5V7H10.5V5C10.5 3.067 8.933 1.5 7 1.5C5.067 1.5 3.5 3.067 3.5 5Z" fill="var(--fill--password)" fill-opacity="0.2"/>
|
||||
@@ -210,29 +206,29 @@
|
||||
<li class="prod-list__item prod-card prod-card--line prod-card--switch find--switch" id="AccCardTemplate">
|
||||
<div class="prod-card__first-line">
|
||||
<span class="hidden id-sign">ID: </span>
|
||||
<a target='_blank' class="prod-card__id prod-card__id--mobile">{Item.Num}</a>
|
||||
<a onclick="OpenHistoryPage({Item.Num})" class="prod-card__id prod-card__id--mobile-active pointer">{Item.Num}</a>
|
||||
<a onclick="OpenHistoryPage({Item.Num})" target='_blank' class="prod-card__id prod-card__id--desktop pointer">{Item.Num}</a>
|
||||
<a target='_blank' class="prod-card__id prod-card__id--mobile">$Item.Num</a>
|
||||
<a onclick="OpenHistoryPage($Item.Num)" class="prod-card__id prod-card__id--mobile-active pointer">$Item.Num</a>
|
||||
<a onclick="OpenHistoryPage($Item.Num)" target='_blank' class="prod-card__id prod-card__id--desktop pointer">$Item.Num</a>
|
||||
<div class="prod-card__heading">
|
||||
<span class="prod-card__coins-count">{Value.SumCOIN}<sup>{Value.SumCENT}</sup><br>
|
||||
<span class="light-grey-text small-text mob-hidden">{Value.CurrencyName}</span>
|
||||
<span class="prod-card__coins-count">$Value.SumCOIN<sup>$Value.SumCENT</sup><br>
|
||||
<span class="light-grey-text small-text mob-hidden">$Value.CurrencyName</span>
|
||||
</span>
|
||||
<span class="prod-card__currency prod-card__currency--with-dot">
|
||||
<img src="{Value.CurrencyIconPath}" width="18" height="18" alt="">
|
||||
<img $value.currencyiconpath width="18" height="18" alt="">
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<span class="prod-card__descr light-grey-text">{Item.Name}</span>
|
||||
<span class="prod-card__descr light-grey-text">$Item.Name</span>
|
||||
</div>
|
||||
|
||||
<div class="prod-card__footer">
|
||||
<div class="prod-card__footer-wrap" >
|
||||
<a onclick="OpenDapps({SmartObj.Num},{Item.Num},{SmartObj.HTMLLength})" class="prod-card__link prod-card__link--dapp">
|
||||
<img src="{SmartObj.IconPath}" alt="." width="32" height="32">
|
||||
<span class="prod-card__dapp-name mob-hidden">{SmartObj.Name}</span>
|
||||
<a onclick="OpenDapps($SmartObj.Num,$Item.Num,$SmartObj.HTMLLength)" class="prod-card__link prod-card__link--dapp">
|
||||
<img $smartobj.iconpath alt="." width="32" height="32">
|
||||
<span class="prod-card__dapp-name mob-hidden">$SmartObj.Name</span>
|
||||
</a>
|
||||
|
||||
<a class="prod-card__link prod-card__link--connect" onclick="ConnectSmart({Item.Num})">
|
||||
<a class="prod-card__link prod-card__link--connect" onclick="ConnectSmart($Item.Num)">
|
||||
<svg class="prod-card__dapp-icon" width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="15" cy="15" r="14.5" fill="white" fill-opacity="0.01" stroke="#F2F2F2"/>
|
||||
<path d="M15.5 10H14.5V14.5H10V15.5H14.5V20H15.5V15.5H20V14.5H15.5V10Z" fill="#445368"/>
|
||||
@@ -240,19 +236,19 @@
|
||||
<span class="prod-card__dapp-text mob-hidden">Connect DApp...</span>
|
||||
</a>
|
||||
|
||||
<button type="button" class="prod-card__drop-btn btn-no-bg mob-hidden" onclick="showMenu({Item.Num})" onblur="closeMenu({Item.Num})">
|
||||
<button type="button" class="prod-card__drop-btn btn-no-bg mob-hidden" onclick="showMenu($Item.Num)" onblur="closeMenu($Item.Num)">
|
||||
<svg width="4" height="16" viewBox="0 0 4 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.5 2C3.5 2.82843 2.82843 3.5 2 3.5C1.17157 3.5 0.5 2.82843 0.5 2C0.5 1.17157 1.17157 0.5 2 0.5C2.82843 0.5 3.5 1.17157 3.5 2ZM3.5 8C3.5 8.82843 2.82843 9.5 2 9.5C1.17157 9.5 0.5 8.82843 0.5 8C0.5 7.17157 1.17157 6.5 2 6.5C2.82843 6.5 3.5 7.17157 3.5 8ZM2 15.5C2.82843 15.5 3.5 14.8284 3.5 14C3.5 13.1716 2.82843 12.5 2 12.5C1.17157 12.5 0.5 13.1716 0.5 14C0.5 14.8284 1.17157 15.5 2 15.5Z" fill="#445368"/>
|
||||
</svg>
|
||||
</button>
|
||||
<div class="prod-card__dropdown" style="display: none;" id="idBt{Item.Num}">
|
||||
<a class="editdapp" onclick="SetSmart({Item.Num},{SmartObj.Num})">Change dApp</a>
|
||||
<a class="editdapp" onclick="DelSmart({Item.Num},-1)">Disconnect dApp</a>
|
||||
<a onclick="DelAccount({Item.Num})">Hide account</a>
|
||||
<div class="prod-card__dropdown" style="display: none;" id="idBt$Item.Num">
|
||||
<a class="editdapp" onclick="SetSmart($Item.Num,$SmartObj.Num)">Change dApp</a>
|
||||
<a class="editdapp" onclick="DelSmart($Item.Num,-1)">Disconnect dApp</a>
|
||||
<a onclick="DelAccount($Item.Num)">Hide account</a>
|
||||
<a onclick="RestoreAllAccounts()">Show All accounts</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="prod-card__footer-empty" style="display: none;" onclick="ConnectSmart({Item.Num},{SmartObj.Num})"><span class="mob-hidden">Connect dapp...</span></a>
|
||||
<a class="prod-card__footer-empty" style="display: none;" onclick="ConnectSmart($Item.Num,$SmartObj.Num)"><span class="mob-hidden">Connect dapp...</span></a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -407,26 +403,19 @@
|
||||
<ul id="DappRowCardTemplate" class="grid prod-list">
|
||||
<li class="prod-card dapps-page__card">
|
||||
<div class="prod-card__first-line">
|
||||
<span class="prod-card__id light-grey-text">ID: {Item.Num}</span>
|
||||
<span class="prod-card__id light-grey-text">OWNER: {Item.Owner}</span>
|
||||
<a onclick="OpenDappCard({Item.Num})" class="prod-card__link prod-card__link--info">More info</a>
|
||||
<span class="prod-card__id light-grey-text">ID: $Item.Num</span>
|
||||
<span class="prod-card__id light-grey-text">OWNER: $Item.Owner</span>
|
||||
<a onclick="OpenDappCard($Item.Num)" class="prod-card__link prod-card__link--info">More info</a>
|
||||
</div>
|
||||
<div class="prod-card__second-line">
|
||||
<div class="prod-card__second-line-left">
|
||||
<div class="prod-card__heading">
|
||||
<a class="prod-card__link" onclick="OpenOnlyDapp({Item.Num},{Item.HTMLLength})">{Item.Name}</a>
|
||||
<!--<span class="lighter-grey-text">Without token generate</span>-->
|
||||
<!--<span class="dapp-modal__ok-token">Token generate</span>-->
|
||||
<a class="prod-card__link" onclick="OpenOnlyDapp($Item.Num,$Item.HTMLLength)">$Item.Name</a>
|
||||
</div>
|
||||
<p>{Item.Description}</p>
|
||||
<!-- <ol>-->
|
||||
<!--<li>Gaming & VR</li>-->
|
||||
<!--<li>Gaming & VR</li>-->
|
||||
<!--<li>Gaming & VR</li>-->
|
||||
<!--</ol> -->
|
||||
<p>$Item.Description</p>
|
||||
</div>
|
||||
<div class="prod-card__second-line-img">
|
||||
<a class="prod-card__link" onclick="OpenOnlyDapp({Item.Num},{Item.HTMLLength})"><img src="{Item.IconPath}" width="32"></a>
|
||||
<a class="prod-card__link" onclick="OpenOnlyDapp($Item.Num,$Item.HTMLLength)"><img $item.iconpath width="32"></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
@@ -436,9 +425,10 @@
|
||||
|
||||
<section id="TabExplorer" class="explorer-page" style="display: none;">
|
||||
<div id="idCurrentBlockNum" class="currentBlockNum">
|
||||
<p><span>Blockchain height:</span> <b id="idBHeight">26003136</b></p>
|
||||
<p><span>Current create:</span> <b id="idBCurrent">26003140</b></p>
|
||||
<p><span>Protocol ver:</span> <b id="idBVersion">0.1057</b></p>
|
||||
<p><span>Blockchain height:</span> <b id="idBHeight">00000000</b></p>
|
||||
<!--<p><span>Current create:</span> <b id="idBCurrent">00000000</b></p>-->
|
||||
<p><span>Protocol ver:</span> <b id="idBVersion">00000</b></p>
|
||||
<p><span>Wallet ver:</span> <b id="idWVersion">000</b></p>
|
||||
</div>
|
||||
|
||||
<button onclick="ViewCurrent(DefAccounts,1,this);" class="btview explorer-page__explore btn btn--white btn--full-width">Accounts</button>
|
||||
@@ -518,12 +508,12 @@
|
||||
<section class="dapp-modal modal" id="DappCardTemplate" style="display: none;">
|
||||
<div class="modal__header">
|
||||
<div class="modal__title-wrap">
|
||||
<span class="light-grey-text">ID: {Item.Num}</span>
|
||||
<h3>{Item.Name}</h3>
|
||||
<span class="light-grey-text">ID: $Item.Num</span>
|
||||
<h3>$Item.Name</h3>
|
||||
<ol class="modal__ol">
|
||||
<li class="modal__category dappcategory1">{Item.Category1}</li>
|
||||
<li class="modal__category dappcategory2">{Item.Category2}</li>
|
||||
<li class="modal__category dappcategory3">{Item.Category3}</li>
|
||||
<li class="modal__category dappcategory1">$Item.Category1</li>
|
||||
<li class="modal__category dappcategory2">$Item.Category2</li>
|
||||
<li class="modal__category dappcategory3">$Item.Category3</li>
|
||||
</ol>
|
||||
<p class="dapp-modal__token-status dapp-modal__token-status--ok">
|
||||
<!--<span class="light-grey-text">Without token generate</span>-->
|
||||
@@ -531,27 +521,27 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal__img-wrap">
|
||||
<img src="{Item.IconPath}" alt="dApp logo" width="32">
|
||||
<img $item.iconpath alt="dApp logo" width="32">
|
||||
</div>
|
||||
</div>
|
||||
<p>{Item.Description}</p>
|
||||
<p>$Item.Description</p>
|
||||
<dl class="modal__def-list def-list">
|
||||
<div class="def-list__item">
|
||||
<dt>Account</dt>
|
||||
<dd>{Item.Account}</dd>
|
||||
<dd>$Item.Account</dd>
|
||||
</div>
|
||||
<div class="def-list__item">
|
||||
<dt>Owner</dt>
|
||||
<dd>{Item.Owner}</dd>
|
||||
<dd>$Item.Owner</dd>
|
||||
</div>
|
||||
<div class="def-list__item">
|
||||
<dt>Block num</dt>
|
||||
<dd>{Item.BlockNum}</dd>
|
||||
<dd>$Item.BlockNum</dd>
|
||||
</div>
|
||||
</dl>
|
||||
|
||||
<div class="modal__btns-wrap">
|
||||
<button class="btn" onclick="OpenOnlyDapp({Item.Num},{Item.HTMLLength})">Open DApp</button>
|
||||
<button class="btn" onclick="OpenOnlyDapp($Item.Num,$Item.HTMLLength)">Open DApp</button>
|
||||
<button class="btn btn--white" onclick="closeModal()">Back</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user