* Separated CBI from LuCI Web
authorSteven Barth <redacted>
Tue, 27 May 2008 08:32:10 +0000 (08:32 +0000)
committerSteven Barth <redacted>
Tue, 27 May 2008 08:32:10 +0000 (08:32 +0000)
* Updated OpenWRT-Makefile

26 files changed:
applications/cbi/Makefile [new file with mode: 0644]
applications/cbi/root/www/resources/cbi.js [moved from web/root/www/resources/cbi.js with 100% similarity]
applications/cbi/src/cbi.lua [moved from web/src/cbi.lua with 100% similarity]
applications/cbi/src/view/cbi/dvalue.htm [moved from web/src/view/cbi/dvalue.htm with 100% similarity]
applications/cbi/src/view/cbi/footer.htm [moved from web/src/view/cbi/footer.htm with 100% similarity]
applications/cbi/src/view/cbi/full_valuefooter.htm [moved from web/src/view/cbi/full_valuefooter.htm with 100% similarity]
applications/cbi/src/view/cbi/full_valueheader.htm [moved from web/src/view/cbi/full_valueheader.htm with 100% similarity]
applications/cbi/src/view/cbi/fvalue.htm [moved from web/src/view/cbi/fvalue.htm with 100% similarity]
applications/cbi/src/view/cbi/header.htm [moved from web/src/view/cbi/header.htm with 100% similarity]
applications/cbi/src/view/cbi/lvalue.htm [moved from web/src/view/cbi/lvalue.htm with 100% similarity]
applications/cbi/src/view/cbi/map.htm [moved from web/src/view/cbi/map.htm with 100% similarity]
applications/cbi/src/view/cbi/mvalue.htm [moved from web/src/view/cbi/mvalue.htm with 100% similarity]
applications/cbi/src/view/cbi/nsection.htm [moved from web/src/view/cbi/nsection.htm with 100% similarity]
applications/cbi/src/view/cbi/tblsection.htm [moved from web/src/view/cbi/tblsection.htm with 100% similarity]
applications/cbi/src/view/cbi/tiny_valuefooter.htm [moved from web/src/view/cbi/tiny_valuefooter.htm with 100% similarity]
applications/cbi/src/view/cbi/tiny_valueheader.htm [moved from web/src/view/cbi/tiny_valueheader.htm with 100% similarity]
applications/cbi/src/view/cbi/tsection.htm [moved from web/src/view/cbi/tsection.htm with 100% similarity]
applications/cbi/src/view/cbi/ucisection.htm [moved from web/src/view/cbi/ucisection.htm with 100% similarity]
applications/cbi/src/view/cbi/value.htm [moved from web/src/view/cbi/value.htm with 100% similarity]
applications/cbi/src/view/cbi/valuefooter.htm [moved from web/src/view/cbi/valuefooter.htm with 100% similarity]
applications/cbi/src/view/cbi/valueheader.htm [moved from web/src/view/cbi/valueheader.htm with 100% similarity]
contrib/package/luci/Makefile
modules/admin-core/src/view/error404.htm [moved from web/src/view/error404.htm with 100% similarity]
modules/admin-core/src/view/error500.htm [moved from web/src/view/error500.htm with 100% similarity]
modules/admin-core/src/view/footer.htm [moved from web/src/view/footer.htm with 100% similarity]
modules/admin-core/src/view/header.htm [moved from web/src/view/header.htm with 100% similarity]

diff --git a/applications/cbi/Makefile b/applications/cbi/Makefile
new file mode 100644 (file)
index 0000000..81a96f6
--- /dev/null
@@ -0,0 +1,2 @@
+include ../../build/config.mk
+include ../../build/module.mk
\ No newline at end of file
similarity index 100%
rename from web/src/cbi.lua
rename to applications/cbi/src/cbi.lua
index c75247b55faf3547437929d44d95df4e74b8743d..3c5e1d87e40d9a90a07ca1a1d0b46f7fb87af761 100644 (file)
@@ -124,7 +124,7 @@ endef
 
 define Package/luci-mod-admin-core
   $(call Package/luci/template)
-  DEPENDS:=luci +luci-web
+  DEPENDS:=luci +luci-web +luci-app-cbi
   TITLE:=Core administrative pages
 endef
 
@@ -151,6 +151,17 @@ endef
 
 ### Applications ###
 
+define Package/luci-app-cbi
+  $(call Package/luci/template)
+  DEPENDS:=luci +luci-web
+  TITLE:=Configuration Binding Interface
+endef
+
+define Package/luci-app-cbi/install
+       $(call Package/luci/install/template,$(1),applications/cbi)
+endef
+
+
 define Package/luci-app-ffwizard-leipzig
   $(call Package/luci/template)
   DEPENDS:=luci +luci-mod-freifunk
@@ -200,7 +211,7 @@ endef
 
 define Package/luci-app-statistics
   $(call Package/luci/template)
-  DEPENDS:=luci +collectd +collectd-mod-rrdtool1 +rrdtool1
+  DEPENDS:=luci +luci-mod-admin-core +collectd +collectd-mod-rrdtool1 +rrdtool1
   TITLE:=LuCI Statistics Application (incomplete)
 endef
 
@@ -219,7 +230,7 @@ endef
 
 define Package/luci-sgi-haserl
   $(call Package/luci/template)
-  DEPENDS:=luci +haserl-lua
+  DEPENDS:=luci +luci-web +haserl-lua
   TITLE:=SGI for Haserl
 endef
 
@@ -231,7 +242,7 @@ endef
 
 define Package/luci-sgi-webuci
   $(call Package/luci/template)
-  DEPENDS:=luci
+  DEPENDS:=luci +luci-web
   TITLE:=SGI for Webuci
 endef
 
@@ -243,6 +254,7 @@ endef
 
 
 $(eval $(call BuildPackage,luci))
+$(eval $(call BuildPackage,luci-web))
 
 $(eval $(call BuildPackage,luci-ff-halle))
 $(eval $(call BuildPackage,luci-ff-leipzig))
@@ -251,6 +263,7 @@ $(eval $(call BuildPackage,luci-ff-hannover))
 $(eval $(call BuildPackage,luci-mod-admin-core))
 $(eval $(call BuildPackage,luci-mod-freifunk))
 
+$(eval $(call BuildPackage,luci-app-cbi))
 $(eval $(call BuildPackage,luci-app-ffwizard-leipzig))
 $(eval $(call BuildPackage,luci-app-firewall))
 $(eval $(call BuildPackage,luci-app-splash))
git clone https://git.99rst.org/PROJECT