argon mod : update

This commit is contained in:
CN_SZTL 2020-02-02 20:56:47 +08:00
parent cf43caeeb3
commit 1cf53f36e6
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
89 changed files with 54 additions and 23 deletions

View File

@ -1,15 +1,15 @@
# Copyright (C) 2008-2019 Jerrykuku
# Copyright (C) 2019 Lienol
# Copyright (C) 2019-2020 Lienol <lawlienol@gmail.com>
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
LUCI_TITLE:=Argon Mod Theme
LUCI_TITLE:=Argon Dark Mod Theme
LUCI_DEPENDS:=
PKG_VERSION:=1.5
PKG_RELEASE:=08-20191221
PKG_VERSION:=1.4
PKG_RELEASE:=02-20200101
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -0,0 +1,7 @@
#!/bin/sh
uci batch <<-EOF
set luci.themes.Argon_Dark=/luci-static/argon_dark
set luci.themes.Argon_Dark_Purple=/luci-static/argon_dark_purple
commit luci
EOF
exit 0

View File

@ -0,0 +1,16 @@
# Copyright (C) 2008-2019 Jerrykuku
# Copyright (C) 2019-2020 Lienol <lawlienol@gmail.com>
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
LUCI_TITLE:=Argon Light Mod Theme
LUCI_DEPENDS:=
PKG_VERSION:=1.4
PKG_RELEASE:=02-20200101
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature

View File

@ -1416,6 +1416,10 @@ footer > a {
z-index: 100;
}
.main-left::-webkit-scrollbar {width: 5px;height: 1px;}
.main-left::-webkit-scrollbar-thumb {background-color: #f6f9fc}
.main-left::-webkit-scrollbar-track {background-color:#fff ;}
.main-right {
width: 85%;
@ -1479,6 +1483,7 @@ table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table
.cbi-section-table {
border: none;
margin: 0 !important;
}
@ -2342,8 +2347,6 @@ select[multiple="multiple"] {
overflow-y: visible;
}
#cbi-network .cbi-section , #cbi-network .cbi-section .cbi-section-node{
overflow-x:auto;
overflow-y: visible;
}
.cbi-section-node .cbi-value{
/* padding: 0.3rem 0rem 0.3rem 1rem;

View File

@ -1419,6 +1419,10 @@ footer > a {
z-index: 100;
}
.main-left::-webkit-scrollbar {width: 5px;height: 1px;}
.main-left::-webkit-scrollbar-thumb {background-color: #f6f9fc}
.main-left::-webkit-scrollbar-track {background-color:#fff ;}
.main-right {
width: 85%;
@ -1482,6 +1486,7 @@ table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table
.cbi-section-table {
border: none;
margin: 0 !important;
}
@ -2342,8 +2347,6 @@ select[multiple="multiple"] {
overflow-y: visible;
}
#cbi-network .cbi-section , #cbi-network .cbi-section .cbi-section-node{
overflow-x:auto;
overflow-y: visible;
}
.cbi-section-node .cbi-value{
/* padding: 0.3rem 0rem 0.3rem 1rem;

View File

@ -174,9 +174,12 @@
-- calculate the number of unsaved changes
if tree.nodes[category] and tree.nodes[category].ucidata then
local ucichanges = 0
local i, j
for i, j in pairs(require("luci.model.uci").cursor():changes()) do
ucichanges = ucichanges + #j
for k, l in pairs(j) do
for m, n in pairs(l) do
ucichanges = ucichanges + 1;
end
end
end
if ucichanges > 0 then

View File

@ -174,9 +174,12 @@
-- calculate the number of unsaved changes
if tree.nodes[category] and tree.nodes[category].ucidata then
local ucichanges = 0
local i, j
for i, j in pairs(require("luci.model.uci").cursor():changes()) do
ucichanges = ucichanges + #j
for k, l in pairs(j) do
for m, n in pairs(l) do
ucichanges = ucichanges + 1;
end
end
end
if ucichanges > 0 then

View File

@ -0,0 +1,7 @@
#!/bin/sh
uci batch <<-EOF
set luci.themes.Argon_Light=/luci-static/argon_light
set luci.themes.Argon_Light_Green=/luci-static/argon_light_green
commit luci
EOF
exit 0

View File

@ -1,11 +0,0 @@
#!/bin/sh
uci batch <<-EOF
set luci.themes.Argon_Light=/luci-static/argon_light
set luci.themes.Argon_Light_Green=/luci-static/argon_light_green
set luci.themes.Argon_Dark=/luci-static/argon_dark
set luci.themes.Argon_Dark_Purple=/luci-static/argon_dark_purple
delete luci.themes.Argon_MC1
delete luci.themes.Argon_MC2
commit luci
EOF
exit 0