greenlight/app/views/landing/rooms.html.erb

67 lines
1.9 KiB
Plaintext

<% if current_user %>
<% page_title = t('greet_user', name: current_user.name) %>
<% else %>
<% page_title= t('greet_guest', name: @user.username) %>
<% end %>
<div class="page-wrapper rooms" data-room="<%= @user.encrypted_id %>">
<div class="container-fluid">
<%= render 'shared/title', title: page_title %>
<div class="center-panel-wrapper">
<%= render 'rooms_center_panel' %>
</div>
<div class="table-wrapper">
<h3><%= t('past_recordings') %></h3>
<table id="recordings" class="table" width="100%">
<thead>
<th><%= t('date_recorded') %></th>
<th><%= t('thumbnails') %></th>
<th><%= t('duration') %></th>
<th><%= t('views') %></th>
<th><%= t('actions') %></th>
</thead>
</table>
</div>
</div>
</div>
<div hidden class="hidden-elements">
<div class="delete-popover-title">
<%= t('are_you_sure') %>
</div>
<div class="delete-popover-body">
<button type="button" class="btn btn-danger recording-delete">
<%= t('yes') %>
</button>
<button type="button" class="btn btn-default">
<%= t('no') %>
</button>
</div>
<div class="alert-template">
<div class="alert alert-success alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<span class="alert-message"></span>
</div>
</div>
<div class="recording-publish-alert">
<%= t('recording_published') %>
</div>
<div class="recording-unpublish-alert">
<%= t('recording_unpublished') %>
</div>
<div class="recording-delete-alert">
<%= t('recording_deleted') %>
</div>
<div class="meeting-ended-alert">
<%= t('meeting_ended') %>
</div>
<div class="meeting-started-alert">
<%= t('meeting_started') %>
</div>
</div>