From af3c45b0199e510f329b4e2053ea8eba9ba849dc Mon Sep 17 00:00:00 2001 From: joshua-arts Date: Mon, 28 May 2018 19:12:24 -0400 Subject: [PATCH] minor ui tweaks --- app/views/main/index.html.erb | 40 ++++++++++++++++++- .../shared/modals/_create_room_modal.html.erb | 5 +++ 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/app/views/main/index.html.erb b/app/views/main/index.html.erb index c857a42e..65699b2f 100644 --- a/app/views/main/index.html.erb +++ b/app/views/main/index.html.erb @@ -1,14 +1,50 @@
<% if current_user %> -

<%= "Welcome, #{current_user.firstname}." %>

+

<%= "Welcome, #{current_user.firstname}." %>

<%= render "shared/modals/create_room_modal" %> <% else %> -

Teach Students Online.

+

Teach Students Online.

<%= render "shared/modals/video_modal" %> <% end %>
+
+ <% 3.times do %> +
+
+
+ + + + + + +
+ + +
Example Room
+
+ Created on June 17th, 2017 +
+
+ +
+
+
+
+ <% end %> +
+
diff --git a/app/views/shared/modals/_create_room_modal.html.erb b/app/views/shared/modals/_create_room_modal.html.erb index cc39ff31..c0e40a8b 100644 --- a/app/views/shared/modals/_create_room_modal.html.erb +++ b/app/views/shared/modals/_create_room_modal.html.erb @@ -16,6 +16,11 @@
+