Browse Source

test

master
Satinder Grewal 8 years ago
parent
commit
c2ccd1db7d
  1. 17
      assets/scripts/dashboard.js
  2. 4
      index.html

17
assets/scripts/dashboard.js

@ -131,9 +131,9 @@ var Dashboard = function() {
} else { } else {
//console.log('wallet widget refereshed (every 1 seconds)'); //console.log('wallet widget refereshed (every 1 seconds)');
//Show Coin Progress Bars //Show Coin Progress Bars
ShowCoinProgressBar(AllcoinsDataOutput[value][index]); //ShowCoinProgressBar(AllcoinsDataOutput[value][index]);
if ( sessionStorage.getItem('Activate'+AllcoinsDataOutput[value][index]+'History') === 'Yes' ) { if ( sessionStorage.getItem('Activate'+AllcoinsDataOutput[value][index]+'History') === 'Yes' ) {
ShowCoinHistory(historyvalues); //ShowCoinHistory(historyvalues);
} }
} }
} }
@ -159,10 +159,13 @@ var Dashboard = function() {
} }
var handleWalletSendRec = function() { var handleWalletActionBtn = function() {
$('#dashboardedex-floating').click(function() {
console.log('floating btn clicked')
$('#dashboardedex-bar').toggleClass("active");
$('#currency-logo').click(function() {
console.log('hello!');
}); });
@ -184,7 +187,7 @@ var Dashboard = function() {
console.log('=> No wallet logged in. No need to run Dashboard JS.'); console.log('=> No wallet logged in. No need to run Dashboard JS.');
} else { } else {
handleWalletWidgets(); handleWalletWidgets();
//handleWalletSendRec(); handleWalletActionBtn();
//TotalFiatValue(); //TotalFiatValue();
} }
@ -210,7 +213,7 @@ var Dashboard = function() {
}(); }();
jQuery(document).ready(function() { jQuery(document).ready(function() {
Dashboard.init(); //Dashboard.init();
}); });

4
index.html

@ -482,8 +482,8 @@
</div> </div>
<!-- Site Action --> <!-- Site Action -->
<div class="site-action" data-plugin="actionBtn"> <div class="site-action" data-plugin="actionBtn" data-actionstatus="inactive" id="dashboardedex-bar">
<button type="button" class="site-action-toggle btn-raised btn btn-success btn-floating"> <button type="button" class="site-action-toggle btn-raised btn btn-success btn-floating" id="dashboardedex-floating">
<i class="front-icon md-plus animation-scale-up" aria-hidden="true"></i> <i class="front-icon md-plus animation-scale-up" aria-hidden="true"></i>
<i class="back-icon md-close animation-scale-up" aria-hidden="true"></i> <i class="back-icon md-close animation-scale-up" aria-hidden="true"></i>
</button> </button>

Loading…
Cancel
Save