From 1bb4822dca6113f73e3bc89e2acf15935e6f8e92 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 3 Dec 2014 15:17:05 +0100 Subject: Rework LuCI build system * Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich --- .../root/etc/config/freifunk-widgets | 33 ++++++++++++++++++++++ .../root/lib/upgrade/keep.d/freifunk-widgets | 1 + 2 files changed, 34 insertions(+) create mode 100644 applications/luci-app-freifunk-widgets/root/etc/config/freifunk-widgets create mode 100644 applications/luci-app-freifunk-widgets/root/lib/upgrade/keep.d/freifunk-widgets (limited to 'applications/luci-app-freifunk-widgets/root') diff --git a/applications/luci-app-freifunk-widgets/root/etc/config/freifunk-widgets b/applications/luci-app-freifunk-widgets/root/etc/config/freifunk-widgets new file mode 100644 index 0000000000..5a9f3254fa --- /dev/null +++ b/applications/luci-app-freifunk-widgets/root/etc/config/freifunk-widgets @@ -0,0 +1,33 @@ +config widget 'example_iframe' + option template 'iframe' + option url 'http://www.freifunk.net' + option title 'Freifunk Homepage' + option height '500px' + option width '100%' + option enabled '0' + +config widget 'example_rss' + option template 'rssfeed' + option url 'http://global.freifunk.net/rss/all/rss.xml' + option max '10' + option cache '3600' + option enabled '0' + option title 'Globaler Freifunk RSS Feed' + +config widget 'example_search' + option template 'search' + option enabled '0' + option title 'Search' + list engine 'Google|http://www.google.de/search?q=' + list engine 'Freifunk Wiki|http://wiki.freifunk.net/index.php?search=' + option width '50%' + option paddingright '8%' + +config widget 'example_customtext' + option template 'html' + option width '50%' + option enabled '0' + +config widget 'example_clear' + option enabled '0' + option template 'clear' diff --git a/applications/luci-app-freifunk-widgets/root/lib/upgrade/keep.d/freifunk-widgets b/applications/luci-app-freifunk-widgets/root/lib/upgrade/keep.d/freifunk-widgets new file mode 100644 index 0000000000..ce5537ac20 --- /dev/null +++ b/applications/luci-app-freifunk-widgets/root/lib/upgrade/keep.d/freifunk-widgets @@ -0,0 +1 @@ +/usr/share/customtext -- cgit v1.2.3