mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
implements configurable schedule granularity and improves the schedule grid for denser schedule grids on smaller screens
This commit is contained in:
parent
4089f16f17
commit
ff9ca4a817
11 changed files with 56 additions and 24 deletions
|
|
@ -16,13 +16,13 @@
|
|||
%div{ class: "tab-pane #{ 'active' if @dates.first == date }", id: "#{ date }" }
|
||||
|
||||
.visible-xs-inline
|
||||
= render partial: 'carousel', locals: { date: date, number_columns: 1 }
|
||||
= render partial: 'carousel', locals: { date: date, hrs_per_slide: 1 }
|
||||
|
||||
.visible-sm-inline
|
||||
= render partial: 'carousel', locals: { date: date, number_columns: 2 }
|
||||
= render partial: 'carousel', locals: { date: date, hrs_per_slide: 2 }
|
||||
|
||||
.visible-md-inline.visible-lg-inline
|
||||
= render partial: 'carousel', locals: { date: date, number_columns: 3 }
|
||||
= render partial: 'carousel', locals: { date: date, hrs_per_slide: 3 }
|
||||
|
||||
:javascript
|
||||
// change of active tab and the button title when a date clicked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue