mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Switch schedule glyphs to FontAwesome
This commit is contained in:
parent
eac40ddfd1
commit
e79ed97a94
1 changed files with 8 additions and 8 deletions
|
|
@ -54,7 +54,7 @@
|
||||||
:style => "padding:8px;" %>
|
:style => "padding:8px;" %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
<h5>
|
<h5>
|
||||||
<span class="glyphicon glyphicon-comment"></span>
|
<span class="fa fa-comment"></span>
|
||||||
<%= event[0].title %>
|
<%= event[0].title %>
|
||||||
<% unless event[0].subtitle.blank? %>
|
<% unless event[0].subtitle.blank? %>
|
||||||
<span class="schedule-subtitle">
|
<span class="schedule-subtitle">
|
||||||
|
|
@ -64,12 +64,12 @@
|
||||||
</h5>
|
</h5>
|
||||||
</span>
|
</span>
|
||||||
<span class="schedule-speaker">
|
<span class="schedule-speaker">
|
||||||
<span class="glyphicon glyphicon-user"></span>
|
<span class="fa fa-user"></span>
|
||||||
<%= "#{speaker.name}" %>
|
<%= "#{speaker.name}" %>
|
||||||
</span>
|
</span>
|
||||||
<% if event[0].track%>
|
<% if event[0].track%>
|
||||||
<span class="schedule-track">
|
<span class="schedule-track">
|
||||||
<span class="glyphicon glyphicon-road"></span>
|
<span class="fa fa-road"></span>
|
||||||
<span class="label" style="background-color:<%= event[0].track.color if event[0].track %>"><%= event[0].track.name %></span>
|
<span class="label" style="background-color:<%= event[0].track.color if event[0].track %>"><%= event[0].track.name %></span>
|
||||||
</span>
|
</span>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
@ -94,18 +94,18 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= javascript_tag do %>
|
<%= javascript_tag do %>
|
||||||
jQuery( function($) {
|
jQuery( function($) {
|
||||||
$('tbody tr td[data-href]').addClass('clickable').mouseup(function(e) {
|
$('tbody tr td[data-href]').addClass('clickable').mouseup(function(e) {
|
||||||
if(e.which===1)
|
if(e.which===1)
|
||||||
{
|
{
|
||||||
window.location = $(this).attr('data-href');
|
window.location = $(this).attr('data-href');
|
||||||
}
|
}
|
||||||
else if(e.which===2)
|
else if(e.which===2)
|
||||||
{
|
{
|
||||||
window.open($(this).attr('data-href'), '_blank');
|
window.open($(this).attr('data-href'), '_blank');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
// add a hash to the URL when the user clicks on a tab
|
// add a hash to the URL when the user clicks on a tab
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue