support webm background
This commit is contained in:
parent
c5c28baf5f
commit
45ffc27a12
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-argon-config
|
PKG_NAME:=luci-app-argon-config
|
||||||
PKG_VERSION:=0.9
|
PKG_VERSION:=0.9
|
||||||
PKG_RELEASE:=20210904
|
PKG_RELEASE:=20220326
|
||||||
|
|
||||||
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ function br.handle(self, state, data)
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
ful = SimpleForm('upload', translate('Upload (Free: ') .. wa.byte_format(free_byte) .. ')', translate("You can upload files such as jpg,png,gif,mp4 files, To change the login page background."))
|
ful = SimpleForm('upload', translate('Upload (Free: ') .. wa.byte_format(free_byte) .. ')', translate("You can upload files such as jpg,png,gif,mp4,webm files, To change the login page background."))
|
||||||
ful.reset = false
|
ful.reset = false
|
||||||
ful.submit = false
|
ful.submit = false
|
||||||
|
|
||||||
@ -214,10 +214,4 @@ btnrm.write = function(self, section)
|
|||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
|
|
||||||
function IsIpkFile(name)
|
|
||||||
name = name or ''
|
|
||||||
local ext = string.lower(string.sub(name, -4, -1))
|
|
||||||
return ext == '.ipk'
|
|
||||||
end
|
|
||||||
|
|
||||||
return br, ful, form
|
return br, ful, form
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<%+cbi/valueheader%>
|
<%+cbi/valueheader%>
|
||||||
<label class="cbi-value" style="display:inline-block; width: 130px" for="ulfile"><%:Choose local file:%></label>
|
<label class="cbi-value" style="display:inline-block; width: 130px" for="ulfile"><%:Choose local file:%></label>
|
||||||
<input class="cbi-input-file" style="width: 400px" type="file" id="ulfile" name="ulfile" accept="image/png, image/jpeg, image/gif, video/mp4"/>
|
<input class="cbi-input-file" style="width: 400px" type="file" id="ulfile" name="ulfile" accept="image/png, image/jpeg, image/gif, video/mp4, video/webm"/>
|
||||||
<input type="submit" class="btn cbi-button cbi-input-apply" name="upload" value="<%:Upload%>" />
|
<input type="submit" class="btn cbi-button cbi-input-apply" name="upload" value="<%:Upload%>" />
|
||||||
<%+cbi/valuefooter%>
|
<%+cbi/valuefooter%>
|
||||||
|
@ -145,10 +145,10 @@ msgstr "Puede elegir el modo de color del tema aquí"
|
|||||||
|
|
||||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:124
|
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:124
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can upload files such as jpg,png,gif,mp4 files, To change the login page "
|
"You can upload files such as jpg,png,gif,mp4,webm files, To change the login page "
|
||||||
"background."
|
"background."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Puede cargar archivos como jpg, png, gif, mp4, para cambiar el fondo de la "
|
"Puede cargar archivos como jpg, png, gif, mp4, webm, para cambiar el fondo de la "
|
||||||
"página de inicio de sesión."
|
"página de inicio de sesión."
|
||||||
|
|
||||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:105
|
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:105
|
||||||
|
@ -126,7 +126,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:124
|
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:124
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can upload files such as jpg,png,gif,mp4 files, To change the login page "
|
"You can upload files such as jpg,png,gif,mp4,webm files, To change the login page "
|
||||||
"background."
|
"background."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -77,8 +77,8 @@ msgstr "[暗色模式] 毛玻璃模糊半径"
|
|||||||
msgid "Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )"
|
msgid "Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )"
|
||||||
msgstr "值越大越模糊; ( 建议: 清透 1 或 模糊预设 10 )"
|
msgstr "值越大越模糊; ( 建议: 清透 1 或 模糊预设 10 )"
|
||||||
|
|
||||||
msgid "You can upload files such as jpg,png,gif,mp4 files, To change the login page background."
|
msgid "You can upload files such as jpg,png,gif,mp4,webm files, To change the login page background."
|
||||||
msgstr "你可以上传jpg、png、gif或mp4文件,以创建自己喜欢的登录界面"
|
msgstr "你可以上传jpg、png、gif或mp4、webm文件,以创建自己喜欢的登录界面"
|
||||||
|
|
||||||
msgid "Save Changes"
|
msgid "Save Changes"
|
||||||
msgstr "保存更改"
|
msgstr "保存更改"
|
||||||
|
Loading…
Reference in New Issue
Block a user