Changeset - 734a0b713d2d
[Not reviewed]
Joel Addison - 3 years ago 2021-01-24 02:03:00
joel@addison.net.au
Improve printed schedule

Show each day on a new page when printed.
Hide elements that do not assist with printed copy (current time, etc).
5 files changed with 9 insertions and 5 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/schedule/schedule_conference.html
Show inline comments
...
 
@@ -48,3 +48,3 @@
 
          </h2>
 
          <p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}). Current talks will be highlighted.</p>
 
          <p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}). <span class="d-print-none">Current talks will be highlighted.</span></p>
 
          <div class="table-responsive d-none d-md-block">
pinaxcon/templates/symposion/schedule/schedule_detail.html
Show inline comments
...
 
@@ -13,3 +13,3 @@
 
    {% for timetable in days %}
 
    <div class="row">
 
    <div class="row timetable-day">
 
      <div class="col-12">
...
 
@@ -18,3 +18,3 @@
 
        </h2>
 
        <p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}). Current talks will be highlighted.</p>
 
        <p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}). <span class="d-print-none">Current talks will be highlighted.</span></p>
 
        <div class="table-responsive d-none d-md-block">
pinaxcon/templates/symposion/schedule/schedule_edit.html
Show inline comments
...
 
@@ -26,3 +26,3 @@
 
      </h2>
 
      <p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}). Current talks will be highlighted.</p>
 
      <p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}). <span class="d-print-none">Current talks will be highlighted.</span></p>
 
      <div class="table-responsive d-none d-md-block">
static/src/js/schedule.js
Show inline comments
...
 
@@ -136,3 +136,3 @@ $(function() {
 
            var template = document.createElement('template');
 
            template.innerHTML = '<div class="conf-clock"></div>';
 
            template.innerHTML = '<div class="conf-clock d-print-none"></div>';
 
            var clockDiv = template.content.firstChild;
static/src/scss/app.scss
Show inline comments
...
 
@@ -124,2 +124,6 @@ label.label-required:after { content: ' *'; }
 
    }
 

	
 
    .timetable-day:not(:first-child) {
 
        break-before: page;
 
    }
 
}
0 comments (0 inline, 0 general)