applications/luci-asterisk: adept meetme example in default config to current format, layout fixes in dialplan overview

This commit is contained in:
Jo-Philipp Wich 2009-03-30 19:53:07 +00:00
parent 7056ef8bac
commit 1a8cae2874
2 changed files with 8 additions and 3 deletions

View file

@ -159,7 +159,8 @@ $Id$
<% for ext, room in luci.util.kspairs(plan.meetmerooms) do rooms_used[room.room] = true %> <% for ext, room in luci.util.kspairs(plan.meetmerooms) do rooms_used[room.room] = true %>
<tr class="cbi-section-table-row <%=rowstyle(row)%>"> <tr class="cbi-section-table-row <%=rowstyle(row)%>">
<td style="text-align: left; padding: 3px" class="cbi-section-table-cell"> <td style="text-align: left; padding: 3px" class="cbi-section-table-cell">
<strong>&#x2514; MeetMe Room <em><%=room.room%></em></strong> (<%=room.description%>) <strong>&#x2514; MeetMe Room <em><%=room.room%></em></strong>
<% if room.description and #room.description > 0 then %> (<%=room.description%>)<% end %>
<p style="padding-left: 1em; margin-bottom:0"> <p style="padding-left: 1em; margin-bottom:0">
Matches: <%=format_matches(ext)%> Matches: <%=format_matches(ext)%>
</p> </p>
@ -209,7 +210,10 @@ $Id$
<option value="">-- please select --</option> <option value="">-- please select --</option>
<% for ext, room in luci.util.kspairs(ast.meetme.rooms()) do %> <% for ext, room in luci.util.kspairs(ast.meetme.rooms()) do %>
<%# if not rooms_used[room.room] then %> <%# if not rooms_used[room.room] then %>
<option value="<%=room.room%>"><%=room.room%> (<%=room.description%>)</option> <option value="<%=room.room%>">
<%=room.room%>
<% if room.description and #room.description > 0 then %>(<%=room.description%>)<% end %>
</option>
<%# end %> <%# end %>
<% end %> <% end %>
</select> </select>

View file

@ -220,7 +220,8 @@ config 'dialzone' 'international'
config 'meetmegeneral' config 'meetmegeneral'
option 'audiobuffers' '32' option 'audiobuffers' '32'
config 'meetme' '101' config 'meetme'
option 'room' '101'
option 'pin' '' option 'pin' ''
option 'adminpin' '' option 'adminpin' ''