Added icons to social buttons

This commit is contained in:
jfederico 2016-10-18 18:12:11 -04:00
parent d4a9fd9147
commit f195cff339
4 changed files with 15 additions and 4 deletions

View File

@ -57,5 +57,6 @@ gem 'bigbluebutton-api-ruby'
gem 'bootstrap-sass', '3.3.0.0'
gem 'bootstrap-social-rails', '~> 4.12'
gem 'font-awesome-rails'
gem 'jquery-ui-rails'
gem 'jquery-datatables-rails', '~> 3.4.0'

View File

@ -65,6 +65,8 @@ GEM
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.14)
font-awesome-rails (4.6.3.1)
railties (>= 3.2, < 5.1)
globalid (0.3.7)
activesupport (>= 4.1.0)
hashie (3.4.4)
@ -209,6 +211,7 @@ DEPENDENCIES
byebug
coffee-rails (~> 4.2)
dotenv-rails
font-awesome-rails
jbuilder (~> 2.5)
jquery-datatables-rails (~> 3.4.0)
jquery-rails

View File

@ -5,6 +5,8 @@
// Bootstrap
@import "bootstrap-sprockets";
@import "bootstrap";
@import "bootstrap-social";
@import "font-awesome";
.room {
.room-link {

View File

@ -47,10 +47,15 @@
<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>
<ul>
<li><%= link_to 'Twitter', '/auth/twitter' %></li>
<li><%= link_to 'Google', '/auth/google' %></li>
</ul>
<div>
<%= link_to('/auth/twitter', :class => "btn btn-block btn-md btn-social-icon btn-twitter") do %>
<span class="fa fa-twitter"></span>
<% end %>
<%= link_to('/auth/google', :class => "btn btn-block btn-md btn-social-icon btn-google") do %>
<span class="fa fa-google"></span>
<% end %>
</div>
<% else %>
<div>Hello <%= current_user.name %></div>
<div><%= link_to 'Personal Room', current_user.room_url %></div>