mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add buttons in the interface
This commit is contained in:
parent
d540092bfc
commit
613161bbc7
2 changed files with 12 additions and 3 deletions
|
|
@ -18,6 +18,11 @@
|
||||||
#antiquated.collapse
|
#antiquated.collapse
|
||||||
- @antiquated.each do |conference|
|
- @antiquated.each do |conference|
|
||||||
= render '/conferences/conference_details', conference: conference
|
= render '/conferences/conference_details', conference: conference
|
||||||
|
%p
|
||||||
|
Add the events to your calendar:
|
||||||
|
%span.btn-group
|
||||||
|
= link_to("Days only", calendar_url(protocol: 'webcal', format: 'ics'), class: 'btn btn-default')
|
||||||
|
= link_to("Detailed", calendar_url(protocol: 'webcal', format: 'ics', full: true), class: 'btn btn-default')
|
||||||
|
|
||||||
-content_for :script_body do
|
-content_for :script_body do
|
||||||
:javascript
|
:javascript
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,13 @@
|
||||||
|
|
||||||
.visible-md-inline.visible-lg-inline
|
.visible-md-inline.visible-lg-inline
|
||||||
= render partial: 'carousel', locals: { date: date, hrs_per_slide: 3 }
|
= render partial: 'carousel', locals: { date: date, hrs_per_slide: 3 }
|
||||||
%p.pull-right
|
%p
|
||||||
= link_to app_conference_schedule_path do
|
%span
|
||||||
Get the mobile app!
|
= link_to conference_schedule_url(protocol: 'webcal', format: 'ics') do
|
||||||
|
Add the schedule to your calendar
|
||||||
|
%span.pull-right
|
||||||
|
= link_to app_conference_schedule_path do
|
||||||
|
Get the mobile app!
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
// change of active tab and the button title when a date is clicked
|
// change of active tab and the button title when a date is clicked
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue