Skip to content

Commit

Permalink
update 2023-01-03 20:29:58
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 3, 2023
1 parent 440733d commit e1f5d84
Show file tree
Hide file tree
Showing 21 changed files with 790 additions and 808 deletions.
10 changes: 9 additions & 1 deletion luci-theme-edge/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ include $(TOPDIR)/rules.mk

LUCI_TITLE:=Edge Theme
LUCI_DEPENDS:=+curl
PKG_VERSION:=2.5
PKG_RELEASE:=20210107

PKG_LICENSE:=Apache-2.0

include $(TOPDIR)/feeds/luci/luci.mk

define Package/luci-theme-edge/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
rm -Rf /var/luci-modulecache
endef

# call BuildPackage - OpenWrt buildroot signature
13 changes: 5 additions & 8 deletions luci-theme-edge/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# luci-theme-edge
# luci-theme-edge ([中文](/README_ZH.md))

[1]: https://img.shields.io/badge/license-MIT-brightgreen.svg
[2]: /LICENSE
[3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
[4]: https://github.com/https://github.com/kiddin9/luci-theme-edge/pulls
[4]: https://github.com/https://github.com/garypang13/luci-theme-edge/pulls
[5]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg
[6]: https://github.com/https://github.com/kiddin9/luci-theme-edge/issues/new
[6]: https://github.com/https://github.com/garypang13/luci-theme-edge/issues/new
[7]: https://img.shields.io/badge/release-v2.1-blue.svg?
[10]: https://img.shields.io/badge/Contact-telegram-blue
[11]: https://t.me/openwrt_nginx
Expand All @@ -14,13 +14,10 @@
[![Issue Welcome][5]][6]
[![Contact Me][10]][11]

<a href="https://t.me/opwrts" target="_blank">Telegram</a>

A new Luci theme for LEDE/OpenWRT
Edge is a clean HTML5 theme for LuCI. It is based on luci-theme-argon Template

Master branch adapt to official mainline snapshot.
Luci 18.06: https://github.com/kiddin9/luci-theme-edge/tree/18.06
A new Luci theme for LEDE/OpenWRT
Edge is a clean HTML5 theme for LuCI. It is based on luci-theme-argon Template

## Thanks to
luci-theme-argon: https://github.com/jerrykuku/luci-theme-argon
Expand Down
23 changes: 23 additions & 0 deletions luci-theme-edge/README_ZH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# luci-theme-edge ([Eng](/README.md))
[1]: https://img.shields.io/badge/license-MIT-brightgreen.svg
[2]: /LICENSE
[3]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
[4]: https://github.com/https://github.com/kiddin9/luci-theme-edge/pulls
[5]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg
[6]: https://github.com/https://github.com/kiddin9/luci-theme-edge/issues/new
[7]: https://img.shields.io/badge/release-v2.1-blue.svg?
[10]: https://img.shields.io/badge/Contact-telegram-blue
[11]: https://t.me/openwrt_nginx
[![license][1]][2]
[![PRs Welcome][3]][4]
[![Issue Welcome][5]][6]
[![Contact Me][10]][11]


全新的 Openwrt 主题,基于luci-theme-argon 主题进行修改。

## 注意
仅适用于 luci 19.07

## 感谢
luci-theme-argon: https://github.com/jerrykuku/luci-theme-argon
Binary file removed luci-theme-edge/Screenshots/1.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/2.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/3.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/4.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/5.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/6.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/7.png
Binary file not shown.
Binary file removed luci-theme-edge/Screenshots/8.png
Binary file not shown.
277 changes: 117 additions & 160 deletions luci-theme-edge/htdocs/luci-static/edge/cascade.css

Large diffs are not rendered by default.

47 changes: 1 addition & 46 deletions luci-theme-edge/htdocs/luci-static/edge/custom.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e1f5d84

Please sign in to comment.