{% extends "base.html" %} {# Copyright The IETF Trust 2015, All Rights Reserved #} {% load origin %} {% load agenda_custom_tags misc_filters %} {% block title %}IETF {{ meeting.number }} Meeting Agenda: Timeslots and Room Availability{% endblock %} {% block morecss %} {% comment %} Put scrollbars on the editor table. Requires fixed height so the scroll bars appear on the div, not the page body. Note that 100vh is viewport height. Using that minus 25rem seems to leave space for the page header/footer. {% endcomment %} .timeslot-edit { overflow: auto; height: max(30rem, calc(100vh - 25rem));} .tstable { width: 100%; border-collapse: separate; } {# "separate" to ensure sticky cells keep their borders #} .tstable thead { position: sticky; top: 0; z-index: 2; background-color: white;} .tstable th:first-child, .tstable td:first-child { background-color: white; {# needs to match the lighter of the striped-table colors! #} position: sticky; left: 0; z-index: 1.5; {# render above other cells / borders but below thead (z-index 2, above) #} } .tstable tbody > tr:nth-of-type(odd) > th:first-child { background-color: rgb(249, 249, 249); {# needs to match the darker of the striped-table colors! #} } .tstable th { white-space: nowrap;} .tstable td { white-space: nowrap;} .capacity { font-size:80%; font-weight: normal;} a.new-timeslot-link { color: lightgray; font-size: large;} {% endblock %} {% block content %} {% origin %}

New timeslot · {% if meeting.schedule %} Edit rooms {% else %} {# secr app room view requires a schedule - show something for now (should try to avoid this possibility) #} Edit rooms {% endif %}

IETF {{ meeting.number }} Meeting Agenda: Timeslots and Room Availability

{% if rooms|length == 0 %}

No rooms exist for this meeting yet.

{% if meeting.schedule %} Create rooms {% else %}{# provide as helpful a link we can if we don't have an official schedule #} Create rooms through the secr app {% endif %} {% else %} {% with have_no_timeslots=time_slices|length_is:0 %} {% if have_no_timeslots %} {% else %} {% for day in time_slices %} {% endfor %} {% endif %} {% if have_no_timeslots %} {% else %} {% for day in time_slices %} {% for slot in slot_slices|lookup:day %} {% endfor %} {% endfor %} {% endif %} {% for room in rooms %} {% if have_no_timeslots and forloop.first %} {% else %} {% for day in time_slices %}{% with slots=slot_slices|lookup:day %} {% for slice in date_slices|lookup:day %}{% with cell_ts=ts_list.popleft slot=slots|index:forloop.counter0 %} {% endwith %}{% endfor %} {% endif %} {% endfor %} {% endwith %}
{{day|date:'D'}} ({{day}})
{{slot.time|date:'H:i'}}-{{slot.end_time|date:'H:i'}}
{{room.name}}{% if room.capacity %} ({{room.capacity}}){% endif %}

No timeslots exist for this meeting yet.

Create a timeslot.
{% if cell_ts %} {% for ts in cell_ts %} {% include 'meeting/timeslot_edit_timeslot.html' with ts=ts in_use=ts_with_any_assignments in_official_use=ts_with_official_assignments only %} {% endfor %} {% endif %} {% endwith %}{% endfor %}
{% endif %} {# Modal to confirm timeslot deletion #}
{% endblock %} {% block js %} {% endblock %}