This commit is contained in:
jerrykuku 2020-09-13 22:01:47 +08:00
parent 76ab6f2be7
commit 9207c78a5c
5 changed files with 22 additions and 9 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-argon-config PKG_NAME:=luci-app-argon-config
LUCI_PKGARCH:=all LUCI_PKGARCH:=all
PKG_VERSION:=0.7 PKG_VERSION:=0.8
PKG_RELEASE:=beta PKG_RELEASE:=beta
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -1,2 +1,4 @@
# luci-app-argon-config # luci-app-argon-config
Argon Theme Config Plugin Argon Theme Config Plugin
You can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos.

View File

@ -49,7 +49,7 @@ local transparency_sets = {
} }
-- [[ 模糊设置 ]]-- -- [[ 模糊设置 ]]--
br = SimpleForm('config', translate('Argon Config'), translate('Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos.')) br = SimpleForm('config', translate('Argon Config'), translate('Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos.[Chrome is recommended]'))
br.reset = false br.reset = false
br.submit = false br.submit = false
s = br:section(SimpleSection) s = br:section(SimpleSection)
@ -63,7 +63,7 @@ o.rmempty = false
o.description = translate('You can choose Theme color mode here') o.description = translate('You can choose Theme color mode here')
o = s:option(Value, 'primary', translate('[Light mode] Primary Color'), translate('A HEX Color ; ( Default: #5e72e4 )')) o = s:option(Value, 'primary', translate('[Light mode] Primary Color'), translate('A HEX Color ; ( Default: #5e72e4 )'))
o.value = primary o.default = primary
o.datatype = ufloat o.datatype = ufloat
o.rmempty = false o.rmempty = false
@ -78,12 +78,12 @@ o.datatype = ufloat
o.rmempty = false o.rmempty = false
o = s:option(Value, 'blur', translate('[Light mode] Frosted Glass Radius'), translate('Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )')) o = s:option(Value, 'blur', translate('[Light mode] Frosted Glass Radius'), translate('Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )'))
o.value = blur_radius o.default = blur_radius
o.datatype = ufloat o.datatype = ufloat
o.rmempty = false o.rmempty = false
o = s:option(Value, 'dark_primary', translate('[Dark mode] Primary Color'), translate('A HEX Color ; ( Default: #483d8b )')) o = s:option(Value, 'dark_primary', translate('[Dark mode] Primary Color'), translate('A HEX Color ; ( Default: #483d8b )'))
o.value = dark_primary o.default = dark_primary
o.datatype = ufloat o.datatype = ufloat
o.rmempty = false o.rmempty = false
@ -96,7 +96,7 @@ o.datatype = ufloat
o.rmempty = false o.rmempty = false
o = s:option(Value, 'blur_dark', translate('[Dark mode] Frosted Glass Radius'), translate('Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )')) o = s:option(Value, 'blur_dark', translate('[Dark mode] Frosted Glass Radius'), translate('Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )'))
o.value = blur_radius_dark o.default = blur_radius_dark
o.datatype = ufloat o.datatype = ufloat
o.rmempty = false o.rmempty = false

View File

@ -14,8 +14,8 @@ msgstr ""
msgid "Argon Config" msgid "Argon Config"
msgstr "Argon 主题设置" msgstr "Argon 主题设置"
msgid "Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos." msgid "Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos.[Chrome is recommended]"
msgstr "在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。" msgstr "在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。[建议使用 Chrome]"
msgid "Theme mode" msgid "Theme mode"
msgstr "主题模式" msgstr "主题模式"

View File

@ -0,0 +1,11 @@
{
"luci-argon-config": {
"description": "Luci Argon theme config ",
"read": {
"uci": [ "argon" ]
},
"write": {
"uci": [ "argon" ]
}
}
}