From 65e41ec629e674ee0a81fadf74019baebfccb20f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 21 Mar 2009 04:52:25 +0000 Subject: applications/luci-asterisk: some minor html cleanups --- .../luasrc/view/asterisk/dialplans.htm | 140 ++++++++++----------- 1 file changed, 70 insertions(+), 70 deletions(-) (limited to 'applications/luci-asterisk/luasrc/view/asterisk') diff --git a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm index 217fc6e3cb..75c98184fb 100644 --- a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm +++ b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm @@ -70,80 +70,80 @@ $Id$

Outgoing Call Routing

-
-
- -
+
Here you can manage your dial plans which are used to route outgoing calls from your local extensions.
+ +
+ +
- <% for i, plan in pairs(ast.dialplan.plans()) do %> -
- - - - - - - - <% local zones_used = { } %> - <% for i, zone in ipairs(plan.zones) do zones_used[zone.name] = true %> - - - - - <% end %> - - - + + + +
- Dialplan <%=plan.name%> - - - Remove this dialplan - -
- └ Dialzone <%=zone.name%> -

- Description: <%=zone.description%>
- Lines: - <%=ast.tools.hyperlinks( - zone.trunks, function(v) - return luci.dispatcher.build_url("admin", "asterisk", "trunks", "%s") % v:lower() - end - )%>
- Matches: - <%=format_matches(zone)%> -

-
- - Edit dialzone - - - Remove from this dialplan - -
-
- + + + + + + + <% local zones_used = { } %> + <% for i, zone in ipairs(plan.zones) do zones_used[zone.name] = true %> + + + + + <% end %> + + + - - - -
+ Dialplan <%=plan.name%> + + + Remove this dialplan + +
+ └ Dialzone <%=zone.name%> (<%=zone.description%>) +

+ Lines: + <%=ast.tools.hyperlinks( + zone.trunks, function(v) + return luci.dispatcher.build_url("admin", "asterisk", "trunks", "%s") % v:lower() + end + )%>
+ Matches: + <%=format_matches(zone)%> +

+
+ + Edit dialzone + + + Remove from this dialplan + +
+
+ - -     - Manage dialzones -
- -
- -
- <% end %> + + +     + Manage dialzones +
+ +
+
+
+ <% end %>
-- cgit v1.2.3