forked from External/greenlight
shared components for redesigned layout
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
<div id="landing_page_footer_message">
|
||||
<p>Bookmark this page to reuse this meeting URL<% if @resource == "meetings" %>, or click refresh button to generate a new meeting URL<% end %></p>
|
||||
</div>
|
@ -1,15 +0,0 @@
|
||||
<div id="landing_page_footer_oauth_append">
|
||||
<% if current_user.nil? %>
|
||||
<p>You can have a personal URL (with recordings) by signing in below</p>
|
||||
|
||||
<div class="text-center">
|
||||
<%= link_to('/auth/twitter', :class => "btn icon btn-lg btn-social-icon btn-twitter") do %>
|
||||
<span class="fa fa-twitter"></span>
|
||||
<% end %>
|
||||
<%= link_to('/auth/google', :class => "btn icon btn-lg btn-social-icon btn-google") do %>
|
||||
<span class="fa fa-google"></span>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
@ -1,32 +0,0 @@
|
||||
<div class="jumbotron">
|
||||
<!-- Meeting URL -->
|
||||
<h4 class="display-3">
|
||||
<div id="landing_page_url" class="center-block">
|
||||
<form id="url_form" class="form-inline">
|
||||
<div class="form-group">
|
||||
<span id="meeting_url"><%= resource_url(@resource, @meeting_token) %></span>
|
||||
</div>
|
||||
<% if @refreshable %>
|
||||
<button id="url_form_button" type="button" class="btn btn-default" data-url="<%= new_meeting_path() %>">
|
||||
<span class="glyphicon glyphicon-refresh"></span>
|
||||
</button>
|
||||
<% end %>
|
||||
</form>
|
||||
</div>
|
||||
</h4>
|
||||
|
||||
<!-- Join form -->
|
||||
<div id="landing_page_join">
|
||||
<form id="join_form" class="form-inline">
|
||||
<% if current_user.nil? %>
|
||||
<div class="form-group">
|
||||
<label for="join_form_name" class="sr-only">Name</label>
|
||||
<input id="join_form_name" type="text" class="form-control input" placeholder="Your name" required>
|
||||
</div>
|
||||
<% else %>
|
||||
<input id="join_form_name" type="hidden" value="<%= current_user.name %>">
|
||||
<% end %>
|
||||
<button id="join_form_button" type="button" class="btn btn-success" data-url="<%= bbb_join_path(@resource, @meeting_token) %>">Join</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user