mirror of https://github.com/dani/vroom.git
parent
24b2099e1f
commit
2dde2050a9
1 changed files with 0 additions and 148 deletions
@ -1,148 +0,0 @@ |
||||
% title $self->l('ADMINISTRATION'); |
||||
%=include 'header' |
||||
%=include 'public_toolbar' |
||||
<div class="container-fluid"> |
||||
%= include 'owner_password_modal' |
||||
%= include 'join_password_modal' |
||||
%= include 'invite_modal' |
||||
<div class="modal fade" role="dialog" id="deleteRoomModal" aria-labelledby="terminateModal" aria-hidden="true"> |
||||
<div class="modal-dialog"> |
||||
<div class="modal-content"> |
||||
<div class="modal-header"> |
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> |
||||
× |
||||
</button> |
||||
<h4 class="modal-title"> |
||||
<%=l 'DELETE_THIS_ROOM' %> |
||||
</h4> |
||||
</div> |
||||
<div class="modal-body"> |
||||
<p> |
||||
<%=l 'ROOM_WILL_BE_DELETED' %> |
||||
</p> |
||||
</div> |
||||
<div class="modal-footer"> |
||||
<button id="confirmDeleteButton" class="btn btn-danger"> |
||||
<%=l 'CONFIRM_DELETE' %> |
||||
</button> |
||||
<button class="btn btn-default" data-dismiss="modal" data-target="#terminateModal"> |
||||
<%=l 'CANCEL' %> |
||||
</button> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
%= include 'noscript' |
||||
<div class="panel panel-default"> |
||||
<div class="panel-heading"> |
||||
<%=l 'ROOM_DETAILS' %> |
||||
</div> |
||||
<% my $data = $self->get_room_by_name($room); %> |
||||
<table class="table table-hover"> |
||||
<tbody> |
||||
<tr> |
||||
<th> |
||||
<%=l 'ROOM_ID' %> |
||||
</th> |
||||
<th> |
||||
<%= $data->{id} %> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'CREATION_DATE' %> |
||||
</th> |
||||
<th class="timeStamp"> |
||||
<%= $data->{create_timestamp} %> |
||||
</th> |
||||
</tr> |
||||
</tr> |
||||
<th> |
||||
<%=l 'LAST_ACTIVITY' %> |
||||
</th> |
||||
<th class="timeStamp"> |
||||
<%= $data->{activity_timestamp} %> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'NUMBER_OF_PARTICIPANTS' %> |
||||
</th> |
||||
<th> |
||||
<%= $participants %> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'LOCKED' %> |
||||
</th> |
||||
<th> |
||||
<input class="bs-switch" type="checkbox" id="lockSwitch" data-room="<%= $room %>" <%= ($data->{locked} eq '1') ? 'checked':''%>> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'ASK_FOR_NAME' %> |
||||
</th> |
||||
<th> |
||||
<input class="bs-switch" type="checkbox" id="askForNameSwitch" data-room="<%= $room %>" <%= ($data->{ask_for_name} eq '1') ? 'checked':''%>> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'JOIN_PASSWORD' %> |
||||
</th> |
||||
<th> |
||||
<input class="bs-switch" type="checkbox" id="joinPassSwitch" data-room="<%= $room %>" <%= ($data->{join_password}) ? 'checked':''%>> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'OWNER_PASSWORD' %> |
||||
</th> |
||||
<th> |
||||
<input class="bs-switch" type="checkbox" id="ownerPassSwitch" data-room="<%= $room %>" <%= ($data->{owner_password}) ? 'checked':''%>> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'PERSISTENT' %> |
||||
</th> |
||||
<th> |
||||
<input class="bs-switch" type="checkbox" id="persistentSwitch" data-room="<%= $room %>" <%= ($data->{persistent}) ? 'checked':''%>> |
||||
</th> |
||||
</tr> |
||||
<tr> |
||||
<th> |
||||
<%=l 'EMAIL_INVITE' %> |
||||
</th> |
||||
<th> |
||||
<button type="button" class="btn btn-default help" id="showEmailInvite" data-room="<%= $room %>" data-toggle="tooltip" data-placement="bottom" title="<%=l 'YOU_CAN_INVITE_BY_MAIL' %>"> |
||||
<span class="glyphicon glyphicon-envelope"> |
||||
</span> |
||||
</button> |
||||
</th> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<div class='row'> |
||||
<div class="col-sm-6 col-lg-4 col-xl-3 col-sm-offset-3 col-lg-offset-2"> |
||||
<a class="btn btn-default btn-lg btn-full" role="button" href="<%= $self->get_url('/') . $room %>"> |
||||
<%=l 'JOIN_THIS_ROOM' %> |
||||
</a> |
||||
</div> |
||||
<div class="col-sm-6 col-lg-4 col-xl-3 col-sm-offset-3 col-lg-offset-0"> |
||||
<button class="btn btn-danger btn-lg btn-full" id="deleteRoomButton" data-room="<%= $room %>"> |
||||
<%=l 'DELETE_THIS_ROOM' %> |
||||
</button> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
%=include 'js_common' |
||||
<script> |
||||
$(document).ready(function(){ |
||||
initManage(); |
||||
}); |
||||
</script> |
||||
%=include 'footer' |
Loading…
Reference in new issue