forked from External/greenlight
Added icons to social buttons
This commit is contained in:
parent
d4a9fd9147
commit
f195cff339
1
Gemfile
1
Gemfile
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
// Bootstrap
|
||||
@import "bootstrap-sprockets";
|
||||
@import "bootstrap";
|
||||
@import "bootstrap-social";
|
||||
@import "font-awesome";
|
||||
|
||||
.room {
|
||||
.room-link {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue