-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GitHub
committed
Oct 13, 2022
1 parent
3c3de52
commit 92ad44b
Showing
312 changed files
with
45,809 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Copyright (C) 2008-2019 Jerrykuku | ||
# | ||
# This is free software, licensed under the Apache License, Version 2.0 . | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
LUCI_TITLE:=Argonne kenzo | ||
LUCI_DEPENDS:= | ||
PKG_VERSION:=1.7.3 | ||
PKG_RELEASE:=2 | ||
|
||
include $(TOPDIR)/feeds/luci/luci.mk | ||
|
||
|
||
define Package/luci-theme-argonne/postinst | ||
#!/bin/sh | ||
sed -i ":a;$!N;s/tmpl.render.*sysauth_template.*return/local scope = { duser = default_user, fuser = user }\nlocal ok, res = luci.util.copcall\(luci.template.render_string, [[<% include\(\"themes\/\" .. theme .. \"\/sysauth\"\) %>]], scope\)\nif ok then\nreturn res\nend\nreturn luci.template.render\(\"sysauth\", scope\)/;ba" /usr/lib/lua/luci/dispatcher.lua | ||
sed -i ":a;$!N;s/t.render.*sysauth_template.*return/local scope = { duser = h, fuser = a }\nlocal ok, res = luci.util.copcall\(luci.template.render_string, [[<% include\(\"themes\/\" .. theme .. \"\/sysauth\"\) %>]], scope\)\nif ok then\nreturn res\nend\nreturn luci.template.render\(\"sysauth\", scope\)/;ba" /usr/lib/lua/luci/dispatcher.lua | ||
[ -f /usr/lib/lua/luci/view/themes/argonne/out_header_login.htm ] && mv -f /usr/lib/lua/luci/view/themes/argonne/out_header_login.htm /usr/lib/lua/luci/view/header_login.htm | ||
rm -Rf /var/luci-modulecache | ||
rm -Rf /var/luci-indexcache | ||
exit 0 | ||
endef | ||
|
||
# call BuildPackage - OpenWrt buildroot signature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#### argon 原作者是jerrykuku | ||
#### 改argonne是为了编译方便 | ||
+ main默认支持luci-18.06 | ||
```bash | ||
git clone https://github.com/kenzok78/luci-theme-argonne | ||
``` | ||
+ 21.02分支支持最新luci | ||
```bash | ||
git clone -b 21.02 https://github.com/kenzok78/luci-theme-argonne | ||
``` |
Oops, something went wrong.