diff --git a/assets/scripts/kmd_wallet_dashboard.js b/assets/scripts/kmd_wallet_dashboard.js index f327472..8bfffc5 100644 --- a/assets/scripts/kmd_wallet_dashboard.js +++ b/assets/scripts/kmd_wallet_dashboard.js @@ -3,7 +3,8 @@ var KMDWalletDashboard = function() { var handle_KMD_Dashboard = 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_dashboardinfo').show(); $('#kmd_wallet_send').hide(); diff --git a/assets/scripts/sidebar.js b/assets/scripts/sidebar.js index 1063cd6..b8c9a6c 100644 --- a/assets/scripts/sidebar.js +++ b/assets/scripts/sidebar.js @@ -68,6 +68,11 @@ $('#nav-easydex').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(); $('#header-dashboard').hide(); $('#section-easydex').hide(); @@ -89,9 +94,15 @@ $('#nav-komodo-wallet').on('click', function() { applyKMDWalletStyle(); //removeZECWalletStyle(); CommonSidebarActionsSet02(); + NProgress.done(); }); $('#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(); $('#header-dashboard').hide(); $('#section-easydex').hide(); @@ -112,6 +123,7 @@ $('#nav-zcash-wallet').on('click', function() { applyZECWalletStyle(); //removeKMDWalletStyle(); CommonSidebarActionsSet02(); + NProgress.done(); }); $('#nav-iguana-atomic-explorer').on('click', function() { diff --git a/index.html b/index.html index 75d02be..fc9d5b5 100755 --- a/index.html +++ b/index.html @@ -376,13 +376,13 @@ <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> <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" 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" 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_dashboard">Dashboard</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" data-extcoin-menu="KMD" 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_transactions">Transactions</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 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> </div> <!-- End KMD Wallet Header button --> @@ -390,10 +390,10 @@ <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> <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" 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" 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_dashboard">Dashboard</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" data-extcoin-menu="ZEC" 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_transactions">Transactions</a></li> <li class="divider" role="presentation"></li> <li role="presentation"><a href="javascript:void(0)" role="menuitem">Settings</a></li> </ul>