1
0
mirror of https://github.com/dani/vroom.git synced 2024-07-02 12:13:12 +02:00
vroom/templates/default/admin.html.ep

47 lines
1.1 KiB
Plaintext
Raw Normal View History

% 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_NAME' %>
</th>
<th>
<%=l 'MANAGE' %>
</th>
</tr>
</thead>
<tbody>
<%
2014-10-19 13:10:11 +02:00
my $rooms = $self->get_room_list();
foreach my $room (keys %{$rooms}){
%>
<tr>
<td>
<%= $room %>
</td>
<td>
<a class="btn btn-primary" href="<%= $self->get_url('/admin/') . $room %>">
<%=l 'MANAGE' %>
</a>
<a class="btn btn-default" href="<%= $self->get_url('/') . $room %>">
<%=l 'JOIN_THIS_ROOM' %>
</a>
</td>
</tr>
<% } %>
</tbody>
</table>
</div>
</div>
2014-04-03 17:42:54 +02:00
%=include 'js_common'
2014-04-03 17:42:54 +02:00
%=include 'footer'