diff --git a/www/assets/css/ytsync.css b/www/assets/css/ytsync.css index cee604ab..22252ebe 100644 --- a/www/assets/css/ytsync.css +++ b/www/assets/css/ytsync.css @@ -24,10 +24,6 @@ html, body { background-color: #ffffff; } -#librarytoggle, #userpltoggle, #playlisttoggle { - background-color: #ffffff; -} - #librarywrap, #userplaylistwrap, #playlist_controls { display: none; } diff --git a/www/assets/js/channelsettings.js b/www/assets/js/channelsettings.js index a0367ae8..958de6f5 100644 --- a/www/assets/js/channelsettings.js +++ b/www/assets/js/channelsettings.js @@ -1,17 +1,13 @@ (function() { - $("#channelsettingswrap div").each(function() { + $("#channelsettingswrap div.span12").each(function() { $(this).hide(); }); function clickHandler(selector, div) { $(selector).click(function() { - $("#channelsettings_nav li").each(function() { - $(this).removeClass("active"); - }); - $(selector).parent().addClass("active"); - - $("#channelsettingswrap div").each(function() { + $("#csdropdown_title").text($(selector).text()); + $("#channelsettingswrap div.span12").each(function() { $(this).hide(); }); $(div).show(); @@ -21,4 +17,7 @@ clickHandler("#show_optedit", "#optedit"); clickHandler("#show_permedit", "#permedit"); clickHandler("#show_motdedit", "#motdedit"); + clickHandler("#show_filteredit", "#filteredit"); + clickHandler("#show_cssedit", "#cssedit"); + clickHandler("#show_jsedit", "#jsedit"); })(); diff --git a/www/assets/js/ui.js b/www/assets/js/ui.js index 9e192611..06d1c9bb 100644 --- a/www/assets/js/ui.js +++ b/www/assets/js/ui.js @@ -4,14 +4,14 @@ function generateToggle(chevron, div) { if($(div).css("display") == "none") { $(chevron).html($(chevron).html().replace(/Show/, "Hide")); $(div).show(); - $(chevron+" i").removeClass("icon-chevron-down") - .addClass("icon-chevron-up"); + $(chevron+" i").removeClass("icon-plus") + .addClass("icon-minus"); } else { $(chevron).html($(chevron).html().replace(/Hide/, "Show")); $(div).hide(); - $(chevron+" i").removeClass("icon-chevron-up") - .addClass("icon-chevron-down"); + $(chevron+" i").removeClass("icon-minus") + .addClass("icon-plus"); } }); } diff --git a/www/channel.html b/www/channel.html index 2dff557b..ec4d2849 100644 --- a/www/channel.html +++ b/www/channel.html @@ -89,14 +89,17 @@
Show Library
Show Playlist Manager
Show Playlist Controls
Max 20KB. If you need more space, host the file externally and use the External CSS option
+ + +Max 20KB. If you need more space, host the file externally and use the External JS option
+ +