Skip to content
Snippets Groups Projects
Commit f5162084 authored by Lucas Ernesto Kindinger's avatar Lucas Ernesto Kindinger
Browse files

change glyphicons bootstrac to font awesome

parent 79f1fdc7
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,9 @@ gem 'rubycritic', require: false
gem 'rdoc'
gem 'stackprof'
#Awesome font icons
gem "font-awesome-rails"
group :development, :test do
# profiler
gem 'rack-mini-profiler'
......
......@@ -15,13 +15,16 @@
*= require jquery-ui/core
*= require jquery-ui/theme
*= require jquery-ui/autocomplete
*= require font-awesome
*/
@import "bootstrap-sprockets";
@import "bootstrap";
@import "select2";
@import "select2-bootstrap";
@import "bootstrap-tagsinput";
@import "spinners";
@import "font-awesome";
$header-blue: #1676bc;
$link-grey: #343D3E;
......
<%= link_to bookmark_add_path(id: learning_object.id, type: learning_object.class.to_s), class: 'btn btn-default btn-xs', title: "Adicionar aos favoritos", method: :post, remote: true do %>
<span class="glyphicon glyphicon-bookmark" aria-hidden="true"></span>
<i class="fa fa-bookmark" aria-hidden="true"></i>
<% end %>
<a tabindex="0" class="add-to-collection btn btn-default btn-xs" role="button" title="Adicionar as coleções" data-loid="<%= learning_object.id %>">
<span class="glyphicon glyphicon-list" aria-hidden="true"></span>
<i class="fa fa-list" aria-hidden="true"></i>
</a>
......@@ -18,8 +18,8 @@
<% end %>
<span class="author-label">Por <%= learning_object.get_metadata_value_of("dc.contributor.author") %></span><br/>
<span class="glyphicon glyphicon-eye-open" data-toggle="tooltip" data-placement="bottom" title="Visualizações"><%= learning_object.views.count %></span>&nbsp;&nbsp;&nbsp;
<span class="glyphicon glyphicon-star votes-count" data-id="<%= learning_object.id %>" data-toggle="tooltip" data-placement="bottom" title="Curtidas"><%= learning_object.likes.count %></span><br>
<i class="fa fa-eye" data-toggle="tooltip" data-placement="bottom" title="Visualizações"><%= learning_object.views.count %></i>&nbsp;&nbsp;&nbsp;
<i class="fa fa-star votes-count" data-id="<%= learning_object.id %>" data-toggle="tooltip" data-placement="bottom" title="Curtidas"><%= learning_object.likes.count %></i><br>
<% unless learning_object.description.nil? %>
<div class="learning-object-text">
......
......@@ -10,8 +10,8 @@
</div>
<div class="panel-body">
<h4 class="media-heading"><%= learning_object_title(learning_object) %></h4>
<span class="glyphicon glyphicon-eye-open" data-toggle="tooltip" data-placement="bottom" title="Visualizações"><%= learning_object.views.size %></span>&nbsp;
<span class="glyphicon glyphicon-star votes-count" data-id="<%= learning_object.id %>" data-toggle="tooltip" data-placement="bottom" title="Curtidas"><%= learning_object.likes.size %></span>&nbsp;
<i class="fa fa-eye" data-toggle="tooltip" data-placement="bottom" title="Visualizações"><%= learning_object.views.size %></i>&nbsp;
<i class="fa fa-star votes-count" data-id="<%= learning_object.id %>" data-toggle="tooltip" data-placement="bottom" title="Curtidas"><%= learning_object.likes.size %></i>&nbsp;
<span class="author-label">Por <%= learning_object.get_metadata_value_of("dc.contributor.author") %></span>
</div>
</div>
......
<%= link_to like_learning_object_path(id: learning_object.id), class: 'btn btn-primary btn-xs vote', method: :post, remote: true do %>
<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
<i class="fa fa-thumbs-up" aria-hidden="true"></i>
<% end %>
\ No newline at end of file
......@@ -5,8 +5,9 @@
<%= display_object_type @learning_object %>
</div>
<div class="pull-right" style="padding-right:122px">
<span class="glyphicon glyphicon-eye-open"><%= @learning_object.views.size %>&nbsp;</span>
<span class="glyphicon glyphicon-star votes-count" data-id="<%= @learning_object.id %>" data-toggle="tooltip" data-placement="bottom" title="Curtidas"><%= @learning_object.likes.size %></span>&nbsp;
<i class="fa fa-eye"><%= @learning_object.views.size %>&nbsp;</i>
<i class="fa fa-thumbs-up votes-count" data-id="<%= @learning_object.id %>" data-toggle="tooltip" data-placement="bottom" title="Curtidas"><%= @learning_object.likes.size %></i>&nbsp;
</div>
<br/><br/>
<h2 class="title"><%= @learning_object.name %></h2>
......
......@@ -33,7 +33,7 @@
<div class="col-md-1">
<%= link_to rate_review_path(id: review.id, approves: true), class: 'btn btn-default btn-lg', method: :post, remote: true do %>
<span class="glyphicon glyphicon-menu-up" aria-hidden="true"></span>
<i class="fa fa-caret-up" aria-hidden="true"></i>
<% end %>
</br>
</br>
......@@ -42,7 +42,7 @@
</br>
<%= link_to rate_review_path(id: review.id, approves: false), class: 'btn btn-default btn-lg', method: :post, remote: true do %>
<span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span>
<i class="fa fa-caret-down" aria-hidden="true"></i>
<% end %>
</br>
</div>
......
......@@ -45,7 +45,7 @@
<option value="User">Usuários</option>
</select>
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment