New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a printable output of the schedule.xml #504

Closed
thomic opened this Issue Sep 18, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@thomic

thomic commented Sep 18, 2018

Problem you are facing

Many smaller conferences can't afford high-tech digital signage solutions, may it be due to lack of displays or due to lack of infobeamers and Raspberry Pi's available.
For those conferences - a printable output (like PDF) would be amazing. At the moment - with every browser I tried [Firefox, Chromium] - I wasn't able to get a nice formatted output (like split by day on DIN A4 to just "hang it on the wall").

Example see here: https://cfp.owncloud.com/occon18/schedule/

If you try to print it - it doesn't size well.

Possible Solution

Provide a printable output.

Context

see above.

Thanks for your amazing work! This is an awesome tool.

@luto

This comment has been minimized.

Member

luto commented Sep 18, 2018

@media print {
  body {
    background: none;
    overflow: visible;
  }
  #navigator, #schedule-nav, #main-card .user-row, #event-nonpublic {
    display: none;
  }
  .container {
    max-width: 100%;
  }
  .day {
    break-after: page;
  }
  /* hacks to make page break work */
  h3:not(:first-of-type) {
    margin-top: 5em;
  }
  #fahrplan {
    display: block; 
  }
}

A quick CSS to make the page more printable. Page breaks after certain elements (days in this case) do not seem to be supported well in browsers. Our flexbox layout breaks it.. m) Also note that this only seems to work in chrome. Firefox just prints the first day and then stops.

Once the fix for #505 is released, you can upload this in your conference settings. Except for the page break hack, we should also be able to ship this in the future.

rixx added a commit that referenced this issue Dec 5, 2018

@rixx

This comment has been minimized.

Member

rixx commented Dec 5, 2018

Printing on Firefox still seems broken, and I can't go and debug it, because https://bugzilla.mozilla.org/show_bug.cgi?id=1202711

Printing on Chromium works, though, so it's a best effort fix for now.

@rixx rixx closed this Dec 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment