From ac74041acac6965527d1fdab4b0f37ea734fd1dc Mon Sep 17 00:00:00 2001 From: Zachary Chai Date: Thu, 26 Jan 2017 10:35:44 -0500 Subject: [PATCH] create components for new layout --- app/views/landing/_invite_join.html.erb | 13 +++++++++ app/views/landing/_previously_joined.html.erb | 6 ++++ app/views/landing/index.html.erb | 28 ++----------------- app/views/shared/_title.html.erb | 7 +++++ 4 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 app/views/landing/_invite_join.html.erb create mode 100644 app/views/landing/_previously_joined.html.erb create mode 100644 app/views/shared/_title.html.erb diff --git a/app/views/landing/_invite_join.html.erb b/app/views/landing/_invite_join.html.erb new file mode 100644 index 00000000..e143c74a --- /dev/null +++ b/app/views/landing/_invite_join.html.erb @@ -0,0 +1,13 @@ + diff --git a/app/views/landing/_previously_joined.html.erb b/app/views/landing/_previously_joined.html.erb new file mode 100644 index 00000000..3270589b --- /dev/null +++ b/app/views/landing/_previously_joined.html.erb @@ -0,0 +1,6 @@ + diff --git a/app/views/landing/index.html.erb b/app/views/landing/index.html.erb index c61793f0..126a4493 100644 --- a/app/views/landing/index.html.erb +++ b/app/views/landing/index.html.erb @@ -28,33 +28,11 @@ with BigBlueButton; if not, see . <%= render 'shared/meeting_name_form' %>
- + <%= render 'landing/previously_joined' %>
- diff --git a/app/views/shared/_title.html.erb b/app/views/shared/_title.html.erb new file mode 100644 index 00000000..f18a9627 --- /dev/null +++ b/app/views/shared/_title.html.erb @@ -0,0 +1,7 @@ +<% title_class ||= '' %> +
+
+

<%= title %>

+ <%= yield %> +
+