mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-07 23:27:13 +08:00
update 2023-04-30 16:20:12
This commit is contained in:
@@ -74,12 +74,6 @@ plugins:
|
|||||||
files:
|
files:
|
||||||
- "/etc/mosdns/rule/local-ptr.txt"
|
- "/etc/mosdns/rule/local-ptr.txt"
|
||||||
|
|
||||||
- tag: sp_low
|
|
||||||
type: domain_set
|
|
||||||
args:
|
|
||||||
files:
|
|
||||||
- "/usr/share/mosdns/sp_low.tdata"
|
|
||||||
|
|
||||||
- tag: lazy_cache
|
- tag: lazy_cache
|
||||||
type: cache
|
type: cache
|
||||||
args:
|
args:
|
||||||
@@ -189,8 +183,6 @@ plugins:
|
|||||||
exec: reject 3
|
exec: reject 3
|
||||||
- matches: qname $adlist
|
- matches: qname $adlist
|
||||||
exec: reject 3
|
exec: reject 3
|
||||||
- matches: qname $sp_low
|
|
||||||
exec: reject 3
|
|
||||||
- matches:
|
- matches:
|
||||||
- qtype 12
|
- qtype 12
|
||||||
- qname $local_ptr
|
- qname $local_ptr
|
||||||
@@ -207,7 +199,6 @@ plugins:
|
|||||||
- "!qname $ddnslist"
|
- "!qname $ddnslist"
|
||||||
- "!qname $blocklist"
|
- "!qname $blocklist"
|
||||||
- "!qname $adlist"
|
- "!qname $adlist"
|
||||||
- "!qname $sp_low"
|
|
||||||
- "!qname $local_ptr"
|
- "!qname $local_ptr"
|
||||||
exec: $lazy_cache
|
exec: $lazy_cache
|
||||||
- exec: $redirect
|
- exec: $redirect
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@@ -1,11 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argon Template
|
* Argonne is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argonne Template
|
||||||
*
|
*
|
||||||
* luci-theme-argon
|
* luci-theme-argonne
|
||||||
* Copyright 2023 Jerrykuku <jerrykuku@qq.com>
|
|
||||||
*
|
*
|
||||||
* 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-argon/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>
|
||||||
@@ -18,7 +17,7 @@
|
|||||||
* luci-theme-material:
|
* luci-theme-material:
|
||||||
* https://github.com/LuttyYang/luci-theme-material/
|
* https://github.com/LuttyYang/luci-theme-material/
|
||||||
*
|
*
|
||||||
* Argon 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
|
||||||
@@ -1,64 +1,63 @@
|
|||||||
/**
|
/**
|
||||||
* Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argon Template
|
* Argonne is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argonne Template
|
||||||
*
|
*
|
||||||
* luci-theme-argon
|
* luci-theme-argonne
|
||||||
* Copyright 2023 Jerrykuku <jerrykuku@qq.com>
|
*
|
||||||
*
|
* 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/jerrykuku/luci-theme-argon/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
|
||||||
* Argon 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;
|
}
|
||||||
}
|
});
|
||||||
});
|
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argon Template
|
* Argonne is a clean HTML5 theme for LuCI. It is based on luci-theme-material and Argonne Template
|
||||||
*
|
*
|
||||||
* luci-theme-argon
|
* luci-theme-argonne
|
||||||
* Copyright 2023 Jerrykuku <jerrykuku@qq.com>
|
|
||||||
*
|
*
|
||||||
* 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-argon/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>
|
||||||
@@ -18,7 +17,7 @@
|
|||||||
* luci-theme-material:
|
* luci-theme-material:
|
||||||
* https://github.com/LuttyYang/luci-theme-material/
|
* https://github.com/LuttyYang/luci-theme-material/
|
||||||
*
|
*
|
||||||
* Argon 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
|
||||||
Reference in New Issue
Block a user