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 {
//console.log('wallet widget refereshed (every 1 seconds)');
//Show Coin Progress Bars
ShowCoinProgressBar(AllcoinsDataOutput[value][index]);
//ShowCoinProgressBar(AllcoinsDataOutput[value][index]);
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() {
$('#currency-logo').click(function() {
console.log('hello!');
$('#dashboardedex-floating').click(function() {
console.log('floating btn clicked')
$('#dashboardedex-bar').toggleClass("active");
});
@ -184,7 +187,7 @@ var Dashboard = function() {
console.log('=> No wallet logged in. No need to run Dashboard JS.');
} else {
handleWalletWidgets();
//handleWalletSendRec();
handleWalletActionBtn();
//TotalFiatValue();
}
@ -210,7 +213,7 @@ var Dashboard = function() {
}();
jQuery(document).ready(function() {
Dashboard.init();
//Dashboard.init();
});

4
index.html

@ -482,8 +482,8 @@
</div>
<!-- Site Action -->
<div class="site-action" data-plugin="actionBtn">
<button type="button" class="site-action-toggle btn-raised btn btn-success btn-floating">
<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" id="dashboardedex-floating">
<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>
</button>

Loading…
Cancel
Save