|
|
@ -1,5 +1,4 @@
|
|
|
|
# LuCI Alpha Theme
|
|
|
|
# LuCI PrivateRouter Theme
|
|
|
|
# Copyright 2022 derisamedia <yuimizuno86@gmail.com>
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License v2.0
|
|
|
|
# Licensed under the Apache License v2.0
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
@ -40,12 +39,14 @@ define Package/luci-theme-$(THEME_NAME)/install
|
|
|
|
$(CP) -a ./template/* $(1)/usr/lib/lua/luci/view/themes/$(THEME_NAME)/ 2>/dev/null || true
|
|
|
|
$(CP) -a ./template/* $(1)/usr/lib/lua/luci/view/themes/$(THEME_NAME)/ 2>/dev/null || true
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources
|
|
|
|
$(CP) -a ./js/* $(1)/www/luci-static/resources/ 2>/dev/null || true
|
|
|
|
$(CP) -a ./js/* $(1)/www/luci-static/resources/ 2>/dev/null || true
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/dashboard/css/
|
|
|
|
|
|
|
|
$(CP) -a ./css/* $(1)/www/luci-static/resources/view/dashboard/css/ 2>/dev/null || true
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/luci-theme-$(THEME_NAME)/postinst
|
|
|
|
define Package/luci-theme-$(THEME_NAME)/postinst
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
|
|
( . /etc/uci-defaults/30-luci-theme-$(THEME_NAME) ) && rm -f /etc/uci-defaults/30-luci-theme-$(THEME_NAME)
|
|
|
|
( . /etc/uci-defaults/30-luci-theme-$(THEME_NAME) ) && rm -f /etc/uci-defaults/30-luci-theme-$(THEME_NAME)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|