summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm')
-rw-r--r--applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm74
1 files changed, 37 insertions, 37 deletions
diff --git a/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm b/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm
index ffdbbcf35..e48da608a 100644
--- a/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm
+++ b/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm
@@ -66,59 +66,59 @@
<!-- tblsection -->
<fieldset class="cbi-section" id="cbi-asterisk-sip">
<div class="cbi-section-node">
- <table class="cbi-section-table">
- <tr class="cbi-section-table-titles">
- <th style="text-align: left; padding: 3px" class="cbi-section-table-cell" colspan="6">
+ <div class="table cbi-section-table">
+ <div class="tr cbi-section-table-titles">
+ <div style="text-align: left; padding: 3px" class="th cbi-section-table-cell" colspan="6">
<h3>Dialzone Overview</h3>
- </th>
- </tr>
-
- <tr class="cbi-section-table-descr">
- <th style="width: 5%; text-align:right" class="cbi-section-table-cell">Name</th>
- <th style="width: 5%; text-align:right" class="cbi-section-table-cell">Prepend</th>
- <th style="width: 20%; text-align:left" class="cbi-section-table-cell">- Match</th>
- <th style="text-align:left" class="cbi-section-table-cell">Trunk</th>
- <th style="width: 35%; text-align:left" class="cbi-section-table-cell">Description</th>
- <th style="width: 4%; text-align:left" class="cbi-section-table-cell"></th>
- </tr>
+ </div>
+ </div>
+
+ <div class="tr cbi-section-table-descr">
+ <div style="width: 5%; text-align:right" class="th cbi-section-table-cell">Name</div>
+ <div style="width: 5%; text-align:right" class="th cbi-section-table-cell">Prepend</div>
+ <div style="width: 20%; text-align:left" class="th cbi-section-table-cell">- Match</div>
+ <div style="text-align:left" class="th cbi-section-table-cell">Trunk</div>
+ <div style="width: 35%; text-align:left" class="th cbi-section-table-cell">Description</div>
+ <div style="width: 4%; text-align:left" class="th cbi-section-table-cell"></div>
+ </div>
<% for i, rule in pairs(ast.dialzone.zones()) do %>
- <tr class="cbi-section-table-row <%=rowstyle(i)%>">
- <td style="text-align:right" class="cbi-value-field">
+ <div class="tr cbi-section-table-row <%=rowstyle(i)%>">
+ <div style="text-align:right" class="td cbi-value-field">
<%=rule.name%>
- </td>
- <td style="text-align:right" class="cbi-value-field">
+ </div>
+ <div style="text-align:right" class="td cbi-value-field">
<% for _ in ipairs(rule.matches) do %>
<%=rule.addprefix and digit_pattern(rule.addprefix)%>&#160;<br />
<% end %>
- </td>
- <td style="text-align:left" class="cbi-value-field">
+ </div>
+ <div style="text-align:left" class="td cbi-value-field">
<% for _, m in ipairs(rule.matches) do %>
<%=rule.localprefix and "%s " % digit_pattern(rule.localprefix)%>
<%=digit_pattern(m)%><br />
<% end %>
- </td>
- <td style="text-align:left" class="cbi-value-field">
+ </div>
+ <div style="text-align:left" class="td cbi-value-field">
<%=ast.tools.hyperlinks(
rule.trunks, function(v)
return luci.dispatcher.build_url("admin", "asterisk", "trunks", "%s") % v:lower()
end
)%>
- </td>
- <td style="text-align:left" class="cbi-value-field">
+ </div>
+ <div style="text-align:left" class="td cbi-value-field">
<%=rule.description or rule.name%>
- </td>
- <td style="text-align:left" class="cbi-value-field">
+ </div>
+ <div style="text-align:left" class="td cbi-value-field">
<a href="<%=url('admin/asterisk/dialplans/out', rule.name)%>">
<img style="border:none" alt="Edit entry" title="Edit entry" src="/luci-static/resources/cbi/edit.gif" />
</a>
<a href="<%=url('admin/asterisk/dialplans/zones')%>?delzone=<%=rule.name%>">
<img style="border:none" alt="Delete entry" title="Delete entry" src="/luci-static/resources/cbi/remove.gif" />
</a>
- </td>
- </tr>
+ </div>
+ </div>
<% end %>
- </table>
+ </div>
<div class="cbi-section-create cbi-tblsection-create"></div>
</div>
<br />
@@ -133,26 +133,26 @@
<br /><span style="color:red">Invalid name given!</span><br />
<% end -%>
- <table>
- <tr>
- <td style="padding:3px">
+ <div class="table">
+ <div class="tr">
+ <div class="td" style="padding:3px">
<label for="create1">1) Name</label><br />
<input type="text" class="cbi-section-create-name" id="create1" name="newzone_name" style="width:200px" />
<br /><br />
<label for="create2">2) Number Match</label><br />
<input type="text" class="cbi-section-create-name" id="create2" name="newzone_match" style="width:200px" />
- </td>
- <td style="padding:3px">
+ </div>
+ <div class="td" style="padding:3px">
<label for="create3">3) Trunks</label><br />
<select class="cbi-input-select" multiple="multiple" id="create3" name="newzone_uses" size="4" style="width:200px">
<% for i, t in ipairs(find_trunks()) do %>
<option value="<%=t[1]%>"><%=t[2]%></option>
<% end %>
</select>
- </td>
- </tr>
- </table>
+ </div>
+ </div>
+ </div>
<br />
<input type="submit" class="cbi-button cbi-button-add" name="newzone" value="Add entry" title="Add entry"/>