mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-08 11:27:28 +08:00
luci-theme-design: Bump version to v5.7.6-20230419 (#220)
* luci-theme-design: fix missing characters, logo font converted to open source font GenJyuuGothic-Medium * luci-theme-design: bump version to v5.4.3 * Update themes/luci-theme-design/Makefile Co-authored-by: Beginner <70857188+Beginner-Go@users.noreply.github.com> * luci-theme-design: Bump version to v5.5.4-20230320 * luci-theme-design: update Makefile * luci-theme-design: optimize js render * luci-theme-design: Bump version to v5.5.5 * luci-theme-design: fix theme dark/light mode * luci-theme-design: Bump version to v5.5.6 * luci-theme-design: fixed header resize box-shadow * luci-theme-design: optimize browser compatibility * luci-theme-design: Bump version to v5.6.3-20230404 * Update themes/luci-theme-design/htdocs/luci-static/design/js/design.js Co-authored-by: Beginner <70857188+Beginner-Go@users.noreply.github.com> * Update script.js * Update xhr.js * Update style.css * Update footer.htm * Update header.htm * luci-theme-design: fixed QWRT network share table style * luci-theme-design: Bump version to v5.6.9-20230406 * luci-theme-design: disable async loading resource * luci-theme-design: Bump version to v5.7.0-20230408 * luci-theme-design: refactor * luci-theme-design: upstrem * luci-theme-design: fix browser compatibility * luci-theme-design: sync upstrem * luci-theme-design: sync upstream * luci-theme-design: sync upstream * luci-theme-design: sync upstream * luci-theme-design: sync upstream * luci-theme-design: sync upstream * luci-theme-design: sync upstream * Bump version to v5.7.5-20230418 * luci-theme-design: update Makefile * luci-theme-design: delete old resources * luci-theme-design: update image resource * luci-theme-design: Bump version to v5.7.6-20230419 --------- Co-authored-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
This commit is contained in:
parent
22448f3663
commit
11b95728cc
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=Design Theme
|
||||
LUCI_DEPENDS:=
|
||||
PKG_VERSION:=5.7.5-20230418
|
||||
PKG_VERSION:=5.7.6-20230419
|
||||
|
||||
include ../../luci.mk
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@ $(".main > .main-left > .nav > .slide > .menu").click(function(){var ul=$(this).
|
||||
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");$("header>.container>.brand").css("padding","0 4.5rem")
|
||||
$("#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");$("header>.container>.brand").css("padding","0 4.5rem")
|
||||
showSide=false;}else{$(".darkMask").stop(true).fadeIn("fast");$(".main-left").stop(true).animate({width:"18rem"},"fast");$(".main-right").css("overflow-y","hidden");$(".showSide").css("display","none");$("header").css("box-shadow","18rem 2px 4px rgb(0 0 0 / 8%)")
|
||||
$("header>.container>.brand").css("padding",'0rem')
|
||||
showSide=true;}});$(".darkMask").click(function(){if(showSide){$(".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%)")
|
||||
|
@ -50,6 +50,8 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(".cbi-button-up").val("");
|
||||
$(".cbi-button-down").val("");
|
||||
// fix legend position
|
||||
$("legend").each(function () {
|
||||
var that = $(this);
|
||||
|
@ -320,4 +320,5 @@
|
||||
// thanks for Jo-Philipp Wich <jow@openwrt.org>
|
||||
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
||||
</script>
|
||||
<script src="<%=media%>/js/script.js?v=<%= ver.luciversion %>"></script>
|
||||
<script src="<%=media%>/js/script.js?v=<%= ver.luciversion %>"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user