|
| 1 | +{% extends "base.html" %} |
| 2 | +{# Copyright The IETF Trust 2015, All Rights Reserved #} |
| 3 | +{% load origin %} |
| 4 | + |
| 5 | +{% load ietf_filters staticfiles %} |
| 6 | + |
| 7 | +{% block pagehead %} |
| 8 | +<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}"> |
| 9 | +{% endblock %} |
| 10 | + |
| 11 | +{% block bodyAttrs %}data-spy="scroll" data-target="#affix"{% endblock %} |
| 12 | + |
| 13 | +{% block title %}IETF Upcoming Meetings{% endblock %} |
| 14 | + |
| 15 | +{% block content %} |
| 16 | + {% origin %} |
| 17 | + <div class="row"> |
| 18 | + <div class="col-md-10"> |
| 19 | + |
| 20 | + <h1>IETF Upcoming Meetings</h1> |
| 21 | + |
| 22 | + <div class="panel-group" id="accordion"> |
| 23 | + <div class="panel panel-default"> |
| 24 | + <div class="panel-heading"> |
| 25 | + <h4 class="panel-title"> |
| 26 | + <a data-toggle="collapse" data-parent="#accordion" href="#customize"> |
| 27 | + <span class="fa fa-caret-down"></span> Customize the meeting list... |
| 28 | + </a> |
| 29 | + </h4> |
| 30 | + </div> <!-- panel-heading --> |
| 31 | + |
| 32 | + <div id="customize" class="panel-collapse collapse"> |
| 33 | + <div class="panel-body"> |
| 34 | + <p> |
| 35 | + You can customize the list to show only selected groups |
| 36 | + by clicking on groups and areas in the table below. |
| 37 | + To be able to return to the customized view later, bookmark the resulting URL. |
| 38 | + </p> |
| 39 | + |
| 40 | + {% if group_parents|length %} |
| 41 | + <p>Groups displayed in <b><i>italics</i></b> are BOFs.</p> |
| 42 | + |
| 43 | + <table class="table table-condensed"> |
| 44 | + <thead> |
| 45 | + <tr> |
| 46 | + {% for p in group_parents %} |
| 47 | + <th style="width:{% widthratio 1 group_parents|length 100 %}%"> |
| 48 | + <button class="btn btn-default btn-block pickview {{p.acronym|lower}}">{{p.acronym|upper}}</button> |
| 49 | + </th> |
| 50 | + {% endfor %} |
| 51 | + </tr> |
| 52 | + </thead> |
| 53 | + <tbody> |
| 54 | + <tr> |
| 55 | + {% for p in group_parents %} |
| 56 | + <td class="view {{p.acronym|lower}}"> |
| 57 | + <div class="btn-group-vertical btn-block"> |
| 58 | + {% for group in p.group_list %} |
| 59 | + <div class="btn-group btn-group-xs btn-group-justified"> |
| 60 | + <button class="btn btn-default pickview {{group.acronym}}"> |
| 61 | + {% if group.is_bof %} |
| 62 | + <i>{{group.acronym}}</i> |
| 63 | + {% else %} |
| 64 | + {{group.acronym}} |
| 65 | + {% endif %} |
| 66 | + </button> |
| 67 | + </div> <!-- button-group --> |
| 68 | + {% endfor %} |
| 69 | + </div> <!-- button-group-vertical --> |
| 70 | + </td> |
| 71 | + {% endfor %} |
| 72 | + </tr> |
| 73 | + </tbody> |
| 74 | + </table> |
| 75 | + {% else %} |
| 76 | + <blockquote><i>No meetings have been scheduled yet.</i></blockquote> |
| 77 | + {% endif %} |
| 78 | + |
| 79 | + </div> <!-- panel-body --> |
| 80 | + </div> <!-- panel-collapse --> |
| 81 | + </div> <!-- panel --> |
| 82 | + </div> <!-- panel-group --> |
| 83 | + |
| 84 | + {% if meetings %} |
| 85 | + <h3></h3> |
| 86 | + <table class="table table-condensed table-striped tablesorter"> |
| 87 | + <thead> |
| 88 | + <tr> |
| 89 | + <th>Date</th> |
| 90 | + <th>Group</th> |
| 91 | + <th>Name</th> |
| 92 | + </tr> |
| 93 | + </thead> |
| 94 | + <tbody> |
| 95 | + {% for meeting in meetings %} |
| 96 | + {% if meeting.type.slug == 'interim' %} |
| 97 | + <tr id="row-{{ forloop.counter }}-{{ meeting.session_set.all.0.group.acronym }}"> |
| 98 | + {% else %} |
| 99 | + <tr id="row-{{ forloop.counter }}-ietf"> |
| 100 | + {% endif %} |
| 101 | + <td>{{ meeting.date }}</td> |
| 102 | + {% if meeting.type.slug == 'interim' %} |
| 103 | + <td>{{ meeting.session_set.all.0.group.acronym }}</td> |
| 104 | + {% else %} |
| 105 | + <td>ietf</td> |
| 106 | + {% endif %} |
| 107 | + <td> |
| 108 | + {% if meeting.type.slug == "interim" %} |
| 109 | + <a href="{% url 'ietf.meeting.views.session_details' num=meeting.number acronym=meeting.session_set.all.0.group.acronym %}">{{ meeting.number }}{% if meeting.session_set.all.0.status.slug == "canceled" %} -- CANCELLED --{% endif %}</a> |
| 110 | + {% else %} |
| 111 | + <a href="{% url 'ietf.meeting.views.agenda' num=meeting.number %}">IETF - {{ meeting.number }}</a> |
| 112 | + {% endif %} |
| 113 | + </td> |
| 114 | + </tr> |
| 115 | + {% endfor %} |
| 116 | + </tbody> |
| 117 | + </table> |
| 118 | + {% else %} |
| 119 | + <h3>No upcoming meetings</h3> |
| 120 | + {% endif %} |
| 121 | + |
| 122 | + </div> |
| 123 | + </div> |
| 124 | +{% endblock %} |
| 125 | + |
| 126 | +{% block js %} |
| 127 | +<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script> |
| 128 | +<script src="{% static 'ietf/js/toggle-visibility.js' %}"></script> |
| 129 | +{% endblock %} |
0 commit comments