mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 13:13:56 +08:00
🎁 Sync 2026-06-01 20:30:44
This commit is contained in:
1 parent
676f7c1ef7
commit
1366ad1bbb
26 files changed
+606
-140
No files matched your search
@@ -7,7 +7,7 @@ LUCI_DEPENDS:=+luci-nginx +quickfile
|
||||
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
PKG_MAINTAINER:=sbwml <admin@cooluc.com>
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
@@ -10,8 +10,6 @@ return view.extend({
|
||||
s.anonymous = true;
|
||||
|
||||
s.render = function () {
|
||||
const host = window.location.origin;
|
||||
|
||||
const iframeContainer = E('div', {
|
||||
'class': 'iframe-container',
|
||||
'style': `
|
||||
@@ -26,7 +24,7 @@ return view.extend({
|
||||
`
|
||||
}, [
|
||||
E('iframe', {
|
||||
'src': `/cgi-bin/luci/quickfile?host=${encodeURIComponent(host)}`,
|
||||
'src': `/cgi-bin/luci/quickfile`,
|
||||
'style': `
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: luci-app-quickfile/root/usr/share/luci/menu.d/luci-app-quickfile.json:3
|
||||
msgid "Quick File Manager"
|
||||
msgstr ""
|
||||
@@ -1,5 +1,6 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
||||
#: luci-app-quickfile/root/usr/share/luci/menu.d/luci-app-quickfile.json:3
|
||||
msgid "Quick File Manager"
|
||||
msgstr "文件管理"
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"luci-app-quickfile": {
|
||||
"description": "Grant UCI access for luci-app-openlist",
|
||||
"read": {
|
||||
"file": {
|
||||
"/usr/bin/quickfile": [ "exec" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user