Browse Source

extcoin-menu data attributes updated

master
Satinder Grewal 8 years ago
parent
commit
176461db26
  1. 3
      assets/scripts/kmd_wallet_dashboard.js
  2. 12
      assets/scripts/sidebar.js
  3. 20
      index.html

3
assets/scripts/kmd_wallet_dashboard.js

@ -3,7 +3,8 @@ var KMDWalletDashboard = function() {
var handle_KMD_Dashboard = function() { var handle_KMD_Dashboard = function() {
$('#btn_kmd_wallet_dashboard').click(function() { $('#btn_kmd_wallet_dashboard').click(function() {
//console.log('kmd wallet dashbaord button clicked...'); console.log('kmd wallet dashbaord button clicked...');
console.log($(this).data());
$('#kmd_wallet_dashoard_section').show(); $('#kmd_wallet_dashoard_section').show();
$('#kmd_wallet_dashboardinfo').show(); $('#kmd_wallet_dashboardinfo').show();
$('#kmd_wallet_send').hide(); $('#kmd_wallet_send').hide();

12
assets/scripts/sidebar.js

@ -68,6 +68,11 @@ $('#nav-easydex').on('click', function() {
}); });
$('#nav-komodo-wallet').on('click', function() { $('#nav-komodo-wallet').on('click', function() {
NProgress.done(true);
NProgress.configure({
template: '<div class="bar nprogress-bar-header nprogress-bar-info" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
});
NProgress.start();
$('#section-dashboard').hide(); $('#section-dashboard').hide();
$('#header-dashboard').hide(); $('#header-dashboard').hide();
$('#section-easydex').hide(); $('#section-easydex').hide();
@ -89,9 +94,15 @@ $('#nav-komodo-wallet').on('click', function() {
applyKMDWalletStyle(); applyKMDWalletStyle();
//removeZECWalletStyle(); //removeZECWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
NProgress.done();
}); });
$('#nav-zcash-wallet').on('click', function() { $('#nav-zcash-wallet').on('click', function() {
NProgress.done(true);
NProgress.configure({
template: '<div class="bar nprogress-bar-header nprogress-bar-info" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
});
NProgress.start();
$('#section-dashboard').hide(); $('#section-dashboard').hide();
$('#header-dashboard').hide(); $('#header-dashboard').hide();
$('#section-easydex').hide(); $('#section-easydex').hide();
@ -112,6 +123,7 @@ $('#nav-zcash-wallet').on('click', function() {
applyZECWalletStyle(); applyZECWalletStyle();
//removeKMDWalletStyle(); //removeKMDWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
NProgress.done();
}); });
$('#nav-iguana-atomic-explorer').on('click', function() { $('#nav-iguana-atomic-explorer').on('click', function() {

20
index.html

@ -376,13 +376,13 @@
<div id="kmd_header_button"> <div id="kmd_header_button">
<button type="button" id="easydex_kmd_wallet_actions_header" class="bg-teal-500 btn btn-floating white waves-effect waves-float waves-light" data-toggle="dropdown" aria-expanded="false" style="display: none;"><i class="icon md-plus" aria-hidden="true"></i></button> <button type="button" id="easydex_kmd_wallet_actions_header" class="bg-teal-500 btn btn-floating white waves-effect waves-float waves-light" data-toggle="dropdown" aria-expanded="false" style="display: none;"><i class="icon md-plus" aria-hidden="true"></i></button>
<ul class="dropdown-menu animate dropdown-menu-right" aria-labelledby="easydex_kmd_wallet_actions_header" role="menu" style=""> <ul class="dropdown-menu animate dropdown-menu-right" aria-labelledby="easydex_kmd_wallet_actions_header" role="menu" style="">
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_kmd_wallet_dashboard">Dashboard</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="KMD" id="btn_kmd_wallet_dashboard">Dashboard</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_kmd_wallet_send">Send</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="KMD" id="btn_kmd_wallet_send">Send</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_kmd_wallet_recieve">Recieve</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="KMD" id="btn_kmd_wallet_recieve">Recieve</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_kmd_wallet_transactions">Transactions</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="KMD" id="btn_kmd_wallet_transactions">Transactions</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_kmd_wallet_pax">PAX</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="KMD" id="btn_kmd_wallet_pax">PAX</a></li>
<li class="divider" role="presentation"></li> <li class="divider" role="presentation"></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_kmd_wallet_settings">Settings</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="KMD" id="btn_kmd_wallet_settings">Settings</a></li>
</ul> </ul>
</div> </div>
<!-- End KMD Wallet Header button --> <!-- End KMD Wallet Header button -->
@ -390,10 +390,10 @@
<div id="zec_header_button"> <div id="zec_header_button">
<button type="button" id="easydex_zec_wallet_actions_header" class="bg-yellow-600 btn btn-floating white waves-effect waves-float waves-light" data-toggle="dropdown" aria-expanded="false" style="display: none;"><i class="icon md-plus" aria-hidden="true"></i></button> <button type="button" id="easydex_zec_wallet_actions_header" class="bg-yellow-600 btn btn-floating white waves-effect waves-float waves-light" data-toggle="dropdown" aria-expanded="false" style="display: none;"><i class="icon md-plus" aria-hidden="true"></i></button>
<ul class="dropdown-menu animate dropdown-menu-right" aria-labelledby="easydex_zec_wallet_actions_header" role="menu" style=""> <ul class="dropdown-menu animate dropdown-menu-right" aria-labelledby="easydex_zec_wallet_actions_header" role="menu" style="">
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_zec_wallet_dashboard">Dashboard</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="ZEC" id="btn_zec_wallet_dashboard">Dashboard</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_zec_wallet_send">Send</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="ZEC" id="btn_zec_wallet_send">Send</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_zec_wallet_recieve">Recieve</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="ZEC" id="btn_zec_wallet_recieve">Recieve</a></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem" id="btn_zec_wallet_transactions">Transactions</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem" data-extcoin-menu="ZEC" id="btn_zec_wallet_transactions">Transactions</a></li>
<li class="divider" role="presentation"></li> <li class="divider" role="presentation"></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem">Settings</a></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem">Settings</a></li>
</ul> </ul>

Loading…
Cancel
Save