update 2023-03-19 16:21:12
This commit is contained in:
parent
abaf9aad6e
commit
6c58c78d0e
|
@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
LUCI_TITLE:=Design Theme
|
||||
LUCI_DEPENDS:=
|
||||
PKG_VERSION:=5.5.1
|
||||
PKG_RELEASE:=20230318
|
||||
PKG_VERSION:=5.5.2
|
||||
PKG_RELEASE:=20230319
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
(function ($) {
|
||||
|
||||
// Fixed openclash plugin causing env(safe-area-inset-bottom) to be 0 under https
|
||||
const appleUserAgentRegex = /(iPhone|iPad|iPod|iOS|Mac|Macintosh)/i;
|
||||
var url = self.location.href;
|
||||
if (navigator.userAgent.match(appleUserAgentRegex) && url.indexOf("openclash") != -1) {
|
||||
var oMeta = document.createElement('meta');
|
||||
oMeta.content = 'width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover';
|
||||
oMeta.name = 'viewport';
|
||||
document.querySelector('head').appendChild(oMeta);
|
||||
}
|
||||
|
||||
function settingGlobalScroll() {
|
||||
const global = $('head #global-scroll');
|
||||
const isMobile = /phone|pad|pod|iPhone|iPod|ios|iOS|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);
|
||||
|
||||
if (!isMobile && global.length === 0) {
|
||||
const style = document.createElement('style');
|
||||
style.type = 'text/css';
|
||||
style.id = 'global-scroll';
|
||||
style.textContent = '::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-thumb { background: var(--scrollbarColor); border-radius: 2px; }';
|
||||
$('head').append(style);
|
||||
} else if (isMobile && global.length > 0) {
|
||||
global.remove();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(() => {
|
||||
// Fixed scrollbar styles for browsers on different platforms
|
||||
settingGlobalScroll();
|
||||
// .node-status-realtime embed[src="/luci-static/resources/bandwidth.svg"] + div + br + table
|
||||
// .node-status-realtime embed[src="/luci-static/resources/wifirate.svg"] + div + br + table
|
||||
// .node-status-realtime embed[src="/luci-static/resources/wireless.svg"] + div + br + table
|
||||
if ($('.node-status-realtime').length != 0) {
|
||||
const selectorValues = ["bandwidth", "wifirate", "wireless"];
|
||||
selectorValues.forEach(value => {
|
||||
const target = $(`.node-status-realtime embed[src="/luci-static/resources/${value}.svg"] + div + br + table`);
|
||||
if (target.length) {
|
||||
const div = document.createElement("div");
|
||||
div.style.overflowX = "auto";
|
||||
target.before(div);
|
||||
const newTarget = target.clone();
|
||||
target.remove();
|
||||
div.appendChild(newTarget.get(0));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Fixed luci-app-passwall menu expand
|
||||
if ($(".node-services-passwall").length === 1 && self.location.pathname === "/cgi-bin/luci/admin/services/passwall") {
|
||||
var slide = $(".main > .main-left > .nav > .slide");
|
||||
slide.each(function () {
|
||||
var ul = $(this).children("ul");
|
||||
ul.each(function () {
|
||||
var liActive = $(this).children("li.active");
|
||||
liActive.each(function () {
|
||||
var aTags = $(this).children("a");
|
||||
aTags.each(function () {
|
||||
var href = $(this).attr("href");
|
||||
if (href === "/cgi-bin/luci/admin/services/passwall2") {
|
||||
$(this).parent("li").removeClass("active");
|
||||
$(this).closest(".slide").find(".menu").first().click();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Fixed scrollbar styles for browsers on different platforms
|
||||
$(window).resize(function () {
|
||||
settingGlobalScroll();
|
||||
});
|
||||
|
||||
})(jQuery);
|
|
@ -19,76 +19,6 @@
|
|||
*/
|
||||
(function ($) {
|
||||
|
||||
// Fixed openclash plugin causing env(safe-area-inset-bottom) to be 0 under https
|
||||
const appleUserAgentRegex = /(iPhone|iPad|iPod|iOS|Mac|Macintosh)/i;
|
||||
var url = self.location.href;
|
||||
if (navigator.userAgent.match(appleUserAgentRegex) && url.indexOf("openclash") != -1) {
|
||||
var oMeta = document.createElement('meta');
|
||||
oMeta.content = 'width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover';
|
||||
oMeta.name = 'viewport';
|
||||
document.querySelector('head').appendChild(oMeta);
|
||||
}
|
||||
|
||||
|
||||
function settingGlobalScroll() {
|
||||
const global = $('head #global-scroll');
|
||||
const isMobile = /phone|pad|pod|iPhone|iPod|ios|iOS|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);
|
||||
|
||||
if (!isMobile && global.length === 0) {
|
||||
const style = document.createElement('style');
|
||||
style.type = 'text/css';
|
||||
style.id = 'global-scroll';
|
||||
style.textContent = '::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-thumb { background: var(--scrollbarColor); border-radius: 2px; }';
|
||||
$('head').append(style);
|
||||
} else if (isMobile && global.length > 0) {
|
||||
global.remove();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(() => {
|
||||
// Fixed scrollbar styles for browsers on different platforms
|
||||
settingGlobalScroll();
|
||||
// .node-status-realtime embed[src="/luci-static/resources/bandwidth.svg"] + div + br + table
|
||||
// .node-status-realtime embed[src="/luci-static/resources/wifirate.svg"] + div + br + table
|
||||
// .node-status-realtime embed[src="/luci-static/resources/wireless.svg"] + div + br + table
|
||||
if ($('.node-status-realtime').length != 0) {
|
||||
const selectorValues = ["bandwidth", "wifirate", "wireless"];
|
||||
selectorValues.forEach(value => {
|
||||
const target = $(`.node-status-realtime embed[src="/luci-static/resources/${value}.svg"] + div + br + table`);
|
||||
if (target.length) {
|
||||
const div = document.createElement("div");
|
||||
div.style.overflowX = "auto";
|
||||
target.before(div);
|
||||
const newTarget = target.clone();
|
||||
target.remove();
|
||||
div.appendChild(newTarget.get(0));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Fixed luci-app-passwall menu expand
|
||||
if ($(".node-services-passwall").length === 1 && self.location.pathname === "/cgi-bin/luci/admin/services/passwall") {
|
||||
var slide = $(".main > .main-left > .nav > .slide");
|
||||
slide.each(function () {
|
||||
var ul = $(this).children("ul");
|
||||
ul.each(function () {
|
||||
var liActive = $(this).children("li.active");
|
||||
liActive.each(function () {
|
||||
var aTags = $(this).children("a");
|
||||
aTags.each(function () {
|
||||
var href = $(this).attr("href");
|
||||
if (href === "/cgi-bin/luci/admin/services/passwall2") {
|
||||
$(this).parent("li").removeClass("active");
|
||||
$(this).closest(".slide").find(".menu").first().click();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* trim text, Remove spaces, wrap
|
||||
* @param text
|
||||
|
@ -98,7 +28,6 @@
|
|||
return text.replace(/[ \t\n\r]+/g, " ");
|
||||
}
|
||||
|
||||
|
||||
var lastNode = undefined;
|
||||
var mainNodeName = undefined;
|
||||
|
||||
|
@ -204,7 +133,6 @@
|
|||
$(".cbi-button-up").val("");
|
||||
$(".cbi-button-down").val("");
|
||||
|
||||
|
||||
/**
|
||||
* hook other "A Label" and add hash to it.
|
||||
*/
|
||||
|
@ -246,7 +174,6 @@
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
$(".darkMask").click(function () {
|
||||
if (showSide) {
|
||||
showSide = false;
|
||||
|
@ -261,9 +188,6 @@
|
|||
});
|
||||
|
||||
$(window).resize(function () {
|
||||
// Fixed scrollbar styles for browsers on different platforms
|
||||
settingGlobalScroll();
|
||||
|
||||
if ($(window).width() > 992) {
|
||||
$(".showSide").css("display", "");
|
||||
$(".main-left").css("width", "");
|
||||
|
@ -289,7 +213,6 @@
|
|||
$("input").attr("size", "0");
|
||||
|
||||
if (mainNodeName != undefined) {
|
||||
console.log(mainNodeName);
|
||||
switch (mainNodeName) {
|
||||
case "node-status-system_log":
|
||||
case "node-status-kernel_log":
|
||||
|
|
|
@ -335,8 +335,9 @@ text, line {
|
|||
.node-services-passwall2 input.cbi-button.cbi-button {
|
||||
max-width: unset;
|
||||
}
|
||||
/* fix luci-app-passwall node_div style */
|
||||
.node-services-passwall #set_node_div {
|
||||
/* fix luci-app-passwall/luci-app-passwall2 node_div style */
|
||||
.node-services-passwall #set_node_div,
|
||||
.node-services-passwall2 #set_node_div {
|
||||
background: var(--sectionbgColor);
|
||||
}
|
||||
|
||||
|
@ -2697,6 +2698,11 @@ header > .container > .pull-right > * {
|
|||
.node-status-realtime fieldset[id="cbi-table-table"] table[id="connections"] tr.cbi-section-table-row.cbi-rowstyle-2 {
|
||||
background-color: unset;
|
||||
}
|
||||
/* fix luci-app-appfilter table overflow style */
|
||||
/* fix node-nas-fileassistant table overflow style */
|
||||
/* fix node-status-realtime table style */
|
||||
.node-services-appfilter .cbi-section.cbi-tblsection,
|
||||
.node-nas-fileassistant #list-content,
|
||||
.node-status-realtime fieldset[id="cbi-table-table"] .cbi-section-node {
|
||||
overflow: auto;
|
||||
}
|
||||
|
@ -3250,21 +3256,15 @@ body.lang_pl.node-main-login .cbi-value-title {
|
|||
}
|
||||
|
||||
/* fix wireless_join list button */
|
||||
form[action="/cgi-bin/luci/admin/network/wireless"] input[class="cbi-button cbi-button-reset"] {
|
||||
form[action="/cgi-bin/luci/admin/network/wireless"] input[class="cbi-button cbi-button-reset"],
|
||||
form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button cbi-input-find"] {
|
||||
height: 25px;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button cbi-input-find"] {
|
||||
height: 25px;
|
||||
min-width: 70px;
|
||||
}
|
||||
|
||||
/* fix node-services-aliyundrive-webdav mask-box background style */
|
||||
.node-services-aliyundrive-webdav #mask-box {
|
||||
background: rgb(64 64 64 / 0%);
|
||||
}
|
||||
|
||||
/* fix node-servces-ddns input style */
|
||||
.node-services-ddns #cbi-ddns-service input {
|
||||
width: unset;
|
||||
|
@ -3273,19 +3273,12 @@ form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button
|
|||
.node-services-ddns .cbi-value input[type="text"] {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* fix luci-app-fileassistant botton style */
|
||||
.fb-container .cbi-button {
|
||||
border-radius: 8px;
|
||||
margin: 3px 3px 3px 0;
|
||||
height: unset !important;
|
||||
}
|
||||
|
||||
/* fix luci-app-appfilter table overflow style */
|
||||
.node-services-appfilter .cbi-section.cbi-tblsection {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* update node-system-commands style */
|
||||
.node-system-commands h3 {
|
||||
text-transform: unset;
|
||||
|
@ -3346,7 +3339,8 @@ form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button
|
|||
.node-services-watchcat-plus select[id*="cbi.opt.watchcat"] {
|
||||
width: auto;
|
||||
}
|
||||
/* fix node-nas-fileassistant table overflow style */
|
||||
.node-nas-fileassistant #list-content {
|
||||
overflow: auto;
|
||||
/* fix node-nas-fileassistant table cell style */
|
||||
.node-nas-fileassistant .fb-container .cbi-value-owner,
|
||||
.node-nas-fileassistant .fb-container .cbi-value-perm {
|
||||
display: table-cell;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,4 @@
|
|||
(function($){const appleUserAgentRegex=/(iPhone|iPad|iPod|iOS|Mac|Macintosh)/i;var url=self.location.href;if(navigator.userAgent.match(appleUserAgentRegex)&&url.indexOf("openclash")!=-1){var oMeta=document.createElement('meta');oMeta.content='width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover';oMeta.name='viewport';document.querySelector('head').appendChild(oMeta);}
|
||||
function settingGlobalScroll(){const global=$('head #global-scroll');const isMobile=/phone|pad|pod|iPhone|iPod|ios|iOS|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);if(!isMobile&&global.length===0){const style=document.createElement('style');style.type='text/css';style.id='global-scroll';style.textContent='::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-thumb { background: var(--scrollbarColor); border-radius: 2px; }';$('head').append(style);}else if(isMobile&&global.length>0){global.remove();}}
|
||||
$(document).ready(()=>{settingGlobalScroll();if($('.node-status-realtime').length!=0){const selectorValues=["bandwidth","wifirate","wireless"];selectorValues.forEach(value=>{const target=$(`.node-status-realtime embed[src="/luci-static/resources/${value}.svg"] + div + br + table`);if(target.length){const div=document.createElement("div");div.style.overflowX="auto";target.before(div);const newTarget=target.clone();target.remove();div.appendChild(newTarget.get(0));}});}
|
||||
if($(".node-services-passwall").length===1&&self.location.pathname==="/cgi-bin/luci/admin/services/passwall"){var slide=$(".main > .main-left > .nav > .slide");slide.each(function(){var ul=$(this).children("ul");ul.each(function(){var liActive=$(this).children("li.active");liActive.each(function(){var aTags=$(this).children("a");aTags.each(function(){var href=$(this).attr("href");if(href==="/cgi-bin/luci/admin/services/passwall2"){$(this).parent("li").removeClass("active");$(this).closest(".slide").find(".menu").first().click();}});});});});}});$(window).resize(function(){settingGlobalScroll();});})(jQuery);
|
|
@ -1,11 +1,8 @@
|
|||
(function($){const appleUserAgentRegex=/(iPhone|iPad|iPod|iOS|Mac|Macintosh)/i;var url=self.location.href;if(navigator.userAgent.match(appleUserAgentRegex)&&url.indexOf("openclash")!=-1){var oMeta=document.createElement('meta');oMeta.content='width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover';oMeta.name='viewport';document.querySelector('head').appendChild(oMeta);}
|
||||
function settingGlobalScroll(){const global=$('head #global-scroll');const isMobile=/phone|pad|pod|iPhone|iPod|ios|iOS|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(navigator.userAgent);if(!isMobile&&global.length===0){const style=document.createElement('style');style.type='text/css';style.id='global-scroll';style.textContent='::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-thumb { background: var(--scrollbarColor); border-radius: 2px; }';$('head').append(style);}else if(isMobile&&global.length>0){global.remove();}}
|
||||
$(document).ready(()=>{settingGlobalScroll();if($('.node-status-realtime').length!=0){const selectorValues=["bandwidth","wifirate","wireless"];selectorValues.forEach(value=>{const target=$(`.node-status-realtime embed[src="/luci-static/resources/${value}.svg"] + div + br + table`);if(target.length){const div=document.createElement("div");div.style.overflowX="auto";target.before(div);const newTarget=target.clone();target.remove();div.appendChild(newTarget.get(0));}});}
|
||||
if($(".node-services-passwall").length===1&&self.location.pathname==="/cgi-bin/luci/admin/services/passwall"){var slide=$(".main > .main-left > .nav > .slide");slide.each(function(){var ul=$(this).children("ul");ul.each(function(){var liActive=$(this).children("li.active");liActive.each(function(){var aTags=$(this).children("a");aTags.each(function(){var href=$(this).attr("href");if(href==="/cgi-bin/luci/admin/services/passwall2"){$(this).parent("li").removeClass("active");$(this).closest(".slide").find(".menu").first().click();}});});});});}});function trimText(text){return text.replace(/[ \t\n\r]+/g," ");}
|
||||
(function($){function trimText(text){return text.replace(/[ \t\n\r]+/g," ");}
|
||||
var lastNode=undefined;var mainNodeName=undefined;var nodeUrl="";(function(node){if(node[0]=="admin"){luciLocation=[node[1],node[2]];}else{luciLocation=node;}
|
||||
for(var i in luciLocation){nodeUrl+=luciLocation[i];if(i!=luciLocation.length-1){nodeUrl+="/";}}})(luciLocation);function getCurrentNodeByUrl(){var ret=false;if(!$('body').hasClass('logged-in')){luciLocation=["Main","Login"];return true;}
|
||||
$(".main > .main-left > .nav > .slide > .menu").each(function(){var ulNode=$(this);ulNode.next().find("a").each(function(){var that=$(this);var href=that.attr("href");if(href.indexOf(nodeUrl)!=-1){ulNode.click();ulNode.next(".slide-menu").stop(true,true);lastNode=that.parent();lastNode.addClass("active");ret=true;return true;}});});return ret;}
|
||||
$(".main > .main-left > .nav > .slide > .menu").click(function(){var ul=$(this).next(".slide-menu");var menu=$(this);if(!menu.hasClass("exit")){$(".main > .main-left > .nav > .slide > .active").next(".slide-menu").stop(true).slideUp("fast");$(".main > .main-left > .nav > .slide > .menu").removeClass("active");if(!ul.is(":visible")){menu.addClass("active");ul.addClass("active");ul.stop(true).slideDown("fast");}else{ul.stop(true).slideUp("fast",function(){menu.removeClass("active");ul.removeClass("active");});}
|
||||
return false;}});$(".main > .main-left > .nav > .slide > .slide-menu > li > a").click(function(){if(lastNode!=undefined)lastNode.removeClass("active");$(this).parent().addClass("active");$(".main > .loading").fadeIn("fast");return true;});$(".main > .main-left > .nav > .slide > .slide-menu > li").click(function(){if(lastNode!=undefined)lastNode.removeClass("active");$(this).addClass("active");$(".main > .loading").fadeIn("fast");window.location=$($(this).find("a")[0]).attr("href");return false;});if(getCurrentNodeByUrl()){mainNodeName="node-"+luciLocation[0]+"-"+luciLocation[1];mainNodeName=mainNodeName.replace(/[ \t\n\r\/]+/g,"_").toLowerCase();$("body").addClass(mainNodeName);}
|
||||
$(".cbi-button-up").val("");$(".cbi-button-down").val("");$("#maincontent > .container").find("a").each(function(){var that=$(this);var onclick=that.attr("onclick");if(onclick==undefined||onclick==""){that.click(function(){var href=that.attr("href");if(href.indexOf("#")==-1){$(".main > .loading").fadeIn("fast");return true;}});}});var showSide=false;$(".showSide").click(function(){if(showSide){$(".darkMask").stop(true).fadeOut("fast");$(".main-left").stop(true).animate({width:"0"},"fast");$(".main-right").css("overflow-y","auto");showSide=false;}else{$(".darkMask").stop(true).fadeIn("fast");$(".main-left").stop(true).animate({width:"17rem"},"fast");$(".main-right").css("overflow-y","hidden");$(".showSide").css("display","none");$("header").css("box-shadow","17rem 2px 4px rgb(0 0 0 / 8%)")
|
||||
showSide=true;}});$(".darkMask").click(function(){if(showSide){showSide=false;$(".darkMask").stop(true).fadeOut("fast");$(".main-left").stop(true).animate({width:"0"},"fast");$(".main-right").css("overflow-y","auto");$(".showSide").css("display","");$("header").css("box-shadow","0 2px 4px rgb(0 0 0 / 8%)")}});$(window).resize(function(){settingGlobalScroll();if($(window).width()>992){$(".showSide").css("display","");$(".main-left").css("width","");$(".darkMask").stop(true);$(".darkMask").css("display","none");showSide=false;$("header").css("box-shadow","17rem 2px 4px rgb(0 0 0 / 8%)")}else{$("header").css("box-shadow","0 2px 4px rgb(0 0 0 / 8%)")}});$("legend").each(function(){var that=$(this);that.after("<span class='panel-title'>"+that.text()+"</span>");});$(".main-right").focus();$(".main-right").blur();$("input").attr("size","0");if(mainNodeName!=undefined){console.log(mainNodeName);switch(mainNodeName){case "node-status-system_log":case "node-status-kernel_log":$("#syslog").focus(function(){$("#syslog").blur();$(".main-right").focus();$(".main-right").blur();});break;case "node-status-firewall":var button=$(".node-status-firewall > .main fieldset li > a");button.addClass("cbi-button cbi-button-reset a-to-btn");break;case "node-system-reboot":var button=$(".node-system-reboot > .main > .main-right p > a");button.addClass("cbi-button cbi-input-reset a-to-btn");break;}}})(jQuery);
|
||||
showSide=true;}});$(".darkMask").click(function(){if(showSide){showSide=false;$(".darkMask").stop(true).fadeOut("fast");$(".main-left").stop(true).animate({width:"0"},"fast");$(".main-right").css("overflow-y","auto");$(".showSide").css("display","");$("header").css("box-shadow","0 2px 4px rgb(0 0 0 / 8%)")}});$(window).resize(function(){if($(window).width()>992){$(".showSide").css("display","");$(".main-left").css("width","");$(".darkMask").stop(true);$(".darkMask").css("display","none");showSide=false;$("header").css("box-shadow","17rem 2px 4px rgb(0 0 0 / 8%)")}else{$("header").css("box-shadow","0 2px 4px rgb(0 0 0 / 8%)")}});$("legend").each(function(){var that=$(this);that.after("<span class='panel-title'>"+that.text()+"</span>");});$(".main-right").focus();$(".main-right").blur();$("input").attr("size","0");if(mainNodeName!=undefined){switch(mainNodeName){case "node-status-system_log":case "node-status-kernel_log":$("#syslog").focus(function(){$("#syslog").blur();$(".main-right").focus();$(".main-right").blur();});break;case "node-status-firewall":var button=$(".node-status-firewall > .main fieldset li > a");button.addClass("cbi-button cbi-button-reset a-to-btn");break;case "node-system-reboot":var button=$(".node-system-reboot > .main > .main-right p > a");button.addClass("cbi-button cbi-input-reset a-to-btn");break;}}})(jQuery);
|
||||
|
|
|
@ -49,8 +49,7 @@
|
|||
<script>
|
||||
// thanks for Jo-Philipp Wich <jow@openwrt.org>
|
||||
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
||||
</script>
|
||||
<script src="<%=media%>/js/jquery.min.js?v=<%= ver.luciversion %>"></script>
|
||||
</script>
|
||||
<script src="<%=media%>/js/script.js?v=<%= ver.luciversion %>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -162,6 +162,8 @@
|
|||
</style>
|
||||
<% end -%>
|
||||
<script src="<%=media%>/js/xhr.js?v=<%= ver.luciversion %>"></script>
|
||||
<script src="<%=media%>/js/jquery.min.js?v=<%= ver.luciversion %>"></script>
|
||||
<script src="<%=media%>/js/design.js?v=<%= ver.luciversion %>"></script>
|
||||
<style title="text/css" id="global-scroll">
|
||||
::-webkit-scrollbar {
|
||||
width: 4px
|
||||
|
|
Loading…
Reference in New Issue