* Finish task #7119.

This commit is contained in:
Yagami
2020-05-06 11:13:13 +08:00
parent bf33d10b9d
commit 6d1a047b02
17 changed files with 904 additions and 18 deletions
+16
View File
@@ -0,0 +1,16 @@
$().ready(function()
{
$('#navbar').find('li').removeClass('active');
if(typeof(status) == 'undefined' || !status) status = 'all';
$('#navbar').find('a[href*=' + status + ']').parent().addClass('active');
});
function setWhite(acl)
{
acl == 'custom' ? $('#whitelistBox').removeClass('hidden') : $('#whitelistBox').addClass('hidden');
}
function setProgramType(type)
{
$.cookie('programType', type, {expires:config.cookieLife, path:config.webRoot});
location.href = location.href;
}