mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-14 12:18:06 +08:00
update 2026-10-19 10:54:07
This commit is contained in:
1 parent
fdd23bf660
commit
6604b3420d
156 files changed
+37978
-13
No files matched your search
@@ -0,0 +1,17 @@
|
||||
-- Copyright (C) 2023-2025 sirpdboy <herboy2008@gmail.com> https://github.com/sirpdboy/luci-app-chatgpt-web
|
||||
-- Licensed to the public under the Apache License 2.0.
|
||||
|
||||
module("luci.controller.chatgpt-web", package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/chatgpt-web") then
|
||||
return
|
||||
end
|
||||
|
||||
local e = entry({"admin", "services", "chatgpt-web"}, alias("admin", "services", "chatgpt-web", "setting"),_("Chatgpt Web"), 20)
|
||||
e.dependent=false
|
||||
e.acl_depends = { "luci-app-chatgpt-web" }
|
||||
entry({"admin", "services", "chatgpt-web", "setting"}, cbi("chatgpt-web"), _("Base Setting"), 10).leaf=true
|
||||
entry({"admin", "services", "chatgpt-web", "chatgpt-web"}, cbi("chatgpt",{hideapplybtn=true, hidesavebtn=true, hideresetbtn=true}), _("Chatgpt Web"), 30).leaf=true
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user