|
@ -1,22 +1,31 @@ |
|
|
// DOM Ready =============================================================
|
|
|
// DOM Ready =============================================================
|
|
|
$(document).ready(function() { |
|
|
$(document).ready(function() { |
|
|
$('#section-dashboard').show(); |
|
|
$('#section-dashboard').show(); |
|
|
$('#section-easydex').hide(); |
|
|
$( |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
$('#section-extcoin').hide(); |
|
|
'#section-jumblr,' + |
|
|
$('#section-zcash').hide(); |
|
|
'#section-extcoin,' + |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#section-zcash,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#section-iguana-atomic-explorer,' + |
|
|
$('#section-about-iguana').hide(); |
|
|
'#section-iguana-wallet-settings,' + |
|
|
$('#nav-dashboard').removeClass( '' ).addClass( 'active open' ); |
|
|
'#section-about-iguana' |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
.hide(); |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
$('#nav-dashboard') |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( '' ) |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
.addClass( 'active open' ); |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
$( |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-easydex,' + |
|
|
$(".header-easydex-section").text(_lang[defaultLang].INDEX.DASHBOARD); |
|
|
'#nav-jumblr,' + |
|
|
|
|
|
'#nav-komodo-wallet,' + |
|
|
|
|
|
'#nav-zcash-wallet,' + |
|
|
|
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
|
|
|
'#nav-iguana-wallet-settings,' + |
|
|
|
|
|
'#nav-about-iguana' |
|
|
|
|
|
) |
|
|
|
|
|
.removeClass( 'active open' ) |
|
|
|
|
|
.addClass( '' ); |
|
|
|
|
|
$('.header-easydex-section').text(_lang[defaultLang].INDEX.DASHBOARD); |
|
|
|
|
|
|
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
@ -32,22 +41,32 @@ $('#nav-dashboard').on('click', function() { |
|
|
if (active_edexcoin !== 'COIN') { |
|
|
if (active_edexcoin !== 'COIN') { |
|
|
$('#header-dashboard').show(); |
|
|
$('#header-dashboard').show(); |
|
|
} |
|
|
} |
|
|
$('#section-easydex').hide(); |
|
|
$( |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
$('#section-extcoin').hide(); |
|
|
'#section-jumblr,' + |
|
|
$('#section-zcash').hide(); |
|
|
'#section-extcoin,' + |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#section-zcash,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#section-iguana-atomic-explorer,' + |
|
|
$('#section-about-iguana').hide(); |
|
|
'#section-iguana-wallet-settings,' + |
|
|
$('#nav-dashboard').removeClass( '' ).addClass( 'active open' ); |
|
|
'#section-about-iguana' |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
.hide(); |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
$('#nav-dashboard') |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( '' ) |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
.addClass( 'active open' ); |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
$( |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-easydex,' + |
|
|
$(".header-easydex-section").text(_lang[defaultLang].INDEX.DASHBOARD); |
|
|
'#nav-jumblr,' + |
|
|
|
|
|
'#nav-komodo-wallet,' + |
|
|
|
|
|
'#nav-zcash-wallet,' + |
|
|
|
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
|
|
|
'#nav-iguana-wallet-settings,' + |
|
|
|
|
|
'#nav-about-iguana' |
|
|
|
|
|
) |
|
|
|
|
|
.removeClass( 'active open' ) |
|
|
|
|
|
.addClass( '' ); |
|
|
|
|
|
$('.header-easydex-section').text(_lang[defaultLang].INDEX.DASHBOARD); |
|
|
|
|
|
|
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$(this.parentElement).addClass('active'); |
|
|
$(this.parentElement).addClass('active'); |
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
@ -59,26 +78,36 @@ $('#nav-dashboard').on('click', function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$('#nav-easydex').on('click', function() { |
|
|
$('#nav-easydex').on('click', function() { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
|
|
|
'#section-dashboard,' + |
|
|
|
|
|
'#section-jumblr,' + |
|
|
|
|
|
'#section-extcoin,' + |
|
|
|
|
|
'#section-zcash,' + |
|
|
|
|
|
'#section-about-iguana,' + |
|
|
|
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-iguana-wallet-settings' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-easydex').show(); |
|
|
$('#section-easydex').show(); |
|
|
$('#section-jumblr').hide(); |
|
|
$('#nav-easydex') |
|
|
$('#section-extcoin').hide(); |
|
|
.removeClass( '' ) |
|
|
$('#section-zcash').hide(); |
|
|
.addClass( 'active open' ); |
|
|
$('#section-about-iguana').hide(); |
|
|
$( |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#nav-dashboard,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#nav-komodo-wallet,' + |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-easydex').removeClass( '' ).addClass( 'active open' ); |
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-wallet-settings,' + |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-about-iguana' |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( 'active open' ) |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
.addClass( '' ); |
|
|
$('.page-header-bordered h1').text('EasyDEX'); |
|
|
$('.page-header-bordered h1').text('EasyDEX'); |
|
|
$(".header-easydex-section").text(_lang[defaultLang].SIDEBAR.EDEX_MOTTO); |
|
|
$('.header-easydex-section').text(_lang[defaultLang].SIDEBAR.EDEX_MOTTO); |
|
|
|
|
|
|
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$(this.parentElement).addClass('active') |
|
|
$(this.parentElement).addClass('active'); |
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeJumblrStyle(); |
|
|
removeJumblrStyle(); |
|
@ -88,27 +117,37 @@ $('#nav-easydex').on('click', function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$('#nav-jumblr').on('click', function() { |
|
|
$('#nav-jumblr').on('click', function() { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#section-dashboard,' + |
|
|
|
|
|
'#section-easydex,' + |
|
|
|
|
|
'#section-extcoin,' + |
|
|
|
|
|
'#section-zcash,' + |
|
|
|
|
|
'#section-about-iguana,' + |
|
|
|
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-iguana-wallet-settings' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-jumblr').show(); |
|
|
$('#section-jumblr').show(); |
|
|
$('#section-extcoin').hide(); |
|
|
$( |
|
|
$('#section-zcash').hide(); |
|
|
'#nav-dashboard,' + |
|
|
$('#section-about-iguana').hide(); |
|
|
'#nav-easydex,' + |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#nav-komodo-wallet,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-wallet-settings,' + |
|
|
$('#nav-jumblr').removeClass( '' ).addClass( 'active open' ); |
|
|
'#nav-about-iguana' |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( 'active open' ) |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
.addClass( '' ); |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
$('#nav-jumblr') |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( '' ) |
|
|
|
|
|
.addClass( 'active open' ); |
|
|
$('.page-header-bordered h1').text('Jumblr') |
|
|
$('.page-header-bordered h1').text('Jumblr') |
|
|
//$(".header-easydex-section").text('Secure, Native and Decentralised Coin Shuffling');
|
|
|
//$(".header-easydex-section").text('Secure, Native and Decentralised Coin Shuffling');
|
|
|
|
|
|
|
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$(this.parentElement).addClass('active') |
|
|
$(this.parentElement).addClass('active'); |
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeACPAXWalletStyle(); |
|
|
removeACPAXWalletStyle(); |
|
@ -118,23 +157,32 @@ $('#nav-jumblr').on('click', function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$('#nav-komodo-wallet').on('click', function() { |
|
|
$('#nav-komodo-wallet').on('click', function() { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#section-dashboard,' + |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
|
|
|
'#section-jumblr,' + |
|
|
|
|
|
'#section-zcash,' + |
|
|
|
|
|
'#section-about-iguana,' + |
|
|
|
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-iguana-wallet-settings' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-extcoin').show(); |
|
|
$('#section-extcoin').show(); |
|
|
$('#section-zcash').hide(); |
|
|
$( |
|
|
$('#section-about-iguana').hide(); |
|
|
'#nav-dashboard,' + |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#nav-easydex,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#nav-jumblr,' + |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-wallet-settings,' + |
|
|
$('#nav-komodo-wallet').removeClass( '' ).addClass( 'active open' ); |
|
|
'#nav-about-iguana' |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( 'active open' ) |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
.addClass( '' ); |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
$('#nav-komodo-wallet') |
|
|
|
|
|
.removeClass( '' ) |
|
|
|
|
|
.addClass( 'active open' ); |
|
|
|
|
|
|
|
|
$.each($('[data-extcoin]'), function(index, value) { |
|
|
$.each($('[data-extcoin]'), function(index, value) { |
|
|
$('[data-extcoin]').attr('data-extcoin', 'KMD'); |
|
|
$('[data-extcoin]').attr('data-extcoin', 'KMD'); |
|
@ -167,25 +215,34 @@ $('#nav-zcash-wallet').on('click', function() { |
|
|
'</div>' |
|
|
'</div>' |
|
|
}); |
|
|
}); |
|
|
NProgress.start(); |
|
|
NProgress.start(); |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#section-dashboard,' + |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
$('#section-extcoin').hide(); |
|
|
'#section-jumblr,' + |
|
|
|
|
|
'#section-extcoin,' + |
|
|
|
|
|
'#section-about-iguana,' + |
|
|
|
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-iguana-wallet-settings' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
// $('#section-zcash').show();
|
|
|
// $('#section-zcash').show();
|
|
|
$('#section-extcoin').show(); |
|
|
$('#section-extcoin').show(); |
|
|
$('#section-about-iguana').hide(); |
|
|
$( |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#nav-dashboard,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#nav-easydex,' + |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-jumblr,' + |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-komodo-wallet,' + |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-wallet-settings,' + |
|
|
$('#nav-zcash-wallet').removeClass( '' ).addClass( 'active open' ); |
|
|
'#nav-about-iguana' |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
.removeClass( 'active open' ) |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
.addClass( '' ); |
|
|
$(".header-easydex-section").text(_lang[defaultLang].INDEX.ZC_WALLET); |
|
|
$('#nav-zcash-wallet') |
|
|
|
|
|
.removeClass( '' ) |
|
|
|
|
|
.addClass( 'active open' ); |
|
|
|
|
|
$('.header-easydex-section').text(_lang[defaultLang].INDEX.ZC_WALLET); |
|
|
|
|
|
|
|
|
$.each($('[data-extcoin]'), function(index, value) { |
|
|
$.each($('[data-extcoin]'), function(index, value) { |
|
|
$('[data-extcoin]').attr('data-extcoin', 'ZEC'); |
|
|
$('[data-extcoin]').attr('data-extcoin', 'ZEC'); |
|
@ -210,24 +267,34 @@ $('#nav-zcash-wallet').on('click', function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$('#nav-iguana-atomic-explorer').on('click', function() { |
|
|
$('#nav-iguana-atomic-explorer').on('click', function() { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#section-dashboard,' + |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
$('#section-extcoin').hide(); |
|
|
'#section-jumblr,' + |
|
|
$('#section-zcash').hide(); |
|
|
'#section-extcoin,' + |
|
|
|
|
|
'#section-zcash,' + |
|
|
|
|
|
'#section-iguana-wallet-settings,' + |
|
|
|
|
|
'#section-about-iguana' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-iguana-atomic-explorer').show(); |
|
|
$('#section-iguana-atomic-explorer').show(); |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
$( |
|
|
$('#section-about-iguana').hide(); |
|
|
'#nav-dashboard,' + |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-easydex,' + |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-jumblr,' + |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-komodo-wallet,' + |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-about-iguana,' + |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-wallet-settings' |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
$('#nav-iguana-atomic-explorer').removeClass( '' ).addClass( 'active open' ); |
|
|
.removeClass( 'active open' ) |
|
|
$(".header-easydex-section").text('Atomic Explorer'); |
|
|
.addClass( '' ); |
|
|
|
|
|
$('#nav-iguana-atomic-explorer') |
|
|
|
|
|
.removeClass( '' ) |
|
|
|
|
|
.addClass( 'active open' ); |
|
|
|
|
|
$('.header-easydex-section').text('Atomic Explorer'); |
|
|
|
|
|
|
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$.each($('.nav-top-menu'), function(index, value) { $(value).removeClass('active'); }); |
|
|
$(this.parentElement).addClass('active'); |
|
|
$(this.parentElement).addClass('active'); |
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
@ -240,23 +307,31 @@ $('#nav-iguana-atomic-explorer').on('click', function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$('#nav-iguana-wallet-settings').on('click', function() { |
|
|
$('#nav-iguana-wallet-settings').on('click', function() { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#section-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
$('#section-extcoin').hide(); |
|
|
'#section-jumblr,' + |
|
|
$('#section-zcash').hide(); |
|
|
'#section-extcoin,' + |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#section-zcash,' + |
|
|
|
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-about-iguana' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-iguana-wallet-settings').show(); |
|
|
$('#section-iguana-wallet-settings').show(); |
|
|
$('#section-about-iguana').hide(); |
|
|
$( |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-dashboard,' + |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-easydex,' + |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-jumblr,' + |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-komodo-wallet,' + |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-about-iguana,' + |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-atomic-explorer' |
|
|
$('#nav-iguana-wallet-settings').removeClass( '' ).addClass( 'active open' ); |
|
|
) |
|
|
|
|
|
.removeClass( 'active open' ).addClass( '' ); |
|
|
|
|
|
$('#nav-iguana-wallet-settings') |
|
|
|
|
|
.removeClass( '' ) |
|
|
|
|
|
.addClass( 'active open' ); |
|
|
// $(".header-easydex-section").text("Wallet Settings");
|
|
|
// $(".header-easydex-section").text("Wallet Settings");
|
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
@ -269,24 +344,33 @@ $('#nav-iguana-wallet-settings').on('click', function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
$('#nav-about-iguana').on('click', function() { |
|
|
$('#nav-about-iguana').on('click', function() { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#section-dashboard,' + |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
$('#section-extcoin').hide(); |
|
|
'#section-jumblr,' + |
|
|
$('#section-zcash').hide(); |
|
|
'#section-extcoin,' + |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
'#section-zcash,' + |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-iguana-wallet-settings' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-about-iguana').show(); |
|
|
$('#section-about-iguana').show(); |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
$( |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-dashboard,' + |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-easydex,' + |
|
|
$('#nav-komodo-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-jumblr,' + |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-komodo-wallet,' + |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
$('#nav-about-iguana').removeClass( '' ).addClass( 'active open' ); |
|
|
'#nav-iguana-wallet-settings' |
|
|
$(".header-easydex-section").text('About Iguana'); |
|
|
) |
|
|
|
|
|
.removeClass( 'active open' ) |
|
|
|
|
|
.addClass( '' ); |
|
|
|
|
|
$('#nav-about-iguana') |
|
|
|
|
|
.removeClass( '' ) |
|
|
|
|
|
.addClass( 'active open' ); |
|
|
|
|
|
$('.header-easydex-section').text('About Iguana'); |
|
|
removeKMDWalletStyle(); |
|
|
removeKMDWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeZECWalletStyle(); |
|
|
removeJumblrStyle(); |
|
|
removeJumblrStyle(); |
|
@ -296,40 +380,49 @@ $('#nav-about-iguana').on('click', function() { |
|
|
$('#easydex-header-div').hide(); |
|
|
$('#easydex-header-div').hide(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ASSETCHAINS AND PAXCHAINS SIDE MENU
|
|
|
// ASSETCHAINS AND PAXCHAINS SIDE MENU
|
|
|
|
|
|
|
|
|
function assetchain_pax_menu_actions(coin) { |
|
|
function assetchain_pax_menu_actions(coin) { |
|
|
$('#section-dashboard').hide(); |
|
|
$( |
|
|
$('#header-dashboard').hide(); |
|
|
'#header-dashboard,' + |
|
|
$('#section-easydex').hide(); |
|
|
'#section-dashboard,' + |
|
|
$('#section-jumblr').hide(); |
|
|
'#section-easydex,' + |
|
|
|
|
|
'#section-jumblr,' + |
|
|
|
|
|
'#section-zcash,' + |
|
|
|
|
|
'#section-about-iguana,' + |
|
|
|
|
|
'#section-iguana-atomic-explorer,' + |
|
|
|
|
|
'#section-iguana-wallet-settings' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#section-extcoin').show(); |
|
|
$('#section-extcoin').show(); |
|
|
$('#section-zcash').hide(); |
|
|
$('#nav-komodo-wallet') |
|
|
$('#section-about-iguana').hide(); |
|
|
.removeClass( '' ) |
|
|
$('#section-iguana-atomic-explorer').hide(); |
|
|
.addClass( 'active open' ); |
|
|
$('#section-iguana-wallet-settings').hide(); |
|
|
$( |
|
|
$('#nav-dashboard').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-dashboard,' + |
|
|
$('#nav-easydex').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-easydex,' + |
|
|
$('#nav-jumblr').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-jumblr,' + |
|
|
$('#nav-komodo-wallet').removeClass( '' ).addClass( 'active open' ); |
|
|
'#nav-zcash-wallet,' + |
|
|
$('#nav-zcash-wallet').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-atomic-explorer,' + |
|
|
$('#nav-iguana-atomic-explorer').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-iguana-wallet-settings,' + |
|
|
$('#nav-iguana-wallet-settings').removeClass( 'active open' ).addClass( '' ); |
|
|
'#nav-about-iguana' |
|
|
$('#nav-about-iguana').removeClass( 'active open' ).addClass( '' ); |
|
|
) |
|
|
|
|
|
.removeClass( 'active open' ) |
|
|
|
|
|
.addClass( '' ); |
|
|
|
|
|
|
|
|
$.each($('[data-extcoin]'), function(index, value) { |
|
|
$.each($('[data-extcoin]'), function(index, value) { |
|
|
$('[data-extcoin]').attr('data-extcoin', coin); |
|
|
$('[data-extcoin]').attr('data-extcoin', coin); |
|
|
$('[data-extcoin='+coin+']'); |
|
|
$('[data-extcoin=' + coin + ']'); |
|
|
}); |
|
|
}); |
|
|
$.each($('[data-extcoinname]'), function(index, value) { |
|
|
$.each($('[data-extcoinname]'), function(index, value) { |
|
|
$('[data-extcoinname]').text(coin); |
|
|
$('[data-extcoinname]').text(coin); |
|
|
$('[data-extcoinname='+coin+']'); |
|
|
$('[data-extcoinname=' + coin + ']'); |
|
|
}); |
|
|
}); |
|
|
$.each($('[data-extcointitle]'), function(index, value) { |
|
|
$.each($('[data-extcointitle]'), function(index, value) { |
|
|
$('[data-extcointitle]').text(coin); |
|
|
$('[data-extcointitle]').text(coin); |
|
|
$('[data-extcointitle='+coin+']'); |
|
|
$('[data-extcointitle=' + coin + ']'); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
KMDWalletDashboard.init(); // Initiate Komodo Dashboard sript
|
|
|
KMDWalletDashboard.init(); // Initiate Komodo Dashboard sript
|
|
|
RunKMDInitFunctions(); |
|
|
RunKMDInitFunctions(); |
|
|
removeJumblrStyle(); |
|
|
removeJumblrStyle(); |
|
@ -342,54 +435,66 @@ function assetchain_pax_menu_actions(coin) { |
|
|
|
|
|
|
|
|
switch (coin) { |
|
|
switch (coin) { |
|
|
case 'SUPERNET': |
|
|
case 'SUPERNET': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'REVS': |
|
|
case 'REVS': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css(); |
|
|
$('#easydex-header-div').css(); |
|
|
break; |
|
|
break; |
|
|
case 'WIRELESS': |
|
|
case 'WIRELESS': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/wireless_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/wireless_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/wireless_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/wireless_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'PANGEA': |
|
|
case 'PANGEA': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'DEX': |
|
|
case 'DEX': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'JUMBLR': |
|
|
case 'JUMBLR': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css(); |
|
|
$('#easydex-header-div').css(); |
|
|
break; |
|
|
break; |
|
|
case 'BET': |
|
|
case 'BET': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/wireless_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/wireless_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/wireless_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/wireless_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'CRYPTO': |
|
|
case 'CRYPTO': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'HODL': |
|
|
case 'HODL': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css(); |
|
|
$('#easydex-header-div').css(); |
|
|
break; |
|
|
break; |
|
|
case 'SHARK': |
|
|
case 'SHARK': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/wireless_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/wireless_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/wireless_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/wireless_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'BOTS': |
|
|
case 'BOTS': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'MGW': |
|
|
case 'MGW': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css(); |
|
|
$('#easydex-header-div').css(); |
|
|
break; |
|
|
break; |
|
@ -398,11 +503,13 @@ function assetchain_pax_menu_actions(coin) { |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/mvp_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/mvp_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'KV': |
|
|
case 'KV': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/supernet_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
case 'CEAL': |
|
|
case 'CEAL': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/ceal_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/ceal_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/ceal_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/ceal_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css(); |
|
|
$('#easydex-header-div').css(); |
|
|
break; |
|
|
break; |
|
@ -410,13 +517,14 @@ function assetchain_pax_menu_actions(coin) { |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/mesh_header_title_logo.png">'); |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/mesh_header_title_logo.png">'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/mesh_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/mesh_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
case 'USD': |
|
|
case 'USD': |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/usd_header_title_logo.png"> <span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section') |
|
|
|
|
|
.html('<img src="assets/images/native/usd_header_title_logo.png"> <span style="font-size: 35px; vertical-align: middle">' + coin + '</span>'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/usd_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/usd_transparent_header_bg.png")'); |
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|
$('.header-easydex-section').html('<span style="font-size: 35px; vertical-align:middle;">'+ coin + '</span>'); |
|
|
$('.header-easydex-section').html('<span style="font-size: 35px; vertical-align: middle">'+ coin + '</span>'); |
|
|
|
|
|
break; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -426,7 +534,7 @@ function CommonSidebarActionsSet01() { |
|
|
sessionStorage.setItem('DashboardActions', 'start'); |
|
|
sessionStorage.setItem('DashboardActions', 'start'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
// $(document).ready(function() { Dashboard.init(); });
|
|
|
// $(document).ready(function() { Dashboard.init(); });
|
|
|
$("#wifkeys_passphrase").val(''); |
|
|
$('#wifkeys_passphrase').val(''); |
|
|
$('#wif-priv-keys').html(''); |
|
|
$('#wif-priv-keys').html(''); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -434,27 +542,32 @@ function CommonSidebarActionsSet011() { |
|
|
sessionStorage.setItem('DashboardActions', 'start'); |
|
|
sessionStorage.setItem('DashboardActions', 'start'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
// location.reload();
|
|
|
// location.reload();
|
|
|
$("#wifkeys_passphrase").val(''); |
|
|
$('#wifkeys_passphrase').val(''); |
|
|
$('#wif-priv-keys').html(''); |
|
|
$('#wif-priv-keys').html(''); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function CommonSidebarActionsSet02() { |
|
|
function CommonSidebarActionsSet02() { |
|
|
sessionStorage.setItem('DashboardActions', 'stop'); |
|
|
sessionStorage.setItem('DashboardActions', 'stop'); |
|
|
$("#wifkeys_passphrase").val(''); |
|
|
$('#wifkeys_passphrase').val(''); |
|
|
$('#wif-priv-keys').html(''); |
|
|
$('#wif-priv-keys').html(''); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function applyKMDWalletStyle() { |
|
|
function applyKMDWalletStyle() { |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/kmd_header_title_logo.png">'); |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/kmd_header_title_logo.png">'); |
|
|
$('.page-title').hide(); |
|
|
$('.page-title').hide(); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/kmd_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css({ |
|
|
$('#easydex-header-div').css('background-repeat', 'no-repeat'); |
|
|
'background-image': 'url("assets/images/bg/kmd_transparent_header_bg.png")', |
|
|
$('#easydex-header-div').css('background-position', '0%'); |
|
|
'background-repeat': 'no-repeat', |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
'background-position': '0%' |
|
|
$('#easydex_kmd_wallet_actions_header').show(); |
|
|
}); |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
$( |
|
|
$('#jumblr_actions_header').hide(); |
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
|
|
|
'#easydex_zec_wallet_actions_header,' + |
|
|
|
|
|
'#jumblr_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
getTotalKMDBalance(); |
|
|
getTotalKMDBalance(); |
|
|
} |
|
|
} |
|
@ -462,25 +575,33 @@ function applyKMDWalletStyle() { |
|
|
function removeKMDWalletStyle() { |
|
|
function removeKMDWalletStyle() { |
|
|
$('.page-title').show(); |
|
|
$('.page-title').show(); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
$( |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
$('#jumblr_actions_header').hide(); |
|
|
'#easydex_zec_wallet_actions_header,' + |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#jumblr_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function applyZECWalletStyle() { |
|
|
function applyZECWalletStyle() { |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/zec_header_title_logo.png">'); |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/zec_header_title_logo.png">'); |
|
|
$('.page-title').hide(); |
|
|
$('.page-title').hide(); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/zec_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css({ |
|
|
$('#easydex-header-div').css('background-repeat', 'no-repeat'); |
|
|
'background-image': 'url("assets/images/bg/zec_transparent_header_bg.png")', |
|
|
$('#easydex-header-div').css('background-position', '0%'); |
|
|
'background-repeat': 'no-repeat', |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
'background-position': '0%' |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
}); |
|
|
$('#easydex_zec_wallet_actions_header').show(); |
|
|
$('#easydex_zec_wallet_actions_header').show(); |
|
|
$('#jumblr_actions_header').hide(); |
|
|
$( |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
|
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
|
|
|
'#jumblr_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
getTotalKMDBalance(); |
|
|
getTotalKMDBalance(); |
|
|
} |
|
|
} |
|
@ -488,48 +609,63 @@ function applyZECWalletStyle() { |
|
|
function removeZECWalletStyle() { |
|
|
function removeZECWalletStyle() { |
|
|
$('.page-title').show(); |
|
|
$('.page-title').show(); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
$( |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
$('#jumblr_actions_header').hide(); |
|
|
'#easydex_zec_wallet_actions_header,' + |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#jumblr_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function applyJumblrStyle() { |
|
|
function applyJumblrStyle() { |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/jumblr_header_title_logo.png"><br>' + _lang[defaultLang].SIDEBAR.JUMBLR_MOTTO); |
|
|
$('.header-easydex-section').html('<img src="assets/images/native/jumblr_header_title_logo.png"><br>' + _lang[defaultLang].SIDEBAR.JUMBLR_MOTTO); |
|
|
$('.page-title').hide(); |
|
|
$('.page-title').hide(); |
|
|
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/jumblr_transparent_header_bg.png")'); |
|
|
$('#easydex-header-div').css({ |
|
|
$('#easydex-header-div').css('background-repeat', 'no-repeat'); |
|
|
'background-image': 'url("assets/images/bg/jumblr_transparent_header_bg.png")', |
|
|
$('#easydex-header-div').css('background-position', '0%'); |
|
|
'background-repeat': 'no-repeat', |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
'background-position': '0%' |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
}); |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
$( |
|
|
|
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
|
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
|
|
|
'#easydex_zec_wallet_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#jumblr_actions_header').show(); |
|
|
$('#jumblr_actions_header').show(); |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
|
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function removeJumblrStyle() { |
|
|
function removeJumblrStyle() { |
|
|
$('.page-title').show(); |
|
|
$('.page-title').show(); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
$( |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
$('#jumblr_actions_header').hide(); |
|
|
'#jumblr_actions_header,' + |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function applyACPAXWalletStyle() { |
|
|
function applyACPAXWalletStyle() { |
|
|
$('.page-title').hide(); |
|
|
$('.page-title').hide(); |
|
|
$('#easydex-header-div').css('background-repeat', 'no-repeat'); |
|
|
$('#easydex-header-div').css({ |
|
|
$('#easydex-header-div').css('background-position', '0%'); |
|
|
'background-repeat': 'no-repeat', |
|
|
|
|
|
'background-position': '0%' |
|
|
|
|
|
}); |
|
|
$('#easydex_acpax_wallet_actions_header').show(); |
|
|
$('#easydex_acpax_wallet_actions_header').show(); |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
$( |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
$('#jumblr_actions_header').hide(); |
|
|
'#easydex_zec_wallet_actions_header,' + |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#jumblr_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'start'); |
|
|
getTotalKMDBalance(); |
|
|
getTotalKMDBalance(); |
|
|
} |
|
|
} |
|
@ -537,25 +673,34 @@ function applyACPAXWalletStyle() { |
|
|
function removeACPAXWalletStyle() { |
|
|
function removeACPAXWalletStyle() { |
|
|
$('.page-title').show(); |
|
|
$('.page-title').show(); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex-header-div').removeAttr( 'style' ); |
|
|
$('#easydex_acpax_wallet_actions_header').hide(); |
|
|
$( |
|
|
$('#easydex_kmd_wallet_actions_header').hide(); |
|
|
'#easydex_acpax_wallet_actions_header,' + |
|
|
$('#easydex_zec_wallet_actions_header').hide(); |
|
|
'#easydex_kmd_wallet_actions_header,' + |
|
|
$('#jumblr_actions_header').hide(); |
|
|
'#easydex_zec_wallet_actions_header,' + |
|
|
$('#easydex_btc_btcd_balances_header').hide(); |
|
|
'#jumblr_actions_header,' + |
|
|
|
|
|
'#easydex_btc_btcd_balances_header' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
sessionStorage.setItem('NativeWalletActions', 'stop'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function applyDashboardStyle() { |
|
|
function applyDashboardStyle() { |
|
|
$('.page-aside').show(); |
|
|
$( |
|
|
$('.page-main').show(); |
|
|
'.page-aside,' + |
|
|
|
|
|
'.page-main' |
|
|
|
|
|
) |
|
|
|
|
|
.show(); |
|
|
/* set default map height */ |
|
|
/* set default map height */ |
|
|
var navbarH = $('.site-navbar').outerHeight(), |
|
|
var navbarH = $('.site-navbar').outerHeight(), |
|
|
footerH = $('.site-footer').outerHeight(), |
|
|
footerH = $('.site-footer').outerHeight(), |
|
|
mapH = $(window).height() - navbarH - footerH; |
|
|
mapH = $(window).height() - navbarH - footerH; |
|
|
|
|
|
|
|
|
$('.page-main').outerHeight(mapH); |
|
|
$('.page-main').outerHeight(mapH); |
|
|
$('#easydex-header-div').hide(); |
|
|
$('#easydex-header-div').hide(); |
|
|
|
|
|
|
|
|
var active_edexcoinmodecode = sessionStorage.getItem('edexTmpMode'); |
|
|
var active_edexcoinmodecode = sessionStorage.getItem('edexTmpMode'); |
|
|
console.log(active_edexcoinmodecode); |
|
|
console.log(active_edexcoinmodecode); |
|
|
|
|
|
|
|
|
if (active_edexcoinmodecode == 'Basilisk') { |
|
|
if (active_edexcoinmodecode == 'Basilisk') { |
|
|
$('#edex-footer').hide(); |
|
|
$('#edex-footer').hide(); |
|
|
} else { |
|
|
} else { |
|
@ -564,21 +709,30 @@ function applyDashboardStyle() { |
|
|
|
|
|
|
|
|
setTimeout(function() { |
|
|
setTimeout(function() { |
|
|
var active_edexcoin = $('[data-edexcoin]').attr('data-edexcoin'); |
|
|
var active_edexcoin = $('[data-edexcoin]').attr('data-edexcoin'); |
|
|
console.log(active_edexcoin) |
|
|
console.log(active_edexcoin); |
|
|
|
|
|
|
|
|
if (active_edexcoin == 'COIN') { |
|
|
if (active_edexcoin == 'COIN') { |
|
|
var basiliskCoins = $('.page-aside .wallet-widgets-list .list-group .list-group-item .widget-content[data-edexcoinmodecode="Basilisk"] a'); |
|
|
var basiliskCoins = $('.page-aside .wallet-widgets-list .list-group .list-group-item .widget-content[data-edexcoinmodecode="Basilisk"] a'); |
|
|
|
|
|
|
|
|
if (basiliskCoins && basiliskCoins.length) { |
|
|
if (basiliskCoins && basiliskCoins.length) { |
|
|
$('.page-aside .wallet-widgets-list .list-group .list-group-item .widget-content[data-edexcoinmodecode="Basilisk"] a')[0].click(); |
|
|
basiliskCoins[0].click(); |
|
|
} else { |
|
|
} else { |
|
|
$('.page-aside .wallet-widgets-list .list-group .list-group-item .widget-content[data-edexcoinmodecode="Full"] a')[0].click(); |
|
|
var fullCoins = $('.page-aside .wallet-widgets-list .list-group .list-group-item .widget-content[data-edexcoinmodecode="Full"] a'); |
|
|
|
|
|
|
|
|
|
|
|
if (fullCoins && fullCoins.length) { |
|
|
|
|
|
fullCoins[0].click(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, 1000); |
|
|
}, 1000); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function removeDashboardStyle() { |
|
|
function removeDashboardStyle() { |
|
|
$('.page-aside').hide(); |
|
|
$( |
|
|
$(".page-main").hide(); |
|
|
'.page-aside,' + |
|
|
|
|
|
'.page-main' |
|
|
|
|
|
) |
|
|
|
|
|
.hide(); |
|
|
$('#easydex-header-div').show(); |
|
|
$('#easydex-header-div').show(); |
|
|
$('#edex-footer').hide(); |
|
|
$('#edex-footer').hide(); |
|
|
} |
|
|
} |