diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-12-03 15:17:05 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-08 16:26:20 +0100 |
commit | 1bb4822dca6113f73e3bc89e2acf15935e6f8e92 (patch) | |
tree | 35e16f100466e4e00657199b38bb3d87d52bf73f /applications/luci-voice-core | |
parent | 9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4 (diff) |
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 <jow@openwrt.org>
Diffstat (limited to 'applications/luci-voice-core')
4 files changed, 0 insertions, 79 deletions
diff --git a/applications/luci-voice-core/Makefile b/applications/luci-voice-core/Makefile deleted file mode 100644 index d57c456d5..000000000 --- a/applications/luci-voice-core/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -PO=voice_core - -include ../../build/config.mk -include ../../build/module.mk diff --git a/applications/luci-voice-core/luasrc/controller/luci_voice.lua b/applications/luci-voice-core/luasrc/controller/luci_voice.lua deleted file mode 100644 index 728afb6a4..000000000 --- a/applications/luci-voice-core/luasrc/controller/luci_voice.lua +++ /dev/null @@ -1,31 +0,0 @@ ---[[ - -Luci Voice Core -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- - -module("luci.controller.luci_voice", package.seeall) - -function index() - local e - - e = entry({"admin", "voice"}, template("luci_voice/index") , _("Voice"), 90) - e.index = true - - e = entry({"mini", "voice"}, template("luci_voice/index"), _("Voice"), 90) - e.index = true - - e = entry({"mini", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90) - e.index = true - - e = entry({"admin", "voice", "phones"}, template("luci_voice/phone_index"), _("Phones"), 90) - e.index = true - -end diff --git a/applications/luci-voice-core/luasrc/view/luci_voice/index.htm b/applications/luci-voice-core/luasrc/view/luci_voice/index.htm deleted file mode 100644 index 73d2ce446..000000000 --- a/applications/luci-voice-core/luasrc/view/luci_voice/index.htm +++ /dev/null @@ -1,24 +0,0 @@ -<%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - --%> -<%+header%> -<h2><a id="content" name="content">Voice</a></h2> -<p>Here you can control OpenWRT voice-related settings and see - voice-related information from OpenWRT</p> -<p>In particular Asterisk configuration and information is displayed - here, as well as diagnostics that specifically apply to voice but are - not general networking diagnostics (e.g. includes SIP device scans, but not - ping tests). Includes PSTN phones as well as VoIP and possibly - non-telephony related options. -</p> -<%+footer%> diff --git a/applications/luci-voice-core/luasrc/view/luci_voice/phone_index.htm b/applications/luci-voice-core/luasrc/view/luci_voice/phone_index.htm deleted file mode 100644 index 89b866114..000000000 --- a/applications/luci-voice-core/luasrc/view/luci_voice/phone_index.htm +++ /dev/null @@ -1,20 +0,0 @@ -<%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - --%> -<%+header%> -<h2><a id="content" name="content">Phones</a></h2> -<p>Here you can control phone configuration and information in OpenWRT</p> -<p>You can control the setup of phone clients and servers and see - information such as diagnostics related to phone devices from this menu. -</p> -<%+footer%> |