You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
% title $self->l('ADMINISTRATION');
|
|
|
|
%=include 'header'
|
|
|
|
%=include 'public_toolbar'
|
|
|
|
<div class="container-fluid">
|
|
|
|
%= include 'noscript'
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<%=l 'EXISTING_ROOMS' %>
|
|
|
|
</div>
|
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
<%=l 'ROOM_ID' %>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<%=l 'ROOM_NAME' %>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<%=l 'MANAGE' %>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<%
|
|
|
|
my @rooms = $self->get_all_rooms();
|
|
|
|
foreach my $room (@rooms){
|
|
|
|
my $data = $self->get_room($room);
|
|
|
|
%>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<%= $data->{id} %>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<%= $room %>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a class="btn btn-primary" href="<%= $self->get_url('/admin/') . $room %>">
|
|
|
|
<%=l 'MANAGE' %>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% } %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
%=include 'js_common'
|
|
|
|
%=include 'footer'
|