settings and sessions UI

This commit is contained in:
joshua-arts
2018-05-28 18:10:20 -04:00
parent 6c1074443f
commit 79d63e7b70
12 changed files with 306 additions and 167 deletions

View File

@ -1,16 +1,21 @@
<div class="container">
<h1 id="main-text" class="display-3 text-center text-primary">Teach Students Online.</h1>
<hr class="small-rule">
<%= render "shared/start_meeting" %>
<% if current_user %>
<h1 id="user-text" class="display-3 text-center text-primary"><%= "Welcome, #{current_user.firstname}." %></h1>
<%= render "shared/modals/create_room_modal" %>
<% else %>
<h1 id="main-text" class="display-3 text-center text-primary">Teach Students Online.</h1>
<%= render "shared/modals/video_modal" %>
<% end %>
<hr class="small-rule">
<!-- <%= render "shared/start_meeting" %> -->
<br>
<%= render "shared/features" %>
</div>
<%= render "shared/modals/video_modal" %>
<script>
$(window).on('load',function(){
$('#welcomeModal').modal('show');