Browse Source

zcash base header style added

master
Satinder Grewal 8 years ago
parent
commit
3f0d5089e1
  1. BIN
      assets/images/bg/zec_transparent_header_bg.png
  2. BIN
      assets/images/iguana_profile_02.jpg
  3. BIN
      assets/images/zec_header_title_logo.png
  4. 32
      assets/scripts/sidebar.js
  5. 23
      index.html

BIN
assets/images/bg/zec_transparent_header_bg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
assets/images/iguana_profile_02.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
assets/images/zec_header_title_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

32
assets/scripts/sidebar.js

@ -18,6 +18,7 @@ $(document).ready(function() {
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" ); $('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("Dashboard"); $(".header-easydex-section").text("Dashboard");
removeKMDWalletStyle(); removeKMDWalletStyle();
removeZECWalletStyle();
CommonSidebarActionsSet01(); CommonSidebarActionsSet01();
}); });
@ -40,6 +41,7 @@ $('#nav-dashboard').on('click', function() {
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" ); $('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("Dashboard"); $(".header-easydex-section").text("Dashboard");
removeKMDWalletStyle(); removeKMDWalletStyle();
removeZECWalletStyle();
CommonSidebarActionsSet01(); CommonSidebarActionsSet01();
}); });
@ -61,6 +63,7 @@ $('#nav-easydex').on('click', function() {
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" ); $('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("EasyDEX"); $(".header-easydex-section").text("EasyDEX");
removeKMDWalletStyle(); removeKMDWalletStyle();
removeZECWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
}); });
@ -82,6 +85,7 @@ $('#nav-komodo-wallet').on('click', function() {
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" ); $('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
KMDWalletDashboard.init(); //Initiate Komodo Dashbaord sript KMDWalletDashboard.init(); //Initiate Komodo Dashbaord sript
applyKMDWalletStyle(); applyKMDWalletStyle();
//removeZECWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
}); });
@ -102,7 +106,8 @@ $('#nav-zcash-wallet').on('click', function() {
$('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" ); $('#nav-iguana-wallet-settings').removeClass( " active open" ).addClass( "" );
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" ); $('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
$(".header-easydex-section").text("Zcash Wallet"); $(".header-easydex-section").text("Zcash Wallet");
removeKMDWalletStyle(); applyZECWalletStyle();
//removeKMDWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
}); });
@ -124,6 +129,7 @@ $('#nav-iguana-atomic-explorer').on('click', function() {
$('#nav-iguana-atomic-explorer').removeClass( "" ).addClass( "active open" ); $('#nav-iguana-atomic-explorer').removeClass( "" ).addClass( "active open" );
$(".header-easydex-section").text("Atomic Explorer"); $(".header-easydex-section").text("Atomic Explorer");
removeKMDWalletStyle(); removeKMDWalletStyle();
removeZECWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
}); });
@ -145,6 +151,7 @@ $('#nav-iguana-wallet-settings').on('click', function() {
$('#nav-iguana-wallet-settings').removeClass( "" ).addClass( "active open" ); $('#nav-iguana-wallet-settings').removeClass( "" ).addClass( "active open" );
$(".header-easydex-section").text("Wallet Settings"); $(".header-easydex-section").text("Wallet Settings");
removeKMDWalletStyle(); removeKMDWalletStyle();
removeZECWalletStyle();
Settings_ShowWalletInfo(); //Execute this function from walletsettings.js file Settings_ShowWalletInfo(); //Execute this function from walletsettings.js file
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
}); });
@ -167,6 +174,7 @@ $('#nav-about-iguana').on('click', function() {
$('#nav-about-iguana').removeClass( "" ).addClass( "active open" ); $('#nav-about-iguana').removeClass( "" ).addClass( "active open" );
$(".header-easydex-section").text("About Iguana"); $(".header-easydex-section").text("About Iguana");
removeKMDWalletStyle(); removeKMDWalletStyle();
removeZECWalletStyle();
CommonSidebarActionsSet02(); CommonSidebarActionsSet02();
}); });
@ -192,6 +200,7 @@ function applyKMDWalletStyle() {
$('#easydex-header-div').css('background-repeat', 'no-repeat'); $('#easydex-header-div').css('background-repeat', 'no-repeat');
$('#easydex-header-div').css('background-position', '0%'); $('#easydex-header-div').css('background-position', '0%');
$('#easydex_kmd_wallet_actions_header').show(); $('#easydex_kmd_wallet_actions_header').show();
$('#easydex_zec_wallet_actions_header').hide();
$('#easydex_btc_btcd_balances_header').hide(); $('#easydex_btc_btcd_balances_header').hide();
} }
@ -199,5 +208,26 @@ function removeKMDWalletStyle() {
$('.page-title').show(); $('.page-title').show();
$('#easydex-header-div').removeAttr( "style" ); $('#easydex-header-div').removeAttr( "style" );
$('#easydex_kmd_wallet_actions_header').hide(); $('#easydex_kmd_wallet_actions_header').hide();
$('#easydex_zec_wallet_actions_header').hide();
$('#easydex_btc_btcd_balances_header').show();
}
function applyZECWalletStyle() {
$('.header-easydex-section').html('<img src="assets/images/zec_header_title_logo.png">');
$('.page-title').hide();
$('#easydex-header-div').css('background-image', 'url("assets/images/bg/zec_transparent_header_bg.png")');
$('#easydex-header-div').css('background-repeat', 'no-repeat');
$('#easydex-header-div').css('background-position', '0%');
$('#easydex_kmd_wallet_actions_header').hide();
$('#easydex_zec_wallet_actions_header').show();
$('#easydex_btc_btcd_balances_header').hide();
}
function removeZECWalletStyle() {
$('.page-title').show();
$('#easydex-header-div').removeAttr( "style" );
$('#easydex_kmd_wallet_actions_header').hide();
$('#easydex_zec_wallet_actions_header').hide();
$('#easydex_btc_btcd_balances_header').show(); $('#easydex_btc_btcd_balances_header').show();
} }

23
index.html

@ -286,7 +286,7 @@
<a class="navbar-avatar dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false" <a class="navbar-avatar dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false"
data-animation="scale-up" role="button"> data-animation="scale-up" role="button">
<span class="avatar avatar-online"> <span class="avatar avatar-online">
<img src="assets/images/20.jpg" alt="..."> <img src="assets/images/iguana_profile_02.jpg" alt="iguana profile pic">
<i></i> <i></i>
</span> </span>
</a> </a>
@ -368,8 +368,10 @@
<!--<li class="active">You are Here</li>--> <!--<li class="active">You are Here</li>-->
</ol> </ol>
<div class="page-header-actions" style="z-index: 1;"> <div class="page-header-actions" style="z-index: 1;">
<button type="button" id="easydex_kmd_wallet_actions_header" class="bg-teal-500 btn btn-floating btn-info waves-effect waves-float waves-light" id="kmd_wallet_header_button" data-toggle="dropdown" aria-expanded="false" style="display: none;"><i class="icon md-plus" aria-hidden="true"></i></button> <!-- KMD Wallet Header button -->
<ul class="dropdown-menu animate dropdown-menu-right" aria-labelledby="kmd_wallet_header_button" role="menu" style=""> <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_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_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_recieve">Recieve</a></li>
@ -378,6 +380,21 @@
<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>
</div>
<!-- End KMD Wallet Header button -->
<!-- ZEC Wallet 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>
<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 class="divider" role="presentation"></li>
<li role="presentation"><a href="javascript:void(0)" role="menuitem">Settings</a></li>
</ul>
</div>
<!-- End ZEC Wallet Header button -->
<div class="row no-space width-350 hidden-xs" id="easydex_btc_btcd_balances_header"> <div class="row no-space width-350 hidden-xs" id="easydex_btc_btcd_balances_header">
<div class="col-xs-6"> <div class="col-xs-6">
<div class="counter"> <div class="counter">

Loading…
Cancel
Save