update 2023-05-02 17:58:57

This commit is contained in:
github-actions[bot]
2023-05-02 17:58:57 +08:00
parent ee6c27bdcc
commit 533fc96327
9 changed files with 72 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
# #
# Copyright (C) 2008-2019 Jerrykuku # Copyright (C) 2008-2019 kenzok78
# #
# This is free software, licensed under the Apache License, Version 2.0 . # This is free software, licensed under the Apache License, Version 2.0 .
# #
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=Argonne kenzo LUCI_TITLE:=Argonne kenzo
LUCI_DEPENDS:=+curl +jsonfilter LUCI_DEPENDS:=+curl +jsonfilter
PKG_VERSION:=1.7.7 PKG_VERSION:=1.7.7
PKG_RELEASE:=1 PKG_RELEASE:=2
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk

View File

@@ -3,7 +3,7 @@
<svg xmlns="http://www.w3.org/2000/svg"> <svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata> <metadata>Generated by IcoMoon</metadata>
<defs> <defs>
<font id="argon" horiz-adv-x="1024"> <font id="argonne" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" /> <font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" /> <missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" /> <glyph unicode="&#x20;" horiz-adv-x="512" d="" />

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -1,63 +1,63 @@
/** /**
* Argonne is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argonne Template * Argonne is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argonne Template
* *
* luci-theme-argonne * luci-theme-argonne
* *
* Have a bug? Please create an issue here on GitHub! * Have a bug? Please create an issue here on GitHub!
* https://github.com/kenzok78/luci-theme-argonne/issues * https://github.com/kenzok78/luci-theme-argonne/issues
* *
* luci-theme-bootstrap: * luci-theme-bootstrap:
* Copyright 2008 Steven Barth <steven@midlink.org> * Copyright 2008 Steven Barth <steven@midlink.org>
* Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> * Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
* Copyright 2012 David Menting <david@nut-bolt.nl> * Copyright 2012 David Menting <david@nut-bolt.nl>
* *
* MUI: * MUI:
* https://github.com/muicss/mui * https://github.com/muicss/mui
* *
* luci-theme-material: * luci-theme-material:
* https://github.com/LuttyYang/luci-theme-material/ * https://github.com/LuttyYang/luci-theme-material/
* *
* Argonne Theme * Argonne Theme
* https://demos.creative-tim.com/argon-dashboard/index.html * https://demos.creative-tim.com/argon-dashboard/index.html
* *
* Login background * Login background
* https://unsplash.com/ * https://unsplash.com/
* *
* Licensed to the public under the Apache License 2.0 * Licensed to the public under the Apache License 2.0
*/ */
/** /**
* Sidebar expand * Sidebar expand
*/ */
var showSide = false; var showSide = false;
$(".showSide").click(function () { $(".showSide").click(function () {
if (showSide) { if (showSide) {
$(".darkMask").stop(true).fadeOut("fast"); $(".darkMask").stop(true).fadeOut("fast");
$(".main-left").width(0); $(".main-left").width(0);
$(".main-right").css("overflow-y", "auto"); $(".main-right").css("overflow-y", "auto");
showSide = false; showSide = false;
} else { } else {
$(".darkMask").stop(true).fadeIn("fast"); $(".darkMask").stop(true).fadeIn("fast");
$(".main-left").width("15rem"); $(".main-left").width("15rem");
$(".main-right").css("overflow-y", "hidden"); $(".main-right").css("overflow-y", "hidden");
showSide = true; showSide = true;
} }
}); });
$(".darkMask").click(function () { $(".darkMask").click(function () {
if (showSide) { if (showSide) {
showSide = false; showSide = false;
$(".darkMask").stop(true).fadeOut("fast"); $(".darkMask").stop(true).fadeOut("fast");
$(".main-left").width(0); $(".main-left").width(0);
$(".main-right").css("overflow-y", "auto"); $(".main-right").css("overflow-y", "auto");
} }
}); });
$(window).resize(function () { $(window).resize(function () {
if ($(window).width() > 921) { if ($(window).width() > 921) {
$(".main-left").css("width", ""); $(".main-left").css("width", "");
$(".darkMask").stop(true); $(".darkMask").stop(true);
$(".darkMask").css("display", "none"); $(".darkMask").css("display", "none");
showSide = false; showSide = false;
} }
}); });

View File

@@ -5,7 +5,7 @@
* luci-theme-argonne * luci-theme-argonne
* *
* Have a bug? Please create an issue here on GitHub! * Have a bug? Please create an issue here on GitHub!
* https://github.com/jerrykuku/luci-theme-argonne/issues * https://github.com/kenzok78/luci-theme-argonne/issues
* *
* luci-theme-bootstrap: * luci-theme-bootstrap:
* Copyright 2008 Steven Barth <steven@midlink.org> * Copyright 2008 Steven Barth <steven@midlink.org>

View File

@@ -5,7 +5,7 @@
* luci-theme-argonne * luci-theme-argonne
* *
* Have a bug? Please create an issue here on GitHub! * Have a bug? Please create an issue here on GitHub!
* https://github.com/jerrykuku/luci-theme-argonne/issues * https://github.com/kenzok78/luci-theme-argonne/issues
* *
* luci-theme-bootstrap: * luci-theme-bootstrap:
* Copyright 2008 Steven Barth <steven@midlink.org> * Copyright 2008 Steven Barth <steven@midlink.org>

View File

@@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
# author jjm2473 # author jjm2473
# the script will be excuted when `argon.@global[0].bing_background == '1'` # the script will be excuted when `argonne.@global[0].bing_background == '1'`
# defaults to 'bing' to be compatible with old config # defaults to 'bing' to be compatible with old config
WEB_PIC_SRC=$(uci -q get argon.@global[0].online_wallpaper || echo 'bing') WEB_PIC_SRC=$(uci -q get argonne.@global[0].online_wallpaper || echo 'bing')
CACHE=/var/run/argon_${WEB_PIC_SRC}.url CACHE=/var/run/argonne_${WEB_PIC_SRC}.url
WRLOCK=/var/lock/argon_${WEB_PIC_SRC}.lock WRLOCK=/var/lock/argonne_${WEB_PIC_SRC}.lock
fetch_pic_url() { fetch_pic_url() {
case $WEB_PIC_SRC in case $WEB_PIC_SRC in