58 lines
1.5 KiB
HTML
58 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load agenda_custom_tags %}
|
|
|
|
{% block title %}IETF {{ meeting.number }} Meeting Agenda: Timeslot/Room Availability{% endblock %}
|
|
|
|
{% block morecss %}
|
|
.tstable { width: 100%;}
|
|
.tstable th { white-space: nowrap;}
|
|
.tstable td { white-space: nowrap;}
|
|
.capacity { font-size:80%; font-weight: normal;}
|
|
|
|
.tstable .tstype_unavail {background-color:#666;}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
|
|
|
|
<table class="tstable table table-striped table-compact table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
{% for day in time_slices %}
|
|
<th colspan="{{date_slices|colWidth:day}}">
|
|
{{day|date:'D'}} ({{day}})
|
|
</th>
|
|
{% endfor %}
|
|
</tr>
|
|
<tr>
|
|
<th></th>
|
|
{% for day in time_slices %}
|
|
{% for slot in slot_slices|lookup:day %}
|
|
<th>
|
|
{{slot.time|date:'Hi'}}-{{slot.end_time|date:'Hi'}}
|
|
</th>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tr>
|
|
</thead>
|
|
|
|
{% for room in rooms %}
|
|
<tr>
|
|
<th>{{room.name}}<span class='capacity'>{% if room.capacity %} ({{room.capacity}}){% endif %}</th>
|
|
{% for day in time_slices %}
|
|
{% for slice in date_slices|lookup:day %}
|
|
{% with ts=ts_list.popleft %}
|
|
<td{% if ts %} class="tstype_{{ts.type.slug}}"{% endif %}>{% if ts %}<a href="{% url 'ietf.meeting.views.edit_timeslot_type' num=meeting.number slot_id=ts.id %}">{{ts.type.slug}}</a>{% endif %}</td>
|
|
{% endwith %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|