Summary: Reindent all HTML files to follow the previous convention (no

tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
This commit is contained in:
Ole Laursen 2015-02-17 18:01:04 +00:00
parent c72d465438
commit a589115ff4
251 changed files with 9426 additions and 9428 deletions

View file

@ -413,7 +413,7 @@ class ResurrectTests(TestCase):
r = self.client.get(url)
self.assertEqual(r.status_code, 200)
q = PyQuery(r.content)
self.assertEqual(len(q('form input[type=submit]')), 1)
self.assertEqual(len(q('form [type=submit]')), 1)
# request resurrect
@ -448,7 +448,7 @@ class ResurrectTests(TestCase):
r = self.client.get(url)
self.assertEqual(r.status_code, 200)
q = PyQuery(r.content)
self.assertEqual(len(q('form input[type=submit]')), 1)
self.assertEqual(len(q('form [type=submit]')), 1)
# complete resurrect
events_before = draft.docevent_set.count()

View file

@ -3,18 +3,17 @@
{% block title %}401 Unauthorized{% endblock %}
{% block content %}
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF" style="width: 10em">
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF" style="width: 10em">
<h2>Authentication Required</h2>
<h2>Authentication Required</h2>
<p>The server could not verify that you are authorized to view this page using
the username and password you provided. You can now:</p>
<p>The server could not verify that you are authorized to view this page using
the username and password you provided. You can now:</p>
<ul>
<li><a href="/accounts/login/">Attempt to login again</a></li>
<li><a href="/accounts/reset/">Request a password reset</a></li>
</ul>
<ul>
<li><a href="/accounts/login/">Attempt to login again</a></li>
<li><a href="/accounts/reset/">Request a password reset</a></li>
</ul>
<p>If you think this is a server error, please contact <a
href="mailto:webtools@ietf.org">webtools@ietf.org</a>.</p>
<p>If you think this is a server error, please contact <a href="mailto:webtools@ietf.org">webtools@ietf.org</a>.</p>
{% endblock %}

View file

@ -3,15 +3,14 @@
{% block title %}404 Not Found{% endblock %}
{% block content %}
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF" style="width: 10em">
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF" style="width: 10em">
<h2>The page you were looking for couldn't be found.</h2>
<h2>The page you were looking for couldn't be found.</h2>
<p> The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.</p>
<p> The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.</p>
<p>If you think this is a server error, please contact <a
href="mailto:webtools@ietf.org">webtools@ietf.org</a>.</p>
<p>If you think this is a server error, please contact <a href="mailto:webtools@ietf.org">webtools@ietf.org</a>.</p>
{% endblock %}

View file

@ -3,22 +3,22 @@
{% block title %}500 Internal Server Error{% endblock %}
{% block content %}
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF" style="width: 10em">
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF" style="width: 10em">
<h2>Internal Server Error.</h2>
<h2>Internal Server Error.</h2>
<p class="error-text">
The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an
error in a script used to generate the requested page. In case this
was an overload problem or other temporary error, you may want to
try again in a little while.
</p>
<p class="error-text">
A failure report with details about what happened has been sent to the
server administrators. It would be helpful if you would file a bug
report with additional information at the
<a href="http://trac.tools.ietf.org/tools/ietfdb/newticket">IETF database issue tracker</a>, too.
</p>
<p class="error-text">
The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an
error in a script used to generate the requested page. In case this
was an overload problem or other temporary error, you may want to
try again in a little while.
</p>
<p class="error-text">
A failure report with details about what happened has been sent to the
server administrators. It would be helpful if you would file a bug
report with additional information at the
<a href="http://trac.tools.ietf.org/tools/ietfdb/newticket">IETF database issue tracker</a>, too.
</p>
{% endblock %}

View file

@ -2,13 +2,13 @@
{% load i18n %}
{% block object-tools %}
{% if change %}{% if not is_popup %}
<ul class="object-tools">
{% if original.type_id == "sdo" %}
<li><a href="reminder/">SDO Authorized List Reminder</a></li>
{% endif %}
<li><a href="history/" class="historylink">{% trans "History" %}</a></li>
{% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
</ul>
{% endif %}{% endif %}
{% if change %}{% if not is_popup %}
<ul class="object-tools">
{% if original.type_id == "sdo" %}
<li><a href="reminder/">SDO Authorized List Reminder</a></li>
{% endif %}
<li><a href="history/" class="historylink">{% trans "History" %}</a></li>
{% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
</ul>
{% endif %}{% endif %}
{% endblock %}

View file

@ -7,37 +7,37 @@
{% block bodyclass %}change-form{% endblock %}
{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
<a href="../../../">{% trans "Home" %}</a> &rsaquo;
<a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
{% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
{% trans "Send reminder" %}
</div>
<div class="breadcrumbs">
<a href="../../../">{% trans "Home" %}</a> &rsaquo;
<a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
{% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
{% trans "Send reminder" %}
</div>
{% endif %}{% endblock %}
{% block content %}
<div id="content-main">
<h1>Send a reminder to {% if sdo %}{{ sdo }} SDO Liaison Manager{% else %}all SDO Liaison Managers{% endif %}</h1>
<div id="content-main">
<h1>Send a reminder to {% if sdo %}{{ sdo }} SDO Liaison Manager{% else %}all SDO Liaison Managers{% endif %}</h1>
{% if output %}
<p>Reminder sent successfully. See the output of the command:</p>
<pre>
{{ output }}
</pre>
{% if output %}
<p>Reminder sent successfully. See the output of the command:</p>
<pre>
{{ output }}
</pre>
{% else %}
{% if sdo %}
<p>You can send a reminder to the {{ sdo }} SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of {{ sdo }}</p>
{% else %}
<p>You can send a reminder to each SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of the SDO.</p>
<p>By clicking the 'Send' button you will send a request to <b>all</b> the SDO Liaison Managers. In order to send the request to one SDO Liaison Manager go to the SDO edit page.</p>
{% if sdo %}
<p>You can send a reminder to the {{ sdo }} SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of {{ sdo }}</p>
{% else %}
<p>You can send a reminder to each SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of the SDO.</p>
<p>By clicking the 'Send' button you will send a request to <b>all</b> the SDO Liaison Managers. In order to send the request to one SDO Liaison Manager go to the SDO edit page.</p>
{% endif %}
<form action="" method="post">{% csrf_token %}
<input type="submit" name="send" value="Send reminder" />
</form>
{% endif %}
<form action="" method="post">{% csrf_token %}
<input type="submit" name="send" value="Send reminder" />
</form>
{% endif %}
</div>
</div>
{% endblock %}

View file

@ -5,66 +5,66 @@
{% endif %}
<li {% if flavor == "top" %}class="dropdown"{% else %}class="nav-header"{% endif %}>
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-users"></span>#}
Groups
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-users"></span>#}
Groups
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
<li><a href="{% url "ietf.group.info.active_groups" group_type="wg" %}">Active WGs</a></li>
<li><a href="{% url "ietf.group.info.active_groups" group_type="rg" %}">Active RGs</a></li>
{% if flavor == "top" %}<li class="divider visible-lg-block"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header visible-lg-block"{% else %}class="nav-header hidden-nojs"{% endif %}>By area/parent</li>
{% if flavor == "top" %}<li class="divider visible-lg-block"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header visible-lg-block"{% else %}class="nav-header hidden-nojs"{% endif %}>By area/parent</li>
{% wg_menu %}
{# <li class="hidden-lg hidden-nojs"><a href="#" data-toggle="modal" data-target="#navmodal">Jump to group</a></li> #}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>New work</li>
<li><a href="{% url "ietf.group.info.chartering_groups" %}">Chartering WGs</a></li>
<li><a href="{% url "ietf.group.info.bofs" group_type="wg" %}">BOFs</a></li>
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>New work</li>
<li><a href="{% url "ietf.group.info.chartering_groups" %}">Chartering WGs</a></li>
<li><a href="{% url "ietf.group.info.bofs" group_type="wg" %}">BOFs</a></li>
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>Other groups</li>
<li><a href="{% url "ietf.group.info.concluded_groups" %}">Concluded WGs</a></li>
<li><a href="//www.ietf.org/list/nonwg.html">Non-WG lists</a></li>
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>Other groups</li>
<li><a href="{% url "ietf.group.info.concluded_groups" %}">Concluded WGs</a></li>
<li><a href="//www.ietf.org/list/nonwg.html">Non-WG lists</a></li>
{% if flavor == "top" %}</ul>{% endif %}
<li {% if flavor == "top" %}class="dropdown"{% else %}class="nav-header"{% endif %}>
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-file-text"></span>#}
Documents
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
<li><a href="{% url "submit_upload_submission" %}">Submit a draft</a></li>
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-file-text"></span>#}
Documents
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
<li><a href="{% url "submit_upload_submission" %}">Submit a draft</a></li>
{% if user|has_role:"WG Chair" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>WG chair</li>
<li><a href="{% url "submit_approvals" %}">Approve a draft</a></li>
{% endif %}
{% if user|has_role:"WG Chair" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>WG chair</li>
<li><a href="{% url "submit_approvals" %}">Approve a draft</a></li>
{% endif %}
{% get_user_managed_lists user as community_lists %}
{% if community_lists %}
<li><a href="{{ community_lists.personal.get_manage_url }}">My tracked docs</a></li>
{% for cl in community_lists.group %}
<li><a href="{{ cl.get_manage_url }}">WG {{ cl.short_name }} docs</a></li>
{% endfor %}
{% else %}
<li><a rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in to track docs</a></li>
{% endif %}
{% get_user_managed_lists user as community_lists %}
{% if community_lists %}
<li><a href="{{ community_lists.personal.get_manage_url }}">My tracked docs</a></li>
{% for cl in community_lists.group %}
<li><a href="{{ cl.get_manage_url }}">WG {{ cl.short_name }} docs</a></li>
{% endfor %}
{% else %}
<li><a rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in to track docs</a></li>
{% endif %}
{% if user|has_role:"Area Director,Secretariat" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li><a href="{% url "rfc_status_changes" %}">RFC status changes</a></li>
{% endif %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>RFC streams</li>
{% if user|has_role:"Area Director,Secretariat" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li><a href="{% url "rfc_status_changes" %}">RFC status changes</a></li>
{% endif %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>RFC streams</li>
<li><a href="{% url "ietf.group.views_stream.stream_documents" acronym="iab" %}">IAB</a></li>
<li><a href="{% url "ietf.group.views_stream.stream_documents" acronym="irtf" %}">IRTF</a></li>
<li><a href="{% url "ietf.group.views_stream.stream_documents" acronym="ise" %}">ISE</a></li>
@ -72,33 +72,33 @@
{% if flavor == "top" %}</ul>{% endif %}
<li {% if flavor == "top" %}class="dropdown"{% else %}class="nav-header"{% endif %}>
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-comments"></span>#}
Meetings
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-comments"></span>#}
Meetings
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
<li><a href="/meeting/agenda/">Agenda</a></li>
<li><a href="/meeting/">Materials</a></li>
<li><a href="//www.ietf.org/meeting/proceedings.html">Past proceedings</a></li>
<li><a href="//www.ietf.org/meeting/upcoming.html">Upcoming</a></li>
<li><a href="/meeting/requests">Session requests</a></li>
<li><a href="/meeting/agenda/">Agenda</a></li>
<li><a href="/meeting/">Materials</a></li>
<li><a href="//www.ietf.org/meeting/proceedings.html">Past proceedings</a></li>
<li><a href="//www.ietf.org/meeting/upcoming.html">Upcoming</a></li>
<li><a href="/meeting/requests">Session requests</a></li>
{% if flavor == "top" %}</ul>{% endif %}
<li {% if flavor == "top" %}class="dropdown"{% else %}class="nav-header"{% endif %}>
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-folder"></span>#}
Other
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-folder"></span>#}
Other
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
<li><a href="/ipr/">IPR disclosures</a></li>
<li><a href="/liaison/">Liaison statements</a></li>
<li><a href="/iesg/agenda/">IESG agenda</a></li>
<li><a href="/ipr/">IPR disclosures</a></li>
<li><a href="/liaison/">Liaison statements</a></li>
<li><a href="/iesg/agenda/">IESG agenda</a></li>
{% if flavor == "top" %}</ul>{% endif %}
{% if flavor == "top" %}

View file

@ -1,54 +1,54 @@
{% load ietf_filters %}
<li {% if flavor == "top" %}class="dropdown"{% else %}class="nav-header"{% endif %}>
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-user"></span>#}
{% if user.is_authenticated %} {{ user }} {% else %} User {% endif %}
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
{% if request.get_full_path == "/accounts/logout/" %}
<li><a rel="nofollow" href="/accounts/login{% if "/accounts/logout/" not in request.get_full_path %}/?next={{request.get_full_path|urlencode}}{% endif %}">Sign in</a></li>
{% else %}
{% if user.is_authenticated %}
<li><a rel="nofollow" href="/accounts/logout/" >Sign out</a></li>
<li><a rel="nofollow" href="/accounts/profile/">Edit profile</a></li>
{% else %}
<li><a rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a></li>
{% endif %}
{% endif %}
{% if flavor == "top" %}<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% endif %}
{#<span class="fa fa-user"></span>#}
{% if user.is_authenticated %} {{ user }} {% else %} User {% endif %}
{% if flavor == "top" %}
</a>
<ul class="dropdown-menu" role="menu">
{% endif %}
{% if request.get_full_path == "/accounts/logout/" %}
<li><a rel="nofollow" href="/accounts/login{% if "/accounts/logout/" not in request.get_full_path %}/?next={{request.get_full_path|urlencode}}{% endif %}">Sign in</a></li>
{% else %}
{% if user.is_authenticated %}
<li><a rel="nofollow" href="/accounts/logout/" >Sign out</a></li>
<li><a rel="nofollow" href="/accounts/profile/">Edit profile</a></li>
{% else %}
<li><a rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a></li>
{% endif %}
{% endif %}
<li><a href="{% url "account_index" %}">{% if request.user.is_authenticated %}Manage account{% else %}New account{% endif %}</a></li>
<li><a href="{%url "ietf.cookies.views.settings" %}" rel="nofollow">Settings</a></li>
<li><a href="{% url "account_index" %}">{% if request.user.is_authenticated %}Manage account{% else %}New account{% endif %}</a></li>
<li><a href="{%url "ietf.cookies.views.settings" %}" rel="nofollow">Settings</a></li>
{% if user|has_role:"Area Director" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>AD dashboard</li>
<li><a href="{% url "docs_for_ad" name=user.person.full_name_as_key %}">My docs</a></li>
<li><a href="{% url "ietf.iesg.views.agenda_documents" %}">Next telechat</a></li>
<li><a href="{% url "ietf.iesg.views.discusses" %}">Discusses</a></li>
<li><a href="{% url "ietf.iesg.views.milestones_needing_review" %}">Milestone review</a></li>
{% endif %}
{% if user|has_role:"Area Director" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>AD dashboard</li>
<li><a href="{% url "docs_for_ad" name=user.person.full_name_as_key %}">My docs</a></li>
<li><a href="{% url "ietf.iesg.views.agenda_documents" %}">Next telechat</a></li>
<li><a href="{% url "ietf.iesg.views.discusses" %}">Discusses</a></li>
<li><a href="{% url "ietf.iesg.views.milestones_needing_review" %}">Milestone review</a></li>
{% endif %}
{% if user|has_role:"Secretariat" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>IETF secretariat</li>
<li><a href="/admin/iesg/telechatdate/">Telechat dates</a></li>
<li><a href="/admin/iesg/telechatagendaitem/">Management items</a></li>
<li><a href="{% url "ietf.iesg.views.milestones_needing_review" %}">Milestones</a></li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a>
{% endif %}
{% if user|has_role:"Secretariat" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>IETF secretariat</li>
<li><a href="/admin/iesg/telechatdate/">Telechat dates</a></li>
<li><a href="/admin/iesg/telechatagendaitem/">Management items</a></li>
<li><a href="{% url "ietf.iesg.views.milestones_needing_review" %}">Milestones</a></li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a>
{% endif %}
{% if user|has_role:"IANA" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>IANA</li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a></li>
{% endif %}
{% if user|has_role:"IANA" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>IANA</li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a></li>
{% endif %}
{% if user|has_role:"RFC Editor" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>RFC Editor</li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a></li>
{% endif %}
{% if user|has_role:"RFC Editor" %}
{% if flavor == "top" %}<li class="divider hidden-xs"></li>{% endif %}
<li {%if flavor == "top" %}class="dropdown-header hidden-xs"{% else %}class="nav-header"{% endif %}>RFC Editor</li>
<li><a href="{% url "ietf.sync.views.discrepancies" %}">Sync discrepancies</a></li>
{% endif %}
{% if flavor == "top" %}</ul>{% endif %}

View file

@ -1,5 +1,5 @@
{% for p in parents %}
<li class="hidden-nojs dropdown-submenu visible-lg-block group-menu group-parent-{{ p.id }}">
<a href="{{ p.menu_url }}">{{ p.short_name }}</a>
</li>
<li class="hidden-nojs dropdown-submenu visible-lg-block group-menu group-parent-{{ p.id }}">
<a href="{{ p.menu_url }}">{{ p.short_name }}</a>
</li>
{% endfor %}

View file

@ -1,42 +1,42 @@
<div class="table-responsive">
{% spaceless %}
<table class="table table-condensed">
<thead>
<tr>
{% for area in areas %}
<th class="text-center">{{area.acronym|upper}}</th>
{% endfor %}
<th class="text-center">IRTF</th>
</tr>
</thead>
<tbody>
<tr>
{% for area in areas %}
<td>
<div class="btn-group-vertical btn-block">
{% for group in area.active_groups %}
<div class="btn-group btn-group-xs btn-group-justified">
<a href="{% url "ietf.group.info.group_home" group_type=group.type_id acronym=group.acronym %}" class="btn btn-default">
{{group.acronym}}
</a>
</div>
{% endfor %}
</div>
</td>
{% endfor %}
<td>
<div class="btn-group-vertical btn-block">
{% for group in rgs %}
<div class="btn-group btn-group-xs btn-group-justified">
<a href="{% url "ietf.group.info.group_home" group_type=group.type_id acronym=group.acronym %}" class="btn btn-default">
{{group.acronym}}
</a>
</div>
{% endfor %}
</div>
</td>
</tr>
</tbody>
</table>
{% endspaceless %}
{% spaceless %}
<table class="table table-condensed">
<thead>
<tr>
{% for area in areas %}
<th class="text-center">{{area.acronym|upper}}</th>
{% endfor %}
<th class="text-center">IRTF</th>
</tr>
</thead>
<tbody>
<tr>
{% for area in areas %}
<td>
<div class="btn-group-vertical btn-block">
{% for group in area.active_groups %}
<div class="btn-group btn-group-xs btn-group-justified">
<a href="{% url "ietf.group.info.group_home" group_type=group.type_id acronym=group.acronym %}" class="btn btn-default">
{{group.acronym}}
</a>
</div>
{% endfor %}
</div>
</td>
{% endfor %}
<td>
<div class="btn-group-vertical btn-block">
{% for group in rgs %}
<div class="btn-group btn-group-xs btn-group-justified">
<a href="{% url "ietf.group.info.group_home" group_type=group.type_id acronym=group.acronym %}" class="btn btn-default">
{{group.acronym}}
</a>
</div>
{% endfor %}
</div>
</td>
</tr>
</tbody>
</table>
{% endspaceless %}
</div>

View file

@ -1,7 +1,7 @@
{% load ietf_filters %}
{% if editable_streams %}
<li class="sect">Streams</li>
<li class="sect">Streams</li>
{% for stream in editable_streams %}
<li{% if forloop.last %} style="margin-bottom: 2px;"{% endif %}><a href="{% url "ietf.group.views_stream.stream_edit" stream.slug %}">{{ stream.name }} stream</a></li>
<li{% if forloop.last %} style="margin-bottom: 2px;"{% endif %}><a href="{% url "ietf.group.views_stream.stream_edit" stream.slug %}">{{ stream.name }} stream</a></li>
{% endfor %}
{% endif %}

View file

@ -3,22 +3,22 @@
{% bootstrap_messages %}
<form role="form" method="post" action="#custom">
{% csrf_token %}
{% bootstrap_form display_form %}
{% csrf_token %}
{% bootstrap_form display_form %}
<div class="form-group">
<label>Show fields</label>
{% for field in dc.get_display_fields_config %}
<div class="checkbox">
<label for="id_{{ field.codename }}">
<input id="id_{{ field.codename }}" type="checkbox" name="{{ field.codename }}" {% if field.active %}checked{% endif %}>
{{ field.description }}
</label>
</div>
{% endfor %}
</div>
<div class="form-group">
<label>Show fields</label>
{% for field in dc.get_display_fields_config %}
<div class="checkbox">
<label for="id_{{ field.codename }}">
<input id="id_{{ field.codename }}" type="checkbox" name="{{ field.codename }}" {% if field.active %}checked{% endif %}>
{{ field.description }}
</label>
</div>
{% endfor %}
</div>
{% buttons %}
<input type="submit" class="btn btn-primary" name="save_display">
{% endbuttons %}
{% buttons %}
<input type="submit" class="btn btn-primary" name="save_display">
{% endbuttons %}
</form>

View file

@ -6,124 +6,124 @@
{% block title %}{{ cl.long_name }}{% endblock %}
{% block content %}
<h1>{{ cl.long_name }}</h1>
<h1>{{ cl.long_name }}</h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<ul class="nav nav-tabs nav-memory" role="tablist">
<li class="active"><a href="#view" data-toggle="tab">Documents</a></li>
<li><a href="#documents" data-toggle="tab">Explicitly added</a></li>
<li><a href="#rules" data-toggle="tab">Rules</a></li>
<li><a href="#custom" data-toggle="tab">Display customization</a></li>
<li><a href="#info" data-toggle="tab">Exports</a></li>
</ul>
<ul class="nav nav-tabs nav-memory" role="tablist">
<li class="active"><a href="#view" data-toggle="tab">Documents</a></li>
<li><a href="#documents" data-toggle="tab">Explicitly added</a></li>
<li><a href="#rules" data-toggle="tab">Rules</a></li>
<li><a href="#custom" data-toggle="tab">Display customization</a></li>
<li><a href="#info" data-toggle="tab">Exports</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="view">
{% include "community/view_list.html" %}
</div>
<div class="tab-content">
<div class="tab-pane active" id="view">
{% include "community/view_list.html" %}
</div>
<div class="tab-pane" id="documents">
<p>
In order to add some individual documents to your list, you have to:
</p>
<ul>
<li>Search for the document or documents you want to add using the datatracker search form.</li>
<li>In the search results, you'll find a link to add individual documents to your list.</li>
</ul>
<a class="btn btn-default" href="/doc/search">Search documents</a>
<div class="tab-pane" id="documents">
<p>
In order to add some individual documents to your list, you have to:
</p>
<ul>
<li>Search for the document or documents you want to add using the datatracker search form.</li>
<li>In the search results, you'll find a link to add individual documents to your list.</li>
</ul>
<a class="btn btn-default" href="/doc/search">Search documents</a>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Name</th><th>State</th><th>Title</th><th></th>
</tr>
</thead>
<tbody>
{% for doc in cl.added_ids.all %}
<tr>
<td>{{ doc.display_name }}</td>
<td>{{ doc.get_state }}</td>
<td><a href="{{ doc.get_absolute_url }}">{{ doc.title }}</a></td>
<td><a class="btn btn-danger btn-xs" href="{% url "community_remove_document" cl.pk doc.pk %}">Remove</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Name</th><th>State</th><th>Title</th><th></th>
</tr>
</thead>
<tbody>
{% for doc in cl.added_ids.all %}
<tr>
<td>{{ doc.display_name }}</td>
<td>{{ doc.get_state }}</td>
<td><a href="{{ doc.get_absolute_url }}">{{ doc.title }}</a></td>
<td><a class="btn btn-danger btn-xs" href="{% url "community_remove_document" cl.pk doc.pk %}">Remove</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="tab-pane" id="rules">
<table class="table table-condensed table-striped">
<thead>
<tr><th>Rule</th><th>Value</th><th>Documents</th><th></th></tr>
</thead>
<tbody>
{% for rule in cl.rule_set.all %}
{% with rule.get_callable_rule as callable %}
<tr>
<td>{{ callable.description }}</td>
<td>{{ callable.show_value }}</td>
<td>{% with rule.cached_ids.count as count %}{{ count }} document{{ count|pluralize }}{% endwith %}</td>
<td><a class="btn btn-danger btn-xs" href="{% url "community_remove_rule" cl.pk rule.pk %}">Remove</a></td>
</tr>
{% endwith %}
{% endfor %}
</tbody>
</table>
<div class="tab-pane" id="rules">
<table class="table table-condensed table-striped">
<thead>
<tr><th>Rule</th><th>Value</th><th>Documents</th><th></th></tr>
</thead>
<tbody>
{% for rule in cl.rule_set.all %}
{% with rule.get_callable_rule as callable %}
<tr>
<td>{{ callable.description }}</td>
<td>{{ callable.show_value }}</td>
<td>{% with rule.cached_ids.count as count %}{{ count }} document{{ count|pluralize }}{% endwith %}</td>
<td><a class="btn btn-danger btn-xs" href="{% url "community_remove_rule" cl.pk rule.pk %}">Remove</a></td>
</tr>
{% endwith %}
{% endfor %}
</tbody>
</table>
<h3>Add a new rule</h3>
<h3>Add a new rule</h3>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form rule_form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form rule_form %}
{% buttons %}
<input type="submit" class="btn btn-primary" name="save_rule" value="Add rule">
{% endbuttons %}
</form>
</div>
{% buttons %}
<input type="submit" class="btn btn-primary" name="save_rule" value="Add rule">
{% endbuttons %}
</form>
</div>
<div class="tab-pane" id="custom">
{% include "community/customize_display.html" %}
</div>
<div class="tab-pane" id="custom">
{% include "community/customize_display.html" %}
</div>
<div class="tab-pane" id="info">
<p>Feel free to share the following links if you need to:</p>
<div class="tab-pane" id="info">
<p>Feel free to share the following links if you need to:</p>
<ul>
<li><a href="{{ cl.secret }}/view/">Read only view for {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/changes/feed/">Feed for every change in status of {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/changes/significant/feed/">Feed for significant change in status of {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/subscribe/">Subscribe to the mailing list for every change in status of {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/subscribe/significant/">Subscribe to the mailing list for significant change in status of {{ cl.long_name }}</a></li>
</ul>
<ul>
<li><a href="{{ cl.secret }}/view/">Read only view for {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/changes/feed/">Feed for every change in status of {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/changes/significant/feed/">Feed for significant change in status of {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/subscribe/">Subscribe to the mailing list for every change in status of {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/subscribe/significant/">Subscribe to the mailing list for significant change in status of {{ cl.long_name }}</a></li>
</ul>
<p>Export your list to CSV format:</p>
<ul>
<li><a href="csv/">CSV for {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/csv/">Read only CSV for {{ cl.long_name }}</a></li>
</ul>
</div>
</div>
<p>Export your list to CSV format:</p>
<ul>
<li><a href="csv/">CSV for {{ cl.long_name }}</a></li>
<li><a href="{{ cl.secret }}/csv/">Read only CSV for {{ cl.long_name }}</a></li>
</ul>
</div>
</div>
{% endblock %}
{% comment %}
XXX scrolling jumps around when using this, unfortunately
<script>
$('.nav-memory a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
$('.nav-memory a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
// store the currently selected tab in the hash value
$("ul.nav-tabs > li > a").on("shown.bs.tab", function (e) {
var id = $(e.target).attr("href").substr(1);
window.location.hash = id;
});
// store the currently selected tab in the hash value
$("ul.nav-tabs > li > a").on("shown.bs.tab", function (e) {
var id = $(e.target).attr("href").substr(1);
window.location.hash = id;
});
// on load of the page: switch to the currently selected tab
var hash = window.location.hash;
$('.nav-memory a[href="' + hash + '"]').tab('show');
// on load of the page: switch to the currently selected tab
var hash = window.location.hash;
$('.nav-memory a[href="' + hash + '"]').tab('show');
</script>
{% endcomment %}

View file

@ -6,24 +6,24 @@
{% block content %}
{% if success %}
<h1>Subscription successful</h1>
{% if success %}
<h1>Subscription successful</h1>
<p>We have sent an email to your email address with instructions to complete your subscription.</p>
{% else %}
<h1>Subscribe to {{ cl.long_name }}</h1>
<p>We have sent an email to your email address with instructions to complete your subscription.</p>
{% else %}
<h1>Subscribe to {{ cl.long_name }}</h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p>Subscribe to the email list for notifications of {% if significant %}significant {% endif %}changes on {{ cl.long_name }}.</p>
<p>Subscribe to the email list for notifications of {% if significant %}significant {% endif %}changes on {{ cl.long_name }}.</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Subscribe</button>
{% endbuttons %}
</form>
{% endif %}
{% buttons %}
<button type="submit" class="btn btn-primary">Subscribe</button>
{% endbuttons %}
</form>
{% endif %}
{% endblock %}

View file

@ -3,11 +3,11 @@
{% block title %}Subscription to {{ cl.long_name }}{% endblock %}
{% block content %}
<h1>Subscription to {{ cl.long_name }}</h1>
<h1>Subscription to {{ cl.long_name }}</h1>
<p>Your email address {{ email }} has been successfully subscribed to {{ cl.long_name }}.</p>
<p>Your email address {{ email }} has been successfully subscribed to {{ cl.long_name }}.</p>
<p>
<a class="btn btn-primary" href="{% url "view_personal_list" secret=cl.secret %}">Back</a>
</p>
<p>
<a class="btn btn-primary" href="{% url "view_personal_list" secret=cl.secret %}">Back</a>
</p>
{% endblock %}

View file

@ -6,28 +6,28 @@
{% block content %}
{% if success %}
<h1>Cancellation successful</h1>
{% if success %}
<h1>Cancellation successful</h1>
<p>
You will receive a confirmation email shortly containing further instructions on how to cancel your subscription.
</p>
{% else %}
<h1>Cancel subscription to {{ cl.long_name }}</h1>
<p>
You will receive a confirmation email shortly containing further instructions on how to cancel your subscription.
</p>
{% else %}
<h1>Cancel subscription to {{ cl.long_name }}</h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p>
Cancel your subscription to the email list for notifications of {% if significant %}significant {% endif %}changes on {{ cl.long_name }}.
</p>
<p>
Cancel your subscription to the email list for notifications of {% if significant %}significant {% endif %}changes on {{ cl.long_name }}.
</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Subscribe</button>
{% endbuttons %}
</form>
{% endif %}
{% buttons %}
<button type="submit" class="btn btn-primary">Subscribe</button>
{% endbuttons %}
</form>
{% endif %}
{% endblock %}

View file

@ -3,13 +3,13 @@
{% block title %}Cancelled subscription to {{ cl.long_name }}{% endblock %}
{% block content %}
<h1>Cancelled subscription to {{ cl.long_name }}</h1>
<h1>Cancelled subscription to {{ cl.long_name }}</h1>
<p>
Your email address {{ email }} has been successfully removed from the {{ cl.long_name }} {% if significant %}significant {% endif %}changes mailing list.
</p>
<p>
Your email address {{ email }} has been successfully removed from the {{ cl.long_name }} {% if significant %}significant {% endif %}changes mailing list.
</p>
<p>
<a class="btn btn-primary" href="{{ cl.get_public_url }}">Back</a>
</p>
<p>
<a class="btn btn-primary" href="{{ cl.get_public_url }}">Back</a>
</p>
{% endblock %}

View file

@ -1,20 +1,20 @@
{% extends "ietf.html" %}
{% block pagehead %}
<link rel="alternate" type="application/atom+xml" title="Changes on {{ cl.long_name }}" href="../changes/feed/" />
<link rel="alternate" type="application/atom+xml" title="Significant changes on {{ cl.long_name }}" href="../changes/significant/feed/" />
<link rel="alternate" type="application/atom+xml" title="Changes on {{ cl.long_name }}" href="../changes/feed/" />
<link rel="alternate" type="application/atom+xml" title="Significant changes on {{ cl.long_name }}" href="../changes/significant/feed/" />
{% endblock %}
{% block title %}{{ cl.long_name }}{% endblock %}
{% block content %}
<h1>{{ cl.long_name }}</h1>
<p>
Subscribe to notification email lists:
</p>
<ul>
<li><a href="../subscribe/">All changes email list</a></li>
<li><a href="../subscribe/significant/">Significant changes email list</a></li>
</ul>
{% include "community/view_list.html" %}
<h1>{{ cl.long_name }}</h1>
<p>
Subscribe to notification email lists:
</p>
<ul>
<li><a href="../subscribe/">All changes email list</a></li>
<li><a href="../subscribe/significant/">Significant changes email list</a></li>
</ul>
{% include "community/view_list.html" %}
{% endblock %}

View file

@ -3,47 +3,47 @@
{% load future %}
{% with cl.get_rfcs_and_drafts as documents %}
{% with dc.get_active_fields as fields %}
<h2>Drafts</h2>
<table class="table table-condensed table-striped">
<thead>
<tr>
{% for field in fields %}
<th>{{ field.description }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for doc in documents.1 %}
<tr>
{% for field in fields %}
<td>{% show_field field doc %}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endwith %}
{% with dc.get_active_fields as fields %}
<h2>Drafts</h2>
<table class="table table-condensed table-striped">
<thead>
<tr>
{% for field in fields %}
<th>{{ field.description }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for doc in documents.1 %}
<tr>
{% for field in fields %}
<td>{% show_field field doc %}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endwith %}
{% with dc.get_active_fields as fields %}
<h2>RFCs</h2>
<table class="table table-condensed table-striped">
<thead>
<tr>
{% for field in fields %}
<th>{{ field.rfcDescription }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for doc in documents.0 %}
<tr>
{% for field in fields %}
<td>{% show_field field doc %}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endwith %}
{% with dc.get_active_fields as fields %}
<h2>RFCs</h2>
<table class="table table-condensed table-striped">
<thead>
<tr>
{% for field in fields %}
<th>{{ field.rfcDescription }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for doc in documents.0 %}
<tr>
{% for field in fields %}
<td>{% show_field field doc %}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endwith %}
{% endwith %}

View file

@ -4,48 +4,48 @@
{% block content %}
<h1>User settings</h1>
<h1>User settings</h1>
<p>
The following settings are implemented using cookies, so if you have
cookies disabled then you will not be able to change the settings
(everything still continues to work by using default settings).
</p>
<p>
The following settings are implemented using cookies, so if you have
cookies disabled then you will not be able to change the settings
(everything still continues to work by using default settings).
</p>
<h2>How many days is considered "new"?</h2>
<h2>How many days is considered "new"?</h2>
<p>This setting affects how many days are considered "new enough" to get the special highlighting in the documents table. Default setting is 14 days.</p>
<p>This setting affects how many days are considered "new enough" to get the special highlighting in the documents table. Default setting is 14 days.</p>
<div class="btn-group btn-group-justified">
<div class="btn-group btn-group-justified">
<a class="btn btn-default {% if new_enough == 7 %}active{% endif %}" href="/accounts/settings/new_enough/7">7 days</a>
<a class="btn btn-default {% if new_enough == 14 %}active{% endif %}" href="/accounts/settings/new_enough/14">14 days</a>
<a class="btn btn-default {% if new_enough == 21 %}active{% endif %}" href="/accounts/settings/new_enough/21">21 days</a>
<a class="btn btn-default {% if new_enough == 30 %}active{% endif %}" href="/accounts/settings/new_enough/30">30 days</a>
<a class="btn btn-default {% if new_enough == 60 %}active{% endif %}" href="/accounts/settings/new_enough/60">60 days</a>
<a class="btn btn-default {% if new_enough == 90 %}active{% endif %}" href="/accounts/settings/new_enough/90">90 days</a>
</div>
</div>
<h2 class="ietf-divider">How many days is considered "soon"?</h2>
<h2 class="ietf-divider">How many days is considered "soon"?</h2>
<p>This setting tells what is considered "soon" when showing documents that are going to be expire soon. Default setting is 14 days.</p>
<p>This setting tells what is considered "soon" when showing documents that are going to be expire soon. Default setting is 14 days.</p>
<div class="btn-group btn-group-justified">
<div class="btn-group btn-group-justified">
<a class="btn btn-default {% if expires_soon == 7 %}active{% endif %}" href="/accounts/settings/expires_soon/7">7 days</a>
<a class="btn btn-default {% if expires_soon == 14 %}active{% endif %}" href="/accounts/settings/expires_soon/14">14 days</a>
<a class="btn btn-default {% if expires_soon == 21 %}active{% endif %}" href="/accounts/settings/expires_soon/21">21 days</a>
<a class="btn btn-default {% if expires_soon == 30 %}active{% endif %}" href="/accounts/settings/expires_soon/30">30 days</a>
<a class="btn btn-default {% if expires_soon == 60 %}active{% endif %}" href="/accounts/settings/expires_soon/60">60 days</a>
<a class="btn btn-default {% if expires_soon == 90 %}active{% endif %}" href="/accounts/settings/expires_soon/90">90 days</a>
</div>
</div>
<h2 class="ietf-divider">Show full document text by default?</h2>
<h2 class="ietf-divider">Show full document text by default?</h2>
<p>Show the full text immediately on the document page instead of only showing beginning of it. This defaults to off.</p>
<p>Show the full text immediately on the document page instead of only showing beginning of it. This defaults to off.</p>
<div class="btn-group btn-group-justified">
<div class="btn-group btn-group-justified">
<a class="btn btn-default {% if full_draft == "off" %}active{% endif %}" href="/accounts/settings/full_draft/off">Off</a>
<a class="btn btn-default {% if full_draft == "on" %}active{% endif %}" href="/accounts/settings/full_draft/on">On</a>
</div>
</div>
{% endblock %}

View file

@ -1,36 +1,36 @@
{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% if debug %}
{% load ietf_filters %}
{% load future %}
{% load ietf_filters %}
{% load future %}
<div id="debug" style="clear: left;">
<h3>SQL Queries</h3>
<p>
{{ sql_queries|length }} queries ({{ sql_queries|timesum }}s)
{% if sql_queries|length != 0 %}
<a class="btn btn-default btn-sm" onclick="document.getElementById('debug-query-table').style.display='';">Show</a>
{% endif %}
</p>
<table class="table table-condensed table-striped" id="debug-query-table" style="display: none;">
<col width="1"></col>
<col></col>
<col width="1"></col>
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">SQL</th>
<th scope="col">Time</th>
</tr>
</thead>
<tbody>
{% for query in sql_queries %}
<tr>
<td>{{ forloop.counter }}</td>
<td>{{ query.sql|expand_comma|escape }}</td>
<td>{{ query.time }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div id="debug" style="clear: left;">
<h3>SQL Queries</h3>
<p>
{{ sql_queries|length }} queries ({{ sql_queries|timesum }}s)
{% if sql_queries|length != 0 %}
<a class="btn btn-default btn-sm" onclick="document.getElementById('debug-query-table').style.display='';">Show</a>
{% endif %}
</p>
<table class="table table-condensed table-striped" id="debug-query-table" style="display: none;">
<col width="1"></col>
<col></col>
<col width="1"></col>
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">SQL</th>
<th scope="col">Time</th>
</tr>
</thead>
<tbody>
{% for query in sql_queries %}
<tr>
<td>{{ forloop.counter }}</td>
<td>{{ query.sql|expand_comma|escape }}</td>
<td>{{ query.time }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}

View file

@ -5,19 +5,19 @@
{% block title %}Add comment for {{ doc }}{% endblock %}
{% block content %}
<h1>Add comment<br><small>{{ doc }}</small></h1>
<h1>Add comment<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<p class="help-block">The comment will be added to the history trail.</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<p class="help-block">The comment will be added to the history trail.</p>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -6,22 +6,22 @@
{% block title %}Approval announcement writeup for {{ doc }}{% endblock %}
{% block content %}
<h1>Approval announcement writeup<br><small>{{ doc }}</small></h1>
<h1>Approval announcement writeup<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form approval_text_form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form approval_text_form %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_approval_text">Save text</button>
<button type="submit" class="btn btn-warning" name="regenerate_approval_text">Regenerate text</button>
{% if user|has_role:"Secretariat" and can_announce %}
<a class="btn btn-default" href="{% url "doc_approve_ballot" name=doc.name %}">Approve ballot</a>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_approval_text">Save text</button>
<button type="submit" class="btn btn-warning" name="regenerate_approval_text">Regenerate text</button>
{% if user|has_role:"Secretariat" and can_announce %}
<a class="btn btn-default" href="{% url "doc_approve_ballot" name=doc.name %}">Approve ballot</a>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock%}

View file

@ -5,21 +5,21 @@
{% block title %}Approve ballot for {{ doc }}{% endblock %}
{% block content %}
<h1>Approve ballot<br><small>{{ doc }}</small></h1>
<h1>Approve ballot<br><small>{{ doc }}</small></h1>
<form role="form" method="post">
{% csrf_token %}
<pre>{{ announcement }}</pre>
<form role="form" method="post">
{% csrf_token %}
<pre>{{ announcement }}</pre>
{% buttons %}
{% if action == "to_announcement_list" %}
<button class="btn btn-warning" type="submit">Notify RFC Editor, send announcement & close ballot</button>
{% elif action == "to_rfc_editor" %}
<button class="btn btn-warning" type="submit">Email RFC Editor & close ballot</button>
{% elif action == "do_not_publish" %}
<button class="btn btn-warning" type="submit">Email RFC Editor (DNP) & close ballot"/>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_ballot_approvaltext" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
{% if action == "to_announcement_list" %}
<button class="btn btn-warning" type="submit">Notify RFC Editor, send announcement & close ballot</button>
{% elif action == "to_rfc_editor" %}
<button class="btn btn-warning" type="submit">Email RFC Editor & close ballot</button>
{% elif action == "do_not_publish" %}
<button class="btn btn-warning" type="submit">Email RFC Editor (DNP) & close ballot"/>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_ballot_approvaltext" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,15 +3,15 @@
{% block title %}Ballot issued for {{ doc }}{% endblock %}
{% block content %}
<h1>Ballot issued<br><small>{{ doc }}</small></h1>
<h1>Ballot issued<br><small>{{ doc }}</small></h1>
<p>Ballot has been sent out.</p>
<p>Ballot has been sent out.</p>
{% if doc.telechat_date %}
<p>The document is currently on the {{ doc.telechat_date }} telechat agenda.</p>
{% else %}
<p>The document is not on any telechat agenda.</p>
{% endif %}
{% if doc.telechat_date %}
<p>The document is currently on the {{ doc.telechat_date }} telechat agenda.</p>
{% else %}
<p>The document is not on any telechat agenda.</p>
{% endif %}
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endblock %}

View file

@ -3,20 +3,20 @@
{% block title %}Clear ballot for {{ doc }}{% endblock %}
{% block content %}
<h1>Clear ballot<br><small>{{ doc }}</small></h1>
<h1>Clear ballot<br><small>{{ doc }}</small></h1>
<form role="form" method="post">
{% csrf_token %}
<p class="alert alert-danger">
<b>Clear the ballot for {{ doc }}?</b>
<br>
This will clear all ballot positions and discuss entries.
</p>
<form role="form" method="post">
{% csrf_token %}
<p class="alert alert-danger">
<b>Clear the ballot for {{ doc }}?</b>
<br>
This will clear all ballot positions and discuss entries.
</p>
{% buttons %}
<button type="submit" class="btn btn-danger">Clear</button>
<a class="btn btn-default pull-right" href="{{ back_url }}ballot/">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-danger">Clear</button>
<a class="btn btn-default pull-right" href="{{ back_url }}ballot/">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,20 +5,20 @@
{% block title %}Defer ballot for {{ doc }}{% endblock %}
{% block content %}
<h1>Defer ballot<br><small>{{ doc }}</small></h1>
<h1>Defer ballot<br><small>{{ doc }}</small></h1>
<form role="form" method="post">
{% csrf_token %}
<p class="alert alert-danger">
<b>Defer the ballot for {{ doc }}?</b>
<br>
The ballot will then be put on the IESG agenda of {{ telechat_date }}.
</p>
<form role="form" method="post">
{% csrf_token %}
<p class="alert alert-danger">
<b>Defer the ballot for {{ doc }}?</b>
<br>
The ballot will then be put on the IESG agenda of {{ telechat_date }}.
</p>
{% buttons %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
<button type="submit" class="btn btn-danger">Defer ballot</button>
{% endbuttons %}
</form>
{% buttons %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
<button type="submit" class="btn btn-danger">Defer ballot</button>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,60 +5,62 @@
{% block title %}Change position for {{ ad.plain_name }} on {{ doc }}{% endblock %}
{% block content %}
<h1>Change position for {{ ad.plain_name }}<br><small>{{ doc }}</small></h1>
<h1>Change position for {{ ad.plain_name }}<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<div class="question">{{ ballot.ballot_type.question }}</div>
<div class="question">{{ ballot.ballot_type.question }}</div>
{% if ballot_deferred %}
<p class="alert alert-info">
Ballot deferred by {{ ballot_deferred.by }} on {{ ballot_deferred.time|date:"Y-m-d" }}.
</p>
{% endif %}
{% if ballot_deferred %}
<p class="alert alert-info">
Ballot deferred by {{ ballot_deferred.by }} on {{ ballot_deferred.time|date:"Y-m-d" }}.
</p>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
{% for field in form %}
{% bootstrap_field field %}
{% if field.name == "discuss" and old_pos and old_pos.discuss_time %}
<span class="help-block">Last edited {{ old_pos.discuss_time }}</span>
{% elif field.name == "comment" and old_pos and old_pos.comment_time %}
<span class="help-block">Last edited {{ old_pos.comment_time }}</span>
{% endif %}
{% endfor %}
{% for field in form %}
{% bootstrap_field field %}
{% if field.name == "discuss" and old_pos and old_pos.discuss_time %}
<span class="help-block">Last edited {{ old_pos.discuss_time }}</span>
{% elif field.name == "comment" and old_pos and old_pos.comment_time %}
<span class="help-block">Last edited {{ old_pos.comment_time }}</span>
{% endif %}
{% endfor %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="send_mail">Save & send email</button>
<input type="submit" class="btn btn-default" value="Save">
{% buttons %}
<button type="submit" class="btn btn-primary" name="send_mail">Save & send email</button>
<input type="submit" class="btn btn-default" value="Save">
{% if doc.type_id == "draft" or doc.type_id == "conflrev" %}
{% if ballot_deferred %}
<input type="submit" class="btn btn-warning" name="Undefer" value="Undefer ballot">
{% else %}
<input type="submit" class="btn btn-danger" name="Defer" value="Defer ballot">
{% endif %}
{% endif %}
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% if doc.type_id == "draft" or doc.type_id == "conflrev" %}
{% if ballot_deferred %}
<input type="submit" class="btn btn-warning" name="Undefer" value="Undefer ballot">
{% else %}
<input type="submit" class="btn btn-danger" name="Defer" value="Defer ballot">
{% endif %}
{% endif %}
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}
{% block scripts %}
var block_pos = {{ blocking_positions|safe }};
{% block js %}
<script>
var block_pos = {{ blocking_positions|safe }};
function discuss_toggle(val) {
if (val in block_pos) {
$("#div_id_discuss").show();
} else {
$("#div_id_discuss").hide();
}
}
function discussToggle(val) {
if (val in block_pos) {
$("#div_id_discuss").show();
} else {
$("#div_id_discuss").hide();
}
}
$("input[name=position]").click(function () {
discussToggle($(this).val());
});
$("input[name=position]").click(function () {
discuss_toggle($(this).val());
});
discuss_toggle($("input[name=position]:checked").val());
discussToggle($("input[name=position]:checked").val());
</script>
{% endblock %}

View file

@ -6,31 +6,31 @@
{% block title %}Last call text for {{ doc }}{% endblock %}
{% block content %}
<h1>Last call text<br><small>{{ doc }}</small></h1>
<h1>Last call text<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form last_call_form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form last_call_form %}
{% if can_request_last_call and need_intended_status %}
<span class="help-block">
You need to select intended status of {{ need_intended_status }} and regenerate last call text to request last call.
</span>
{% endif %}
{% if can_request_last_call and need_intended_status %}
<span class="help-block">
You need to select intended status of {{ need_intended_status }} and regenerate last call text to request last call.
</span>
{% endif %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_last_call_text">Save text</button>
{% if can_request_last_call and not need_intended_status %}
<button type="submit" class="btn btn-warning" name="send_last_call_request">Save text & request last call</button>
{% endif %}
<button type="submit" class="btn btn-warning" name="regenerate_last_call_text">Regenerate text</button>
{% if user|has_role:"Secretariat" and can_make_last_call %}
<a class="btn btn-danger" href="{% url "doc_make_last_call" name=doc.name %}">Issue last call</a>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_last_call_text">Save text</button>
{% if can_request_last_call and not need_intended_status %}
<button type="submit" class="btn btn-warning" name="send_last_call_request">Save text & request last call</button>
{% endif %}
<button type="submit" class="btn btn-warning" name="regenerate_last_call_text">Regenerate text</button>
{% if user|has_role:"Secretariat" and can_make_last_call %}
<a class="btn btn-danger" href="{% url "doc_make_last_call" name=doc.name %}">Issue last call</a>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock%}

View file

@ -7,50 +7,50 @@
{% block title %}Send ballot position for {{ ad }}{% endblock %}
{% block content %}
<h1>Send ballot position for {{ ad }}</h1>
<h1>Send ballot position for {{ ad }}</h1>
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
<div class="form-group">
<label>From</label>
<input class="form-control" type="text" placeholder="{{ frm }}" disabled>
</div>
<div class="form-group">
<label>From</label>
<input class="form-control" type="text" placeholder="{{ frm }}" disabled>
</div>
<div class="form-group">
<label>To</label>
<input class="form-control" type="text" placeholder="{{ to }}" disabled>
</div>
<div class="form-group">
<label>To</label>
<input class="form-control" type="text" placeholder="{{ to }}" disabled>
</div>
<div class="form-group">
<label>Cc</label>
<input class="form-control" type="email" name="cc">
<span class="help-block">Separate email addresses with commas.</span>
</div>
<div class="form-group">
<label>Cc</label>
<input class="form-control" type="email" name="cc">
<span class="help-block">Separate email addresses with commas.</span>
</div>
{% if doc.notify %}
<div class="checkbox">
<label>
<input type="checkbox" name="cc_state_change" value="1" checked>
<b>Cc:</b> {{ doc.notify }}
</label>
</div>
{% endif %}
{% if doc.notify %}
<div class="checkbox">
<label>
<input type="checkbox" name="cc_state_change" value="1" checked>
<b>Cc:</b> {{ doc.notify }}
</label>
</div>
{% endif %}
<div class="form-group">
<label>Subject</label>
<input class="form-control" type="text" placeholder="{{ subject }}" disabled>
</div>
<div class="form-group">
<label>Subject</label>
<input class="form-control" type="text" placeholder="{{ subject }}" disabled>
</div>
<div class="form-group">
<label>Body</label>
<pre>{{ body|wrap_text }}</pre>
</div>
<div class="form-group">
<label>Body</label>
<pre>{{ body|wrap_text }}</pre>
</div>
{% buttons %}
<button type="submit" class="btn btn-danger">Send</button>
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-danger">Send</button>
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -6,23 +6,23 @@
{% block content %}
<h1>Ballot writeup and notes<br><small>{{ doc }}</small></h1>
<h1>Ballot writeup and notes<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form ballot_writeup_form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form ballot_writeup_form %}
<span class="help-block">
Technical summary, Working Group summary, document quality, personnel, RFC Editor note, IRTF note, IESG note, IANA note. This text will be appended to all announcements and messages to the IRTF or RFC Editor.
</span>
<span class="help-block">
Technical summary, Working Group summary, document quality, personnel, RFC Editor note, IRTF note, IESG note, IANA note. This text will be appended to all announcements and messages to the IRTF or RFC Editor.
</span>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_ballot_writeup">Save</button>
<button type="submit" class="btn btn-warning" name="issue_ballot">Save & {% if ballot_issued %}re-{% endif %}issue ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_ballot_writeup">Save</button>
<button type="submit" class="btn btn-warning" name="issue_ballot">Save & {% if ballot_issued %}re-{% endif %}issue ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock%}

View file

@ -1,37 +1,37 @@
{% load ietf_filters %}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="modal-title-{{ ballot_id }}">Ballot for {{ doc.name }}</h4>
{% if deferred %}
<p>Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.</p>
{% endif %}
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="modal-title-{{ ballot_id }}">Ballot for {{ doc.name }}</h4>
{% if deferred %}
<p>Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.</p>
{% endif %}
</div>
<div class="modal-body">
{{ ballot_content }}
{{ ballot_content }}
</div>
<div class="modal-footer">
{% if editable and user|has_role:"Area Director,Secretariat" %}
{% if user|has_role:"Area Director" %}
<a class="btn btn-default" href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot_id %}">Edit position</a>
{% endif %}
{% if editable and user|has_role:"Area Director,Secretariat" %}
{% if user|has_role:"Area Director" %}
<a class="btn btn-default" href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot_id %}">Edit position</a>
{% endif %}
{% if doc.type_id == "draft" or doc.type_id == "conflrev" %}
{% if deferred %}
<a class="btn btn-default" href="{% url "doc_undefer_ballot" name=doc.name %}">Undefer ballot</a>
{% else %}
<a class="btn btn-warning" href="{% url "doc_defer_ballot" name=doc.name %}">Defer ballot</a>
{% endif %}
{% if doc.type_id == "draft" or doc.type_id == "conflrev" %}
{% if deferred %}
<a class="btn btn-default" href="{% url "doc_undefer_ballot" name=doc.name %}">Undefer ballot</a>
{% else %}
<a class="btn btn-warning" href="{% url "doc_defer_ballot" name=doc.name %}">Defer ballot</a>
{% endif %}
{% if user|has_role:"Secretariat" %}
<a class="btn btn-danger" href="{% url "doc_clear_ballot" name=doc.name %}">Clear ballot</a>
{% endif %}
{% endif %}
{% endif %}
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
{% if user|has_role:"Secretariat" %}
<a class="btn btn-danger" href="{% url "doc_clear_ballot" name=doc.name %}">Clear ballot</a>
{% endif %}
{% endif %}
{% endif %}
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>

View file

@ -5,18 +5,18 @@
{% block title %}Change shepherding AD for {{titletext}}{% endblock %}
{% block content %}
<h1>Change shepherding AD<br><small>{{titletext}}</small></h1>
<h1>Change shepherding AD<br><small>{{titletext}}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -10,22 +10,22 @@
{% endblock %}
{% block content %}
<h1>Change document shepherd<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
<h1>Change document shepherd<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
<p>The shepherd needs to have a Datatracker account. A new account can be
<a href="{% url "create_account" %}">created here</a>.</p>
<p>The shepherd needs to have a Datatracker account. A new account can be
<a href="{% url "create_account" %}">created here</a>.</p>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}
{% block js %}

View file

@ -5,20 +5,20 @@
{% block title %}Change state for {{doc.title}}{% endblock %}
{% block content %}
<h1>Change state<br><small>{{doc.title}}</small></h1>
<h1>Change state<br><small>{{doc.title}}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p><a class="btn btn-info" href="{{help_url}}">Help on states</a></p>
<p><a class="btn btn-info" href="{{help_url}}">Help on states</a></p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,18 +5,18 @@
{% block title %}Change title for {{ doc.title }}{% endblock %}
{% block content %}
<h1>Change title<br><small>{{ titletext }}</small></h1>
<h1>Change title<br><small>{{ titletext }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -6,28 +6,28 @@
{% block title %}WG {{ announcement }} announcement writeup for {{ charter.chartered_group.acronym }}{% endblock %}
{% block content %}
<h1>WG {{ announcement }} announcement writeup<br><small>{{ charter.chartered_group.acronym }}</small></h1>
<h1>WG {{ announcement }} announcement writeup<br><small>{{ charter.chartered_group.acronym }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form announcement_text_form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form announcement_text_form %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_text">Submit</button>
<button type="submit" class="btn btn-warning" name="regenerate_text">Regenerate</button>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_text">Submit</button>
<button type="submit" class="btn btn-warning" name="regenerate_text">Regenerate</button>
{% if user|has_role:"Secretariat" %}
{% if announcement == "action" %}
<a type="submit" class="btn btn-default" href="{% url "charter_approve" name=charter.canonical_name %}">Charter approval page</a>
{% else %}
<input type="submit" type="submit" class="btn btn-default" name="send_text" value="Send WG {{ announcement }} announcement" />
{% endif %}
{% endif %}
{% if user|has_role:"Secretariat" %}
{% if announcement == "action" %}
<a type="submit" class="btn btn-default" href="{% url "charter_approve" name=charter.canonical_name %}">Charter approval page</a>
{% else %}
<input type="submit" type="submit" class="btn btn-default" name="send_text" value="Send WG {{ announcement }} announcement" />
{% endif %}
{% endif %}
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
</form>
{% endblock%}

View file

@ -5,16 +5,16 @@
{% block title %}Approve {{ charter.canonical_name }}{% endblock %}
{% block content %}
<h1>Approve {{ charter.canonical_name }}-{{ charter.rev }}</h1>
<h1>Approve {{ charter.canonical_name }}-{{ charter.rev }}</h1>
<form role="form" method="post">
{% csrf_token %}
<pre>{{ announcement }}</pre>
<form role="form" method="post">
{% csrf_token %}
<pre>{{ announcement }}</pre>
{% buttons %}
<button type="submit" class="btn btn-primary">Send announcement, close ballot & update revision</button>
<a class="btn btn-default" href="{% url "charter_edit_announcement" name=charter.canonical_name ann="action" %}?next=approve">Edit/regenerate announcement</a>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=charter.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Send announcement, close ballot & update revision</button>
<a class="btn btn-default" href="{% url "charter_edit_announcement" name=charter.canonical_name ann="action" %}?next=approve">Edit/regenerate announcement</a>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=charter.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,11 +3,11 @@
{% block title %}Ballot for {{ doc.name }} issued{% endblock %}
{% block content %}
<h1>Ballot for {{ doc.name }} issued</h1>
<h1>Ballot for {{ doc.name }} issued</h1>
<p>Ballot has been sent out.</p>
<p>Ballot has been sent out.</p>
<div class="buttonlist">
<a class="btn btn-default" href="{% url "doc_writeup" name=doc.name %}">Back</a>
</div>
<div class="buttonlist">
<a class="btn btn-default" href="{% url "doc_writeup" name=doc.name %}">Back</a>
</div>
{% endblock %}

View file

@ -6,23 +6,23 @@
{% block content %}
<h1>Ballot writeup and notes<br><small>{{ charter.chartered_group }}</small></h1>
<h1>Ballot writeup and notes<br><small>{{ charter.chartered_group }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form ballot_writeup_form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form ballot_writeup_form %}
<span class="help-block">
Working group summary, personnel, IAB note, IESG note, IANA note.
</span>
<span class="help-block">
Working group summary, personnel, IAB note, IESG note, IANA note.
</span>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_ballot_writeup">Save</button>
<button type="submit" class="btn btn-warning" name="send_ballot">Save & {% if ballot_issued %}re-{% endif %}issue ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_writeup" name=charter.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_ballot_writeup">Save</button>
<button type="submit" class="btn btn-warning" name="send_ballot">Save & {% if ballot_issued %}re-{% endif %}issue ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_writeup" name=charter.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock%}

View file

@ -3,22 +3,22 @@
{% load bootstrap3 %}
{% block title %}
Change responsible AD for {{ charter.canonical_name }}-{{ charter.rev }}
Change responsible AD for {{ charter.canonical_name }}-{{ charter.rev }}
{% endblock %}
{% block content %}
<h1>Change responsible AD<br><small>{{ charter.canonical_name }}-{{ charter.rev }}</small></h1>
<h1>Change responsible AD<br><small>{{ charter.canonical_name }}-{{ charter.rev }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=charter.canonical_name %}">Back</a>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=charter.canonical_name %}">Back</a>
{% endbuttons %}
</form>
</form>
{% endblock %}

View file

@ -5,72 +5,73 @@
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h1>{{ title }}</h1>
<h1>{{ title }}</h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
{% if not option %}
<p><a class="btn btn-info" href="{% url "state_help" type="charter" %}">Help on states</a></p>
{% endif %}
{% if not option %}
<p><a class="btn btn-info" href="{% url "state_help" type="charter" %}">Help on states</a></p>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
{% for field in form.visible_fields %}
{% bootstrap_field field %}
<form role="form" method="post">
{% csrf_token %}
{% for field in form.visible_fields %}
{% bootstrap_field field %}
{% if field.name == "charter_state" and chartering_type == "rechartering" %}
<div class="checkbox ballot-wo-extern">
<label>
<input type="checkbox" name="ballot_wo_extern">
<b>Ask whether external review can be skipped in ballot</b>
</label>
</div>
{% endif %}
{% endfor %}
{% if field.name == "charter_state" and chartering_type == "rechartering" %}
<div class="checkbox ballot-wo-extern">
<label>
<input type="checkbox" name="ballot_wo_extern">
<b>Ask whether external review can be skipped in ballot</b>
</label>
</div>
{% endif %}
{% endfor %}
{% if initial_review %}
<p class="alert alert-warning"><b>Warning:</b> Announced initial review time hasn't elapsed yet. It does so at {{ initial_review.expires }}.</p>
<p class="alert alert-warning"><b>Warning:</b> Announced initial review time hasn't elapsed yet. It does so at {{ initial_review.expires }}.</p>
{% endif %}
{% buttons %}
{% if option == "initcharter" or option == "recharter" %}
<button class="btn btn-primary" type="submit">Initiate chartering</button>
{% endif %}
{% if not option or option == "abandon" %}
<button class="btn btn-primary" type="submit">Save & notify secretariat</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endif %}
{% endbuttons %}
</form>
{% if prev_state %}
<h3>Or revert to previous state</h3>
<div class="prev-state">
<form action="" method="post">{% csrf_token %}
<input type="hidden" name="charter_state" value="{{ prev_charter_state.pk }}" />
<input type="hidden" name="state" value="{{ prev_state.slug }}" />
<input type="submit" value="Back to {{ prev_charter_state.name }}" />
{% buttons %}
{% if option == "initcharter" or option == "recharter" %}
<button class="btn btn-primary" type="submit">Initiate chartering</button>
{% endif %}
{% if not option or option == "abandon" %}
<button class="btn btn-primary" type="submit">Save & notify secretariat</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endif %}
{% endbuttons %}
</form>
</div>
{% endif %}
{% if prev_state %}
<h3>Or revert to previous state</h3>
<div class="prev-state">
<form action="" method="post">{% csrf_token %}
<input type="hidden" name="charter_state" value="{{ prev_charter_state.pk }}" />
<input type="hidden" name="state" value="{{ prev_state.slug }}" />
<input type="submit" value="Back to {{ prev_charter_state.name }}" />
</form>
</div>
{% endif %}
{% endblock %}
{% block scripts %}
var info_msg = {{ info_msg|safe }}, statesForBallotWoExtern = {{ states_for_ballot_wo_extern }};
{% block js %}
<script>
var info_msg = {{ info_msg|safe }}, statesForBallotWoExtern = {{ states_for_ballot_wo_extern }};
$(document).ready(function () {
function stateChanged() {
var v = $(this).val();
$("#id_message").val(info_msg[v] || "");
if ($.inArray(+v, statesForBallotWoExtern) != -1)
$(".ballot-wo-extern").show();
else
$(".ballot-wo-extern").hide();
}
$("#id_charter_state").click(stateChanged).change(stateChanged).keydown(stateChanged);
$("#id_charter_state").click();
});
$(document).ready(function () {
function stateChanged() {
var v = $(this).val();
$("#id_message").val(info_msg[v] || "");
if ($.inArray(+v, statesForBallotWoExtern) != -1)
$(".ballot-wo-extern").show();
else
$(".ballot-wo-extern").hide();
}
$("#id_charter_state").click(stateChanged).change(stateChanged).keydown(stateChanged);
$("#id_charter_state").click();
});
</script>
{% endblock %}

View file

@ -5,17 +5,17 @@
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h1>{{ title }}</h1>
<h1>{{ title }}</h1>
<form role="form" class="change-title" method="post">
{% csrf_token %}
<form role="form" class="change-title" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% bootstrap_form form %}
{% buttons %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
<button class="btn btn-primary" type="submit">Save and (possibly) notify Secretariat</button>
{% endbuttons %}
</form>
{% buttons %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
<button class="btn btn-primary" type="submit">Save and (possibly) notify Secretariat</button>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,24 +3,24 @@
{% load bootstrap3 %}
{% block title %}
Charter submission for {{ group.acronym }} {{ group.type.name }}
Charter submission for {{ group.acronym }} {{ group.type.name }}
{% endblock %}
{% block content %}
<h1>Charter submission<br><small>{{ group.acronym }} {{ group.type.name }}</small></h1>
<h1>Charter submission<br><small>{{ group.acronym }} {{ group.type.name }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p class="alert alert-info">The text will be submitted as <b>charter-ietf-{{ name }}-{{ next_rev }}</b>.</p>
<p class="alert alert-info">The text will be submitted as <b>charter-ietf-{{ name }}-{{ next_rev }}</b>.</p>
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=group.charter.name %}">Back</a>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=group.charter.name %}">Back</a>
{% endbuttons %}
</form>
</form>
{% endblock %}

View file

@ -5,18 +5,18 @@
{% block title %}Approve {{ review.canonical_name }}{% endblock %}
{% block content %}
<h1>Approve {{ review.canonical_name }}</h1>
<h1>Approve {{ review.canonical_name }}</h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-warning">Send announcement & close ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=review.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-warning">Send announcement & close ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=review.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -7,22 +7,22 @@
{% block title %}Begin IETF conflict review for {{doc_to_review.canonical_name}}-{{doc_to_review.rev}}{% endblock %}
{% block content %}
<h1>Begin IETF conflict review<br><small>{{doc_to_review.canonical_name}}-{{doc_to_review.rev}}</small></h1>
<h1>Begin IETF conflict review<br><small>{{doc_to_review.canonical_name}}-{{doc_to_review.rev}}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
{% if user|has_role:"Secretariat" %}
<p><a class="btn btn-info" href="{% url "state_help" type="conflict-review" %}">Help on states</a></p>
{% endif %}
{% if user|has_role:"Secretariat" %}
<p><a class="btn btn-info" href="{% url "state_help" type="conflict-review" %}">Help on states</a></p>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc_to_review.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc_to_review.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,26 +3,26 @@
{% load bootstrap3 %}
{% block title %}
Edit conflict review for {{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}
Edit conflict review for {{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}
{% endblock %}
{% block content %}
<h1>Edit conflict review<br><small>{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}</small></h1>
<h1>Edit conflict review<br><small>{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p class="alert alert-info">The text will be submitted as <strong>{{ review.canonical_name }}-{{ next_rev }}</strong></p>
<p class="alert alert-info">The text will be submitted as <strong>{{ review.canonical_name }}-{{ next_rev }}</strong></p>
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="submit_response">Submit</button>
<button type="submit" class="btn btn-warning" name="reset_text">Reset to template text</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=review.canonical_name %}">Back</a>
{% endbuttons %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="submit_response">Submit</button>
<button type="submit" class="btn btn-warning" name="reset_text">Reset to template text</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=review.canonical_name %}">Back</a>
{% endbuttons %}
</form>
</form>
{% endblock %}

View file

@ -5,6 +5,6 @@
{% block title %}Ballot for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
{{ top|safe }}
{{ ballot_content|safe }}
{{ top|safe }}
{{ ballot_content|safe }}
{% endblock content %}

View file

@ -1,114 +1,114 @@
{% load ietf_filters %}
<div class="row">
<div class="col-md-2 hidden-sm hidden-xs">
{% for n, positions in position_groups %}
<h4><span class="label label-{{ n|pos_to_label }}"> {{ n.name }}</span></h4>
{% for p in positions|dictsort:"ad.last_name" %}
<div>
{% if p.old_ad %}<span class="text-muted">{% endif %}
{% if p.comment or p.discuss %}
<a href="#{{ p.ad.plain_name|slugify }}">
{% endif %}
{{ p.ad.plain_name }}
{% if p.comment or p.discuss %}
</a>
{% endif %}
{% if user|has_role:"Secretariat" %}</a>{% endif %}
{% if p.old_ad %}</span>{% endif %}
</div>
{% empty %}
(None)
{% endfor %}
<br>
{% endfor %}
</div>
<div class="col-md-2 hidden-sm hidden-xs">
{% for n, positions in position_groups %}
<h4><span class="label label-{{ n|pos_to_label }}"> {{ n.name }}</span></h4>
{% for p in positions|dictsort:"ad.last_name" %}
<div>
{% if p.old_ad %}<span class="text-muted">{% endif %}
{% if p.comment or p.discuss %}
<a href="#{{ p.ad.plain_name|slugify }}">
{% endif %}
{{ p.ad.plain_name }}
{% if p.comment or p.discuss %}
</a>
{% endif %}
{% if user|has_role:"Secretariat" %}</a>{% endif %}
{% if p.old_ad %}</span>{% endif %}
</div>
{% empty %}
(None)
{% endfor %}
<br>
{% endfor %}
</div>
<div class="col-md-10">
{% if all_ballots and all_ballots|length > 1 %}
<ul class="pagination pagination-sm">
<li class="disabled"><span><b>Ballots</b></span></li>
{% for b in all_ballots %}
<li {% if b == ballot %}class="active"{% endif %}>
<a href="{% url "doc_ballot" name=doc.name ballot_id=b.pk %}">
{{ b.ballot_type.name }} ({{ b.rev }})
</a>
</li>
{% endfor %}
</ul>
{% endif %}
<div class="col-md-10">
{% if all_ballots and all_ballots|length > 1 %}
<ul class="pagination pagination-sm">
<li class="disabled"><span><b>Ballots</b></span></li>
{% for b in all_ballots %}
<li {% if b == ballot %}class="active"{% endif %}>
<a href="{% url "doc_ballot" name=doc.name ballot_id=b.pk %}">
{{ b.ballot_type.name }} ({{ b.rev }})
</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if doc.type_id == "draft" or doc.type_id == "conflrev" or doc.type_id == "statchg" %}
{% if deferred %}
<p class="alert alert-danger">Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.</p>
{% endif %}
{% endif %}
{% if doc.type_id == "draft" or doc.type_id == "conflrev" or doc.type_id == "statchg" %}
{% if deferred %}
<p class="alert alert-danger">Ballot deferred by {{ deferred.by }} on {{ deferred.time|date:"Y-m-d" }}.</p>
{% endif %}
{% endif %}
<p class="alert alert-info"><b>Summary:</b> {{ summary }}</p>
{% if not ballot_open %}
<p class="alert alert-warning"><b>Note:</b> This ballot was opened for revision {{ ballot.rev }} and is now closed.</p>
{% endif %}
<p class="alert alert-info"><b>Summary:</b> {{ summary }}</p>
{% if not ballot_open %}
<p class="alert alert-warning"><b>Note:</b> This ballot was opened for revision {{ ballot.rev }} and is now closed.</p>
{% endif %}
{% if ballot.ballot_type.question %}
<p class="well"><b>Ballot question:</b> "{{ ballot.ballot_type.question }}"</p>
{% endif %}
{% if ballot.ballot_type.question %}
<p class="well"><b>Ballot question:</b> "{{ ballot.ballot_type.question }}"</p>
{% endif %}
{% if editable and user|has_role:"Area Director,Secretariat" %}
{% if user|has_role:"Area Director" %}
<a class="btn btn-primary" href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot.pk %}">Edit position</a>
{% endif %}
{% if editable and user|has_role:"Area Director,Secretariat" %}
{% if user|has_role:"Area Director" %}
<a class="btn btn-primary" href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot.pk %}">Edit position</a>
{% endif %}
{% if doc.type_id == "draft" or doc.type_id == "conflrev" or doc.type_id == "statchg" %}
{% if deferred %}
<a class="btn btn-default" href="{% url "doc_undefer_ballot" name=doc.name %}">Undefer ballot</a>
{% else %}
{% if doc.telechat_date %}
<a class="btn btn-warning" href="{% url "doc_defer_ballot" name=doc.name %}">Defer ballot</a>
{% endif %}
{% endif %}
{% if doc.type_id == "draft" or doc.type_id == "conflrev" or doc.type_id == "statchg" %}
{% if deferred %}
<a class="btn btn-default" href="{% url "doc_undefer_ballot" name=doc.name %}">Undefer ballot</a>
{% else %}
{% if doc.telechat_date %}
<a class="btn btn-warning" href="{% url "doc_defer_ballot" name=doc.name %}">Defer ballot</a>
{% endif %}
{% endif %}
{% if user|has_role:"Secretariat" %}
<a class="btn btn-danger" href="{% url "doc_clear_ballot" name=doc.name %}">Clear ballot</a>
{% endif %}
{% endif %}
{% endif %}
{% if user|has_role:"Secretariat" %}
<a class="btn btn-danger" href="{% url "doc_clear_ballot" name=doc.name %}">Clear ballot</a>
{% endif %}
{% endif %}
{% endif %}
{% for n, positions in position_groups %}
{% for p in positions|dictsort:"ad.last_name" %}
<h4 class="anchor-target" id="{{ p.ad.plain_name|slugify }}">
{% if p.old_ad %}<span class="text-muted">{% endif %}
{{ p.ad.plain_name }}
{% if p.old_ad %}</span>{% endif %}
<span class="pull-right">
{% if p.old_positions %}
<span class="text-muted small">(was {{ p.old_positions|join:", " }})</span>
{% endif %}
<span class="label label-{{ p.pos|pos_to_label }}">{{p.pos}}</span>
{% if user|has_role:"Secretariat" %}
<a href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot.pk %}?ad={{ p.ad.pk }}" title="Click to edit the position of {{ p.ad.plain_name }}" class="btn btn-default btn-xs">
Edit</a>
{% endif %}
</span>
</h4>
{% for n, positions in position_groups %}
{% for p in positions|dictsort:"ad.last_name" %}
<h4 class="anchor-target" id="{{ p.ad.plain_name|slugify }}">
{% if p.old_ad %}<span class="text-muted">{% endif %}
{{ p.ad.plain_name }}
{% if p.old_ad %}</span>{% endif %}
<span class="pull-right">
{% if p.old_positions %}
<span class="text-muted small">(was {{ p.old_positions|join:", " }})</span>
{% endif %}
<span class="label label-{{ p.pos|pos_to_label }}">{{p.pos}}</span>
{% if user|has_role:"Secretariat" %}
<a href="{% url "ietf.doc.views_ballot.edit_position" name=doc.name ballot_id=ballot.pk %}?ad={{ p.ad.pk }}" title="Click to edit the position of {{ p.ad.plain_name }}" class="btn btn-default btn-xs">
Edit</a>
{% endif %}
</span>
</h4>
{% if p.pos.blocking and p.discuss %}
<div class="panel panel-danger">
<div class="panel-heading">
<h5 class="panel-title"><b>{{ p.pos.name }}</b> ({{ p.discuss_time|date:"Y-m-d" }} for -{{ p.get_dochistory.rev}})</h5>
</div>
<div class="panel-body"><pre class="ballot">{{ p.discuss|wrap_text:80|escape|urlize }}</pre></div>
</div>
{% endif %}
{% if p.pos.blocking and p.discuss %}
<div class="panel panel-danger">
<div class="panel-heading">
<h5 class="panel-title"><b>{{ p.pos.name }}</b> ({{ p.discuss_time|date:"Y-m-d" }} for -{{ p.get_dochistory.rev}})</h5>
</div>
<div class="panel-body"><pre class="ballot">{{ p.discuss|wrap_text:80|escape|urlize }}</pre></div>
</div>
{% endif %}
{% if p.comment %}
<div class="panel panel-{{ p.pos|pos_to_label }}">
<div class="panel-heading">
<h5 class="panel-title"><b>Comment</b> ({{ p.comment_time|date:"Y-m-d" }} for -{{ p.get_dochistory.rev}})</h5>
</div>
<div class="panel-body"><pre class="ballot">{{ p.comment|wrap_text:80|escape|urlize }}</pre></div>
</div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
{% if p.comment %}
<div class="panel panel-{{ p.pos|pos_to_label }}">
<div class="panel-heading">
<h5 class="panel-title"><b>Comment</b> ({{ p.comment_time|date:"Y-m-d" }} for -{{ p.get_dochistory.rev}})</h5>
</div>
<div class="panel-body"><pre class="ballot">{{ p.comment|wrap_text:80|escape|urlize }}</pre></div>
</div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>

View file

@ -3,177 +3,177 @@
{% load ietf_filters %}
{% block pagehead %}
<link rel="alternate" type="application/atom+xml" href="/feed/group-changes/{{ group.acronym }}/">
<link rel="alternate" type="application/atom+xml" href="/feed/group-changes/{{ group.acronym }}/">
{% endblock %}
{% block title %}{{ doc.title }}{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
{% include "doc/revisions_list.html" %}
{% include "doc/revisions_list.html" %}
<table class="table table-condensed table-striped">
<tr>
<th>
{% if doc.get_state_slug != "approved" %}
Proposed charter
{% else %}
Charter
{% endif %}
</th>
<td class="edit"></td>
<td>
{{ group.name }} {{ group.type.name }}
<a href="{{ group.about_url }}">({{ group.acronym }})</a>
<table class="table table-condensed table-striped">
<tr>
<th>
{% if doc.get_state_slug != "approved" %}
Proposed charter
{% else %}
Charter
{% endif %}
</th>
<td class="edit"></td>
<td>
{{ group.name }} {{ group.type.name }}
<a href="{{ group.about_url }}">({{ group.acronym }})</a>
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
<tr>
<th>Title</th>
<td class="edit">
{% if not snapshot and can_manage %}
{% doc_edit_button "charter_change_title" name=doc.name %}
{% endif %}
</td>
<td>{{ doc.title }}</td>
</tr>
<tr>
<th>Title</th>
<td class="edit">
{% if not snapshot and can_manage %}
{% doc_edit_button "charter_change_title" name=doc.name %}
{% endif %}
</td>
<td>{{ doc.title }}</td>
</tr>
<tr>
<th>WG state</th>
<td class="edit"></td>
<td>{{ group.state.name }}</td>
</tr>
<tr>
<th><a href="/doc/help/state/charter/">Charter state</a></th>
<td class="edit">
{% if not snapshot and can_manage %}
{% doc_edit_button "charter_change_state" name=doc.name %}
{% endif %}
</td>
<td>
<span title="{{ doc.get_state.desc }}">{{ doc.get_state.name }}</span>
<tr>
<th>WG state</th>
<td class="edit"></td>
<td>{{ group.state.name }}</td>
</tr>
<tr>
<th><a href="/doc/help/state/charter/">Charter state</a></th>
<td class="edit">
{% if not snapshot and can_manage %}
{% doc_edit_button "charter_change_state" name=doc.name %}
{% endif %}
</td>
<td>
<span title="{{ doc.get_state.desc }}">{{ doc.get_state.name }}</span>
{% if chartering == "initial" %}
<span class="label label-info">Initial chartering</span>
{% endif %}
{% if chartering == "rechartering" %}
<span class="label label-info">Rechartering</span>
{% endif %}
</td>
</tr>
{% if chartering == "initial" %}
<span class="label label-info">Initial chartering</span>
{% endif %}
{% if chartering == "rechartering" %}
<span class="label label-info">Rechartering</span>
{% endif %}
</td>
</tr>
{% if not snapshot and chartering %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if can_manage %}
{% doc_edit_button "charter_telechat_date" name=doc.name %}
{% endif %}
</td>
<td>
{% if not telechat %}
(None)
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% endif %}
{% if not snapshot and chartering %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if can_manage %}
{% doc_edit_button "charter_telechat_date" name=doc.name %}
{% endif %}
</td>
<td>
{% if not telechat %}
(None)
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% endif %}
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
{% endif %}
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
{% endif %}
<tr>
<th>Responsible AD</th>
<td class="edit">
{% if can_manage %}
{% doc_edit_button "charter_edit_ad" name=doc.name %}
{% endif %}
</td>
<td>
{{ doc.ad|default:"(None)" }}
</td>
</tr>
<tr>
<th>Responsible AD</th>
<td class="edit">
{% if can_manage %}
{% doc_edit_button "charter_edit_ad" name=doc.name %}
{% endif %}
</td>
<td>
{{ doc.ad|default:"(None)" }}
</td>
</tr>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if can_manage %}
{% doc_edit_button "charter_edit_notify" name=doc.name %}
{% endif %}
</td>
<td>
{{ doc.notify|default:"(None)" }}
</td>
</tr>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if can_manage %}
{% doc_edit_button "charter_edit_notify" name=doc.name %}
{% endif %}
</td>
<td>
{{ doc.notify|default:"(None)" }}
</td>
</tr>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<p class="buttonlist">
{% if not snapshot and can_manage %}
{% if chartering %}
{% url "charter_startstop_process" name=doc.name option='abandon' as abandon_url %}
{% if abandon_url %}
<a class="btn btn-danger" href="{{ abandon_url }}">Abandon chartering</a>
{% endif %}
<p class="buttonlist">
{% if not snapshot and can_manage %}
{% if chartering %}
{% url "charter_startstop_process" name=doc.name option='abandon' as abandon_url %}
{% if abandon_url %}
<a class="btn btn-danger" href="{{ abandon_url }}">Abandon chartering</a>
{% endif %}
{% if user|has_role:"Secretariat" %}
{% url "charter_approve" name=doc.name as approve_url %}
{% if approve_url %}
<a class="btn btn-warning" href="{{ approve_url }}">Approve charter</a>
{% endif %}
{% endif %}
{% if user|has_role:"Secretariat" %}
{% url "charter_approve" name=doc.name as approve_url %}
{% if approve_url %}
<a class="btn btn-warning" href="{{ approve_url }}">Approve charter</a>
{% endif %}
{% endif %}
{% else %}
{% else %}
{% if group.state_id == "proposed" or group.state_id == "bof" %}
{% url "charter_submit" name=doc.name option='initcharter' as start_url %}
{% if start_url %}
<a class="btn btn-default" href="{{ start_url }}">Start chartering</a>
{% endif %}
{% else %}
{% url "charter_submit" name=doc.name option='recharter' as recharter_url %}
{% if recharter_url %}
<a class="btn btn-default" href="{{ recharter_url }}">Recharter</a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
</p>
{% if group.state_id == "proposed" or group.state_id == "bof" %}
{% url "charter_submit" name=doc.name option='initcharter' as start_url %}
{% if start_url %}
<a class="btn btn-default" href="{{ start_url }}">Start chartering</a>
{% endif %}
{% else %}
{% url "charter_submit" name=doc.name option='recharter' as recharter_url %}
{% if recharter_url %}
<a class="btn btn-default" href="{{ recharter_url }}">Recharter</a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
</p>
<h2>Charter<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h2>
<h2>Charter<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h2>
{% if not snapshot and can_manage and chartering and group.state_id != "conclude" %}
<p><a class="btn btn-default" href="{% url "charter_submit" name=doc.name %}">Change charter text</a></p>
{% endif %}
{% if not snapshot and can_manage and chartering and group.state_id != "conclude" %}
<p><a class="btn btn-default" href="{% url "charter_submit" name=doc.name %}">Change charter text</a></p>
{% endif %}
{% if doc.rev != "" %}
{{ content|safe|keep_spacing|sanitize_html|wordwrap:80|safe }}
{% endif %}
{% if doc.rev != "" %}
{{ content|safe|keep_spacing|sanitize_html|wordwrap:80|safe }}
{% endif %}
{% if not snapshot and chartering %}
<h2>Proposed milestones</h2>
{% if can_manage %}
<p><a class="btn btn-primary" href="{% url "group_edit_charter_milestones" group_type=doc.group.type_id acronym=doc.group.acronym %}">Edit milestones</a></p>
{% endif %}
{% if not snapshot and chartering %}
<h2>Proposed milestones</h2>
{% if can_manage %}
<p><a class="btn btn-primary" href="{% url "group_edit_charter_milestones" group_type=doc.group.type_id acronym=doc.group.acronym %}">Edit milestones</a></p>
{% endif %}
{% if milestones %}
{% include "group/milestones.html" %}
{% else %}
<p>No milestones for charter found.</p>
{% endif %}
{% endif %}
{% if milestones %}
{% include "group/milestones.html" %}
{% else %}
<p>No milestones for charter found.</p>
{% endif %}
{% endif %}
{% endblock %}

View file

@ -5,114 +5,114 @@
{% block title %}{{ doc.title }}{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
{% include "doc/revisions_list.html" %}
{% include "doc/revisions_list.html" %}
<table class="table table-condensed table-striped">
<tr>
<th>
{% if doc.get_state_slug not in approved_states %}
Proposed conflict review
{% else %}
Conflict review
{% endif %}
</th>
<td class="edit"></td>
<td>
<a href="{% url "doc_view" name=conflictdoc.canonical_name %}">
{{ conflictdoc.canonical_name }}{% if conflictdoc.get_state_slug != 'rfc' %}-{{ conflictdoc.rev }}{% endif %}
</a>
<span class="label label-info">{{conflictdoc.stream}} stream</span>
<table class="table table-condensed table-striped">
<tr>
<th>
{% if doc.get_state_slug not in approved_states %}
Proposed conflict review
{% else %}
Conflict review
{% endif %}
</th>
<td class="edit"></td>
<td>
<a href="{% url "doc_view" name=conflictdoc.canonical_name %}">
{{ conflictdoc.canonical_name }}{% if conflictdoc.get_state_slug != 'rfc' %}-{{ conflictdoc.rev }}{% endif %}
</a>
<span class="label label-info">{{conflictdoc.stream}} stream</span>
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
<tr>
<th><a href="/doc/help/state/conflict-review/">Conflict review state</a></th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
<a title="{{ doc.get_state.desc }}" class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_change_state" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.get_state.name }}
</td>
</tr>
<tr>
<th><a href="/doc/help/state/conflict-review/">Conflict review state</a></th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
<a title="{{ doc.get_state.desc }}" class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_change_state" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.get_state.name }}
</td>
</tr>
{% if not snapshot %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_telechat_date" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{% if not telechat %}
(None)
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% if doc.returning_item %} (returning item){% endif %}
{% endif %}
{% if not snapshot %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_telechat_date" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{% if not telechat %}
(None)
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% if doc.returning_item %} (returning item){% endif %}
{% endif %}
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
</tr>
{% endif %}
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
</tr>
{% endif %}
<tr>
<th>Shepherding AD</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_ad" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.ad}}
</td>
</tr>
<tr>
<th>Shepherding AD</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_ad" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.ad}}
</td>
</tr>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_notices" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.notify}}
</td>
</tr>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_notices" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.notify}}
</td>
</tr>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<h2>Conflict review<br><small>{{ conflictdoc.name }}-{{ conflictdoc.rev }}</small></h2>
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug != 'apprsent' %}
<a class="btn btn-default" href="{% url "conflict_review_submit" name=doc.name %}">Change conflict review text</a>
{% endif %}
<h2>Conflict review<br><small>{{ conflictdoc.name }}-{{ conflictdoc.rev }}</small></h2>
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug != 'apprsent' %}
<a class="btn btn-default" href="{% url "conflict_review_submit" name=doc.name %}">Change conflict review text</a>
{% endif %}
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
{% if request.user|has_role:"Secretariat" %}
{% if doc.get_state_slug = 'appr-reqnopub-pend' or doc.get_state_slug = 'appr-noprob-pend' %}
<a class="btn btn-warning" href="{% url "conflict_review_approve" name=doc.name %}">Approve conflict review</a>
{% endif %}
{% endif %}
{% endif %}
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
{% if request.user|has_role:"Secretariat" %}
{% if doc.get_state_slug = 'appr-reqnopub-pend' or doc.get_state_slug = 'appr-noprob-pend' %}
<a class="btn btn-warning" href="{% url "conflict_review_approve" name=doc.name %}">Approve conflict review</a>
{% endif %}
{% endif %}
{% endif %}
{% if doc.rev %}
<p>{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}</p>
{% endif %}
{% if doc.rev %}
<p>{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}</p>
{% endif %}
{% endblock %}

View file

@ -3,395 +3,395 @@
{% load ietf_filters %}
{% block pagehead %}
<link rel="alternate" type="application/atom+xml" title="Document changes" href="/feed/document-changes/{{ name }}/">
<meta name="description" content="{{ doc.title }} {% if doc.get_state_slug == "rfc" %}(RFC {{ rfc_number }}{% if published %}, {{ published.time|date:"F Y" }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:", " }}{% endif %}){% else %}(Internet-Draft, {{ doc.time|date:"Y" }}){% endif %}">
<link rel="alternate" type="application/atom+xml" title="Document changes" href="/feed/document-changes/{{ name }}/">
<meta name="description" content="{{ doc.title }} {% if doc.get_state_slug == "rfc" %}(RFC {{ rfc_number }}{% if published %}, {{ published.time|date:"F Y" }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:", " }}{% endif %}){% else %}(Internet-Draft, {{ doc.time|date:"Y" }}){% endif %}">
{% endblock %}
{% block title %}
{% if doc.get_state_slug == "rfc" %}
RFC {{ rfc_number }}
{% else %}
{{ name }}-{{ doc.rev }}
{% endif %}
{% if doc.get_state_slug == "rfc" %}
RFC {{ rfc_number }}
{% else %}
{{ name }}-{{ doc.rev }}
{% endif %}
{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
<table class="table table-condensed table-striped">
<tr>
<th>Document type</th>
<td class="edit"></td>
<td>
{% if doc.get_state_slug == "rfc" %}
RFC - {{ doc.std_level }}
({% if published %}{{ published.time|date:"F Y" }}{% else %}publication date unknown{% endif %}{% if has_errata %}; <a href="//www.rfc-editor.org/errata_search.php?rfc={{ rfc_number }}" rel="nofollow">Errata</a>{% else %}; No errata{% endif %})
<table class="table table-condensed table-striped">
<tr>
<th>Document type</th>
<td class="edit"></td>
<td>
{% if doc.get_state_slug == "rfc" %}
RFC - {{ doc.std_level }}
({% if published %}{{ published.time|date:"F Y" }}{% else %}publication date unknown{% endif %}{% if has_errata %}; <a href="//www.rfc-editor.org/errata_search.php?rfc={{ rfc_number }}" rel="nofollow">Errata</a>{% else %}; No errata{% endif %})
{% if obsoleted_by %}<div>Obsoleted by {{ obsoleted_by|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if updated_by %}<div>Updated by {{ updated_by|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if obsoletes %}<div>Obsoletes {{ obsoletes|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if updates %}<div>Updates {{ updates|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if status_changes %}<div>Status changed by {{ status_changes|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if proposed_status_changes %}<div>Proposed status changed by {{ proposed_status_changes|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if rfc_aliases %}<div>Also known as {{ rfc_aliases|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if draft_name %}<div>Was <a href="/doc/{{ draft_name}}/">{{ draft_name }}</a> {% if submission %}({{ submission|safe }}){% endif %}</div>{% endif %}
{% else %}
{{ doc.get_state }} Internet-Draft {% if submission %}({{ submission|safe }}){% endif %}
{% if resurrected_by %}- resurrect requested by {{ resurrected_by }}{% endif %}
{% endif %}
</td>
</tr>
{% if obsoleted_by %}<div>Obsoleted by {{ obsoleted_by|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if updated_by %}<div>Updated by {{ updated_by|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if obsoletes %}<div>Obsoletes {{ obsoletes|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if updates %}<div>Updates {{ updates|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if status_changes %}<div>Status changed by {{ status_changes|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if proposed_status_changes %}<div>Proposed status changed by {{ proposed_status_changes|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if rfc_aliases %}<div>Also known as {{ rfc_aliases|join:", "|urlize_ietf_docs }}</div>{% endif %}
{% if draft_name %}<div>Was <a href="/doc/{{ draft_name}}/">{{ draft_name }}</a> {% if submission %}({{ submission|safe }}){% endif %}</div>{% endif %}
{% else %}
{{ doc.get_state }} Internet-Draft {% if submission %}({{ submission|safe }}){% endif %}
{% if resurrected_by %}- resurrect requested by {{ resurrected_by }}{% endif %}
{% endif %}
</td>
</tr>
{% if replaces or can_edit_stream_info %}
<tr>
<th>Replaces</th>
<td class="edit">
{% if can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_replaces" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ replaces|join:", "|urlize_ietf_docs|default:"(None)" }}
</td>
</tr>
{% endif %}
{% if replaces or can_edit_stream_info %}
<tr>
<th>Replaces</th>
<td class="edit">
{% if can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_replaces" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ replaces|join:", "|urlize_ietf_docs|default:"(None)" }}
</td>
</tr>
{% endif %}
{% if replaced_by %}
<tr>
<th>Replaced by</th>
<td class="edit"></td>
<td>
{{ replaced_by|join:", "|urlize_ietf_docs }}
</td>
</tr>
{% endif %}
{% if replaced_by %}
<tr>
<th>Replaced by</th>
<td class="edit"></td>
<td>
{{ replaced_by|join:", "|urlize_ietf_docs }}
</td>
</tr>
{% endif %}
<tr>
<th>Document stream</th>
<td class="edit">
{% if can_change_stream %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_stream" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.stream|default:"(None)" }}
</td>
</tr>
<tr>
<th>Document stream</th>
<td class="edit">
{% if can_change_stream %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_stream" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.stream|default:"(None)" }}
</td>
</tr>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>
{{ doc.time|date:"Y-m-d" }}
{% if latest_revision and latest_revision.time.date != doc.time.date %}
(latest revision {{ latest_revision.time|date:"Y-m-d" }})
{% endif %}
</td>
</tr>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>
{{ doc.time|date:"Y-m-d" }}
{% if latest_revision and latest_revision.time.date != doc.time.date %}
(latest revision {{ latest_revision.time|date:"Y-m-d" }})
{% endif %}
</td>
</tr>
{% if doc.get_state_slug != "rfc" %}
<tr>
<th>Intended RFC status</th>
<td class="edit">
{% if can_edit or can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_intended_status" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.intended_std_level|default:"(None)" }}
</td>
</tr>
{% endif %}
{% if doc.get_state_slug != "rfc" %}
<tr>
<th>Intended RFC status</th>
<td class="edit">
{% if can_edit or can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_intended_status" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.intended_std_level|default:"(None)" }}
</td>
</tr>
{% endif %}
<tr>
<th>Other versions</th>
<td class="edit"></td>
<td>
{% if doc.get_state_slug != "active" and doc.get_state_slug != "rfc" %}<div class="pull-right label label-warning">Expired & archived</div>{% endif %}
{% if file_urls %}
{% for label, url in file_urls %}
<a class="btn btn-default btn-xs" href="{{ url }}">
<span class="fa fa-file-{% if label == "pdf" %}pdf-{% elif label == "xml" or label == "html" %}code-{% elif label == "plain text" %}text-{% endif %}o"></span>
{{ label }}</a>
{% endfor %}
{% else %}
(not online)
{% endif %}
</td>
</tr>
<tr>
<th>Other versions</th>
<td class="edit"></td>
<td>
{% if doc.get_state_slug != "active" and doc.get_state_slug != "rfc" %}<div class="pull-right label label-warning">Expired & archived</div>{% endif %}
{% if file_urls %}
{% for label, url in file_urls %}
<a class="btn btn-default btn-xs" href="{{ url }}">
<span class="fa fa-file-{% if label == "pdf" %}pdf-{% elif label == "xml" or label == "html" %}code-{% elif label == "plain text" %}text-{% endif %}o"></span>
{{ label }}</a>
{% endfor %}
{% else %}
(not online)
{% endif %}
</td>
</tr>
{% if conflict_reviews %}
<tr>
<th>IETF conflict review</th>
<td class="edit"></td>
<td>{{ conflict_reviews|join:", "|urlize_ietf_docs }}</td>
</tr>
{% endif %}
{% if conflict_reviews %}
<tr>
<th>IETF conflict review</th>
<td class="edit"></td>
<td>{{ conflict_reviews|join:", "|urlize_ietf_docs }}</td>
</tr>
{% endif %}
<tr>
{% if doc.stream %}
<th>{{ doc.stream }} state</th>
<td class="edit">
{% if doc.stream and can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_stream_state" name=doc.name state_type=stream_state_type_slug %}">Edit</a>
{% endif %}
</td>
<td>
{{ stream_state|default:"(None)" }}
<tr>
{% if doc.stream %}
<th>{{ doc.stream }} state</th>
<td class="edit">
{% if doc.stream and can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_stream_state" name=doc.name state_type=stream_state_type_slug %}">Edit</a>
{% endif %}
</td>
<td>
{{ stream_state|default:"(None)" }}
{% for m in milestones %}
<span title="{{ m.desc }} ({{ m.group.acronym }} milestone)" class="milestone">{{ m.due|date:"M Y" }}</span>
{% endfor %}
{% for m in milestones %}
<span title="{{ m.desc }} ({{ m.group.acronym }} milestone)" class="milestone">{{ m.due|date:"M Y" }}</span>
{% endfor %}
{% if stream_tags %}
<div class="stream-tags">{% for tag in stream_tags %}{{ tag.name }}{% if not forloop.last %}, {% endif %}{% endfor %}</div>
{% endif %}
</td>
{% else %}
<th>Stream state</th>
<td class="edit"></td>
<td>(No stream defined)</td>
{% endif %}
</tr>
{% if stream_tags %}
<div class="stream-tags">{% for tag in stream_tags %}{{ tag.name }}{% if not forloop.last %}, {% endif %}{% endfor %}</div>
{% endif %}
</td>
{% else %}
<th>Stream state</th>
<td class="edit"></td>
<td>(No stream defined)</td>
{% endif %}
</tr>
{% if consensus %}
<tr>
<th>Consensus</th>
<td class="edit">
{% if can_edit or can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_edit_consensus" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
<span title="Whether the document is the result of a community consensus process as defined in RFC 5741">{{ consensus }}</span>
</td>
</tr>
{% endif %}
{% if consensus %}
<tr>
<th>Consensus</th>
<td class="edit">
{% if can_edit or can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_edit_consensus" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
<span title="Whether the document is the result of a community consensus process as defined in RFC 5741">{{ consensus }}</span>
</td>
</tr>
{% endif %}
<tr>
<th>Document shepherd</th>
<td class="edit">
{% if can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_edit_shepherd" name=doc.name %}">Edit</a>
{% elif is_shepherd %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_shepherd_email" name=doc.name %}">Change Email</a>
{% endif %}
</td>
<td>
{% if doc.shepherd %}{{ doc.shepherd.person }}{% else %}No shepherd assigned{% endif %}
</td>
</tr>
<tr>
<th>Document shepherd</th>
<td class="edit">
{% if can_edit_stream_info %}
<a class="btn btn-default btn-xs" href="{% url "doc_edit_shepherd" name=doc.name %}">Edit</a>
{% elif is_shepherd %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_shepherd_email" name=doc.name %}">Change Email</a>
{% endif %}
</td>
<td>
{% if doc.shepherd %}{{ doc.shepherd.person }}{% else %}No shepherd assigned{% endif %}
</td>
</tr>
{% if shepherd_writeup or can_edit_shepherd_writeup %}
<tr>
<th>Shepherd write-up</th>
<td class="edit">
{% if can_edit_shepherd_writeup %}
{% url "doc_edit_shepherd_writeup" name=doc.name as doc_edit_url %}
{% if doc_edit_url %}
<a class="btn btn-default btn-xs" href="{{doc_edit_url}}">Edit</a>
{% endif %}
{% endif %}
</td>
<td>
{% if shepherd_writeup %}
<a class="btn btn-default btn-xs" href="{% url "doc_shepherd_writeup" name=doc.name %}">Show</a>
(last changed {{ shepherd_writeup.time|date:"Y-m-d"}})
{% else %}
(None)
{% endif %}
</td>
</tr>
{% endif %}
{% if shepherd_writeup or can_edit_shepherd_writeup %}
<tr>
<th>Shepherd write-up</th>
<td class="edit">
{% if can_edit_shepherd_writeup %}
{% url "doc_edit_shepherd_writeup" name=doc.name as doc_edit_url %}
{% if doc_edit_url %}
<a class="btn btn-default btn-xs" href="{{doc_edit_url}}">Edit</a>
{% endif %}
{% endif %}
</td>
<td>
{% if shepherd_writeup %}
<a class="btn btn-default btn-xs" href="{% url "doc_shepherd_writeup" name=doc.name %}">Show</a>
(last changed {{ shepherd_writeup.time|date:"Y-m-d"}})
{% else %}
(None)
{% endif %}
</td>
</tr>
{% endif %}
{% if published and started_iesg_process and published.time < started_iesg_process.time %}
<tr>
<th colspan="3" class="warning">This information refers to IESG processing after the RFC was initially published:</th>
</tr>
{% endif %}
{% if published and started_iesg_process and published.time < started_iesg_process.time %}
<tr>
<th colspan="3" class="warning">This information refers to IESG processing after the RFC was initially published:</th>
</tr>
{% endif %}
<tr>
<th><a href="{% url "state_help" "draft-iesg" %}">IESG state</a></th>
<td class="edit">
{% if iesg_state and can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_state" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ iesg_state_summary|default:"I-D Exists" }}
</td>
</tr>
<tr>
<th><a href="{% url "state_help" "draft-iesg" %}">IESG state</a></th>
<td class="edit">
{% if iesg_state and can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_state" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ iesg_state_summary|default:"I-D Exists" }}
</td>
</tr>
{% if iana_review_state %}
<tr>
<th>IANA review state</th>
<td class="edit">
{% if can_edit_iana_state %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_iana_state" name=doc.name state_type="iana-review" %}">Edit</a>
{% endif %}
</td>
<td>
{{ iana_review_state }}
</td>
</tr>
{% if iana_review_state %}
<tr>
<th>IANA review state</th>
<td class="edit">
{% if can_edit_iana_state %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_iana_state" name=doc.name state_type="iana-review" %}">Edit</a>
{% endif %}
</td>
<td>
{{ iana_review_state }}
</td>
</tr>
<tr>
<th>IANA action state</th>
<td class="edit">
{% if can_edit_iana_state %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_iana_state" name=doc.name state_type="iana-action" %}">Edit</a>
{% endif %}
</td>
<td>
{{ iana_action_state }}
</td>
</tr>
{% endif %}
<tr>
<th>IANA action state</th>
<td class="edit">
{% if can_edit_iana_state %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_iana_state" name=doc.name state_type="iana-action" %}">Edit</a>
{% endif %}
</td>
<td>
{{ iana_action_state }}
</td>
</tr>
{% endif %}
{% if rfc_editor_state %}
<tr>
<th>RFC Editor state</th>
<td class="edit"></td>
<td><a href="//www.rfc-editor.org/queue2.html#{{ doc.name }}">{{ rfc_editor_state }}</a></td>
</tr>
{% endif %}
{% if rfc_editor_state %}
<tr>
<th>RFC Editor state</th>
<td class="edit"></td>
<td><a href="//www.rfc-editor.org/queue2.html#{{ doc.name }}">{{ rfc_editor_state }}</a></td>
</tr>
{% endif %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_telechat_date" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{% if telechat %}
On agenda of {{ telechat.telechat_date }} IESG telechat
{% if telechat.returning_item %}
(returning item)
{% endif %}
{% else %}
{% if can_edit %}
(None)
{% endif %}
{% endif %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_telechat_date" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{% if telechat %}
On agenda of {{ telechat.telechat_date }} IESG telechat
{% if telechat.returning_item %}
(returning item)
{% endif %}
{% else %}
{% if can_edit %}
(None)
{% endif %}
{% endif %}
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
</tr>
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
</tr>
<tr>
<th>Responsible AD</th>
<td class="edit">
{% if can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_ad" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.ad|default:"(None)" }}
</td>
</tr>
<tr>
<th>Responsible AD</th>
<td class="edit">
{% if can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_ad" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.ad|default:"(None)" }}
</td>
</tr>
{% if iesg_state %}
{% if doc.note or can_edit %}
<tr>
<th>IESG note</th>
<td class="edit">
{% if can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_iesg_note" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.note|default:"(None)"|linebreaksbr }}
</td>
</tr>
{% endif %}
{% endif %}
{% if iesg_state %}
{% if doc.note or can_edit %}
<tr>
<th>IESG note</th>
<td class="edit">
{% if can_edit %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_iesg_note" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.note|default:"(None)"|linebreaksbr }}
</td>
</tr>
{% endif %}
{% endif %}
<tr>
<th>Send notices to</th>
<td class="edit">
{% if can_edit_notify %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_notify" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.notify|default:"(None)"}}
</td>
</tr>
</table>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if can_edit_notify %}
<a class="btn btn-default btn-xs" href="{% url "doc_change_notify" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.notify|default:"(None)"}}
</td>
</tr>
</table>
<p class="buttonlist">
<a class="btn btn-default btn-xs" href="mailto:{{ doc.name }}@tools.ietf.org?subject=Mail%20regarding%20{{ doc.name }}"><span class="fa fa-envelope-o"></span> Email authors</a>
<a class="btn btn-default btn-xs" href="{% url "ipr_search" %}?submit=draft&amp;id={{ doc.name }}" rel="nofollow"><span class="fa fa-bolt"></span> IPR {% if doc.related_ipr %} <span class="badge">{{doc.related_ipr|length}}</span>{% endif %}</a>
<a class="btn btn-default btn-xs" href="{% url "doc_references" doc.canonical_name %}" rel="nofollow"><span class="fa fa-long-arrow-left"></span> References</a>
<a class="btn btn-default btn-xs" href="{% url "doc_referenced_by" doc.canonical_name %}" rel="nofollow"><span class="fa fa-long-arrow-right"></span> Referenced by</a>
<a class="btn btn-default btn-xs" href="//www.ietf.org/tools/idnits?url=https://www.ietf.org/archive/id/{{ doc.filename_with_rev }}" rel="nofollow" target="_blank"><span class="fa fa-exclamation"></span> Nits</a>
<a class="btn btn-default btn-xs" href="//www.google.com/search?as_q={{ doc.name }}&amp;as_sitesearch={{ search_archive }}" rel="nofollow" target="_blank"><span class="fa fa-search"></span> Search lists</a>
{% if user|has_role:"Area Director" %}
<a class="btn btn-default btn-xs" href="//www.iesg.org/bin/c5i?mid=6&amp;rid=77&amp;target={{ doc.name }}" rel="nofollow" target="_blank">Search lists (ARO)</a>
{% endif %}
{% if user.is_authenticated %}
{% if tracking_document %}
<a class="btn btn-default btn-xs community-list-add-remove-doc" href="{% url "community_remove_track_document" doc.name %}" title="Remove from your personal ID list"><span class="fa fa-bookmark-o"></span> Untrack</a>
{% else %}
<a class="btn btn-default btn-xs community-list-add-remove-doc" href="{% url "community_add_track_document" doc.name %}" title="Add to your personal ID list"><span class="fa fa-bookmark"></span> Track</a>
{% endif %}
{% endif %}
<p class="buttonlist">
<a class="btn btn-default btn-xs" href="mailto:{{ doc.name }}@tools.ietf.org?subject=Mail%20regarding%20{{ doc.name }}"><span class="fa fa-envelope-o"></span> Email authors</a>
<a class="btn btn-default btn-xs" href="{% url "ipr_search" %}?submit=draft&amp;id={{ doc.name }}" rel="nofollow"><span class="fa fa-bolt"></span> IPR {% if doc.related_ipr %} <span class="badge">{{doc.related_ipr|length}}</span>{% endif %}</a>
<a class="btn btn-default btn-xs" href="{% url "doc_references" doc.canonical_name %}" rel="nofollow"><span class="fa fa-long-arrow-left"></span> References</a>
<a class="btn btn-default btn-xs" href="{% url "doc_referenced_by" doc.canonical_name %}" rel="nofollow"><span class="fa fa-long-arrow-right"></span> Referenced by</a>
<a class="btn btn-default btn-xs" href="//www.ietf.org/tools/idnits?url=https://www.ietf.org/archive/id/{{ doc.filename_with_rev }}" rel="nofollow" target="_blank"><span class="fa fa-exclamation"></span> Nits</a>
<a class="btn btn-default btn-xs" href="//www.google.com/search?as_q={{ doc.name }}&amp;as_sitesearch={{ search_archive }}" rel="nofollow" target="_blank"><span class="fa fa-search"></span> Search lists</a>
{% if user|has_role:"Area Director" %}
<a class="btn btn-default btn-xs" href="//www.iesg.org/bin/c5i?mid=6&amp;rid=77&amp;target={{ doc.name }}" rel="nofollow" target="_blank">Search lists (ARO)</a>
{% endif %}
{% if user.is_authenticated %}
{% if tracking_document %}
<a class="btn btn-default btn-xs community-list-add-remove-doc" href="{% url "community_remove_track_document" doc.name %}" title="Remove from your personal ID list"><span class="fa fa-bookmark-o"></span> Untrack</a>
{% else %}
<a class="btn btn-default btn-xs community-list-add-remove-doc" href="{% url "community_add_track_document" doc.name %}" title="Add to your personal ID list"><span class="fa fa-bookmark"></span> Track</a>
{% endif %}
{% endif %}
{% if can_edit and iesg_state %}
<a class="btn btn-default btn-xs" href="{% url "doc_ballot_lastcall" name=doc.name %}">Last call text</a>
<a class="btn btn-default btn-xs" href="{% url "doc_ballot_writeupnotes" name=doc.name %}">Ballot text</a>
<a class="btn btn-default btn-xs" href="{% url "doc_ballot_approvaltext" name=doc.name %}">Announcement text</a>
{% endif %}
{% if can_edit and iesg_state %}
<a class="btn btn-default btn-xs" href="{% url "doc_ballot_lastcall" name=doc.name %}">Last call text</a>
<a class="btn btn-default btn-xs" href="{% url "doc_ballot_writeupnotes" name=doc.name %}">Ballot text</a>
<a class="btn btn-default btn-xs" href="{% url "doc_ballot_approvaltext" name=doc.name %}">Announcement text</a>
{% endif %}
{% if actions %}
{% for label, url in actions %}
<a class="btn btn-default btn-xs" href="{{ url }}">{{ label|capfirst_allcaps }}</a>
{% endfor %}
{% endif %}
</p>
{% if actions %}
{% for label, url in actions %}
<a class="btn btn-default btn-xs" href="{{ url }}">{{ label|capfirst_allcaps }}</a>
{% endfor %}
{% endif %}
</p>
{% if doc.get_state_slug == "active" or doc.get_state_slug == "rfc" %}
{{ content|safe }}
{% if doc.get_state_slug == "active" or doc.get_state_slug == "rfc" %}
{{ content|safe }}
{% if split_content %}
<a class="btn btn-default btn-block" href="?include_text=1"><span class="fa fa-caret-down"></span> Show full document</a>
{% endif %}
{% if split_content %}
<a class="btn btn-default btn-block" href="?include_text=1"><span class="fa fa-caret-down"></span> Show full document</a>
{% endif %}
{% else %}
<p></p>
<div class="panel panel-warning">
<div class="panel-heading">
This Internet-Draft is no longer active. A copy of the expired Internet-Draft can be found at
<a href="//www.ietf.org/archive/id/{{ doc.name }}-{{ doc.rev }}.txt">https://www.ietf.org/archive/id/{{ doc.name }}-{{ doc.rev }}.txt</a>
</div>
<div class="panel-body">
<p>This Internet-Draft is no longer active. A copy of
the expired Internet-Draft can be found here:<br/>
<a href="{{doc.href}}">{{doc.href}}</a>
{% else %}
<p></p>
<div class="panel panel-warning">
<div class="panel-heading">
This Internet-Draft is no longer active. A copy of the expired Internet-Draft can be found at
<a href="//www.ietf.org/archive/id/{{ doc.name }}-{{ doc.rev }}.txt">https://www.ietf.org/archive/id/{{ doc.name }}-{{ doc.rev }}.txt</a>
</div>
<div class="panel-body">
<p>This Internet-Draft is no longer active. A copy of
the expired Internet-Draft can be found here:<br/>
<a href="{{doc.href}}">{{doc.href}}</a>
<h4>Abstract</h4>
<p>{{ doc.abstract }}</p>
<h4>Abstract</h4>
<p>{{ doc.abstract }}</p>
<h4>Authors</h4>
<p>
{% for author in doc.documentauthor_set.all %}
{% if not author.author.invalid_address %}
<span class="fa fa-envelope-o"></span>
<a href="mailto:{{ author.author.address }}">
{% endif %}
{{ author.author.person }}
{% if not author.author.invalid_address %}
({{ author.author.address }})</a>
{% endif %}
{% if not forloop.last %}<br>{% endif %}
{% endfor %}
</p>
<p>(Note: The e-mail addresses provided for the authors of this Internet-Draft may no longer be valid.)</p>
</div>
</div>
{% endif %}
<h4>Authors</h4>
<p>
{% for author in doc.documentauthor_set.all %}
{% if not author.author.invalid_address %}
<span class="fa fa-envelope-o"></span>
<a href="mailto:{{ author.author.address }}">
{% endif %}
{{ author.author.person }}
{% if not author.author.invalid_address %}
({{ author.author.address }})</a>
{% endif %}
{% if not forloop.last %}<br>{% endif %}
{% endfor %}
</p>
<p>(Note: The e-mail addresses provided for the authors of this Internet-Draft may no longer be valid.)</p>
</div>
</div>
{% endif %}
{% endblock %}

View file

@ -9,101 +9,101 @@
{% endblock %}
{% block pagehead %}
<link rel="alternate" type="application/atom+xml" href="/feed/document-changes/{{ doc.name }}/" />
<link rel="alternate" type="application/atom+xml" href="/feed/document-changes/{{ doc.name }}/" />
{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
{% if diff_revisions and diff_revisions|length > 1 %}
<h2>Revision differences</h2>
{% if diff_revisions and diff_revisions|length > 1 %}
<h2>Revision differences</h2>
<form class="form-horizontal diff-form" role="form" action="{{rfcdiff_prefix}}" method="get" target="_blank">
<form class="form-horizontal diff-form" role="form" action="{{rfcdiff_prefix}}" method="get" target="_blank">
<div class="form-group">
<div class="col-sm-2 ">
<label for="url1" class="control-label">From revision</label>
</div>
<div class="col-sm-10">
<select class="form-control" id="url1" name="url1">
{% for name, rev, time, url in diff_revisions %}
<option value="{{ url }}" {% if forloop.counter == 2 %} selected="selected" {% endif %}>
{{ name }}{% if rev %}-{{ rev }}{% endif %}
({{ time|date:"Y-m-d" }})
</option>
{% endfor %}
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-2 ">
<label for="url1" class="control-label">From revision</label>
</div>
<div class="col-sm-10">
<select class="form-control" id="url1" name="url1">
{% for name, rev, time, url in diff_revisions %}
<option value="{{ url }}" {% if forloop.counter == 2 %} selected="selected" {% endif %}>
{{ name }}{% if rev %}-{{ rev }}{% endif %}
({{ time|date:"Y-m-d" }})
</option>
{% endfor %}
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-2 ">
<label for="url2" class="control-label">To revision</label>
</div>
<div class="col-sm-10">
<select class="form-control" id="url2" name="url2">
{% for name, rev, time, url in diff_revisions %}
<option value="{{ url }}" {% if forloop.counter == 1 %} selected="selected" {% endif %}>
{{ name }}{% if rev %}-{{ rev }}{% endif %}
({{ time|date:"Y-m-d" }})
</option>
{% endfor %}
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-2 ">
<label for="url2" class="control-label">To revision</label>
</div>
<div class="col-sm-10">
<select class="form-control" id="url2" name="url2">
{% for name, rev, time, url in diff_revisions %}
<option value="{{ url }}" {% if forloop.counter == 1 %} selected="selected" {% endif %}>
{{ name }}{% if rev %}-{{ rev }}{% endif %}
({{ time|date:"Y-m-d" }})
</option>
{% endfor %}
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-2 ">
<label class="control-label">Diff format</label>
</div>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="difftype" value="--html"> Side-by-side
</label>
<label class="btn btn-default">
<input type="radio" name="difftype" value="--abdiff"> Before-after
</label>
<label class="btn btn-default">
<input type="radio" name="difftype" value="--chbars"> Change bars
</label>
<label class="btn btn-default">
<input type="radio" name="difftype" value="--hwdiff"> Wdiff
</label>
</div>
<div class="form-group">
<div class="col-sm-2 ">
<label class="control-label">Diff format</label>
</div>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="difftype" value="--html"> Side-by-side
</label>
<label class="btn btn-default">
<input type="radio" name="difftype" value="--abdiff"> Before-after
</label>
<label class="btn btn-default">
<input type="radio" name="difftype" value="--chbars"> Change bars
</label>
<label class="btn btn-default">
<input type="radio" name="difftype" value="--hwdiff"> Wdiff
</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
{% endif %}
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
{% endif %}
<h2>Document history</h2>
{% if user|has_role:"Area Director,Secretariat,IANA,RFC Editor" %}
<div class="buttonlist">
<a class="btn btn-default" href="{% url "doc_add_comment" name=doc.name %}"><span class="fa fa-plus"></span> Add comment</a>
</div>
{% endif %}
<h2>Document history</h2>
{% if user|has_role:"Area Director,Secretariat,IANA,RFC Editor" %}
<div class="buttonlist">
<a class="btn btn-default" href="{% url "doc_add_comment" name=doc.name %}"><span class="fa fa-plus"></span> Add comment</a>
</div>
{% endif %}
<table class="table table-condensed table-striped ietf">
<thead>
<tr>
<th>Date</th>
<th>Version</th>
<th>By</th>
<th>Action</th>
</tr>
</thead>
<table class="table table-condensed table-striped ietf">
<thead>
<tr>
<th>Date</th>
<th>Version</th>
<th>By</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{% for e in events %}
<tr class="anchor-target" id="history-{{ e.pk }}">
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
<td class="text-right">{{ e.rev }}</td>
<td>{{ e.by|escape }}</td>
<td>{{ e.desc|format_history_text }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<tbody>
{% for e in events %}
<tr class="anchor-target" id="history-{{ e.pk }}">
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
<td class="text-right">{{ e.rev }}</td>
<td>{{ e.by|escape }}</td>
<td>{{ e.desc|format_history_text }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}

View file

@ -5,110 +5,110 @@
{% block title %}{{ doc.title }}{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
{% include "doc/revisions_list.html" %}
{% include "doc/revisions_list.html" %}
<table class="table table-condensed table-striped">
<tr>
<th>{% if doc.meeting_related %}Meeting{% endif %} {{ doc.type.name }}</th>
<td class="edit"></td>
<td>
{{ doc.group.name }}
<a href="{{ doc.group.about_url }}">({{ doc.group.acronym }})</a> {{ doc.group.type.name }}
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
<tr>
<th>Title</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_edit" name=doc.name action="title" %}
{% endif %}
</td>
<td>{{ doc.title }}</td>
</tr>
{% if doc.abstract %}
<table class="table table-condensed table-striped">
<tr>
<th>Abstract</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_edit" name=doc.name action="abstract" %}
{% endif %}
</td>
<td>{{ doc.abstract|format_snippet }}</td>
</tr>
{% endif %}
<tr>
<th>State</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_edit" name=doc.name action="state" %}
{% endif %}
</td>
<td>{{ doc.get_state.name }}</td>
</tr>
{% if other_types %}
<tr>
<th>Other versions</th>
<th>{% if doc.meeting_related %}Meeting{% endif %} {{ doc.type.name }}</th>
<td class="edit"></td>
<td>
{% for t, url in other_types %}
<a href="{{ url }}">{{ t }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
{{ doc.group.name }}
<a href="{{ doc.group.about_url }}">({{ doc.group.acronym }})</a> {{ doc.group.type.name }}
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
{% endif %}
{% if presentations or can_manage_material %}
<tr>
<th>On Agenda</th>
<th>Title</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_presentations" name=doc.name %}
{% endif %}
</td>
<td>
{% if presentations %}
{% for pres in presentations %}{{ pres.session.short_name }} at {{ pres.session.meeting }} {% if pres.rev != doc.rev %}(version -{{ pres.rev }}){% endif %}{% if not forloop.last %}, {% endif %}{% endfor %}
{% else %}
None
{% doc_edit_button "material_edit" name=doc.name action="title" %}
{% endif %}
</td>
<td>{{ doc.title }}</td>
</tr>
{% endif %}
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
{% if doc.abstract %}
<tr>
<th>Abstract</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_edit" name=doc.name action="abstract" %}
{% endif %}
</td>
<td>{{ doc.abstract|format_snippet }}</td>
</tr>
{% endif %}
<p class="buttonlist">
{% if not snapshot and can_manage_material %}
<a class="btn btn-default" href="{% url "material_edit" name=doc.name action="revise" %}">Upload New Revision</a>
{% endif %}
</p>
<tr>
<th>State</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_edit" name=doc.name action="state" %}
{% endif %}
</td>
<td>{{ doc.get_state.name }}</td>
</tr>
<h2>{% if doc.meeting_related %}Meeting{% endif %} {{ doc.type.name }}<br><small>{{ doc.name }}</small></h2>
{% if other_types %}
<tr>
<th>Other versions</th>
<td class="edit"></td>
<td>
{% for t, url in other_types %}
<a href="{{ url }}">{{ t }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
</tr>
{% endif %}
{% if doc.rev and content != None %}
{% if presentations or can_manage_material %}
<tr>
<th>On Agenda</th>
<td class="edit">
{% if not snapshot and can_manage_material %}
{% doc_edit_button "material_presentations" name=doc.name %}
{% endif %}
</td>
<td>
{% if presentations %}
{% for pres in presentations %}{{ pres.session.short_name }} at {{ pres.session.meeting }} {% if pres.rev != doc.rev %}(version -{{ pres.rev }}){% endif %}{% if not forloop.last %}, {% endif %}{% endfor %}
{% else %}
None
{% endif %}
</td>
</tr>
{% endif %}
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<p class="buttonlist">
{% if not snapshot and can_manage_material %}
<a class="btn btn-default" href="{% url "material_edit" name=doc.name action="revise" %}">Upload New Revision</a>
{% endif %}
</p>
<h2>{% if doc.meeting_related %}Meeting{% endif %} {{ doc.type.name }}<br><small>{{ doc.name }}</small></h2>
{% if doc.rev and content != None %}
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
{% else %}
<p>Not available as plain text.</p>
{% if other_types %}
<p class="download-instead"><a href="{{ other_types.0.1 }}">Download as {{ other_types.0.0.upper }}</a></p>
{% else %}
<p>Not available as plain text.</p>
{% if other_types %}
<p class="download-instead"><a href="{{ other_types.0.1 }}">Download as {{ other_types.0.0.upper }}</a></p>
{% endif %}
{% endif %}
{% endif %}
{% endblock %}

View file

@ -1,64 +1,64 @@
{% extends "ietf.html" %}
{% block title %}
References to {{alias_name}}
References to {{alias_name}}
{% endblock %}
{% block content %}
<h1>References to {{alias_name}}</h1>
<h1>References to {{alias_name}}</h1>
<p class="alert alert-info">
This is an experimental product. These dependencies are extracted using heuristics looking for strings with particular prefixes. Notably, this means that references to I-Ds by title only are not reflected here. If it's really important, please inspect the documents' references sections directly.
</p>
<p class="alert alert-info">
This is an experimental product. These dependencies are extracted using heuristics looking for strings with particular prefixes. Notably, this means that references to I-Ds by title only are not reflected here. If it's really important, please inspect the documents' references sections directly.
</p>
<p>
Showing RFCs and active Internet-Drafts, sorted by <a href="{% url 'relationship_subset_help' subset='reference' %}">reference type</a>, then document name.
</p>
<p>
Showing RFCs and active Internet-Drafts, sorted by <a href="{% url 'relationship_subset_help' subset='reference' %}">reference type</a>, then document name.
</p>
{% if numdocs %}
<div class="alert alert-warning">
<p>Showing only the first 250 of {{ numdocs }} documents.</p>
<p><a class="btn btn-default" href="?full=True">Show all</a></p>
</div>
{% endif %}
{% if numdocs %}
<div class="alert alert-warning">
<p>Showing only the first 250 of {{ numdocs }} documents.</p>
<p><a class="btn btn-default" href="?full=True">Show all</a></p>
</div>
{% endif %}
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Document</th>
<th>Title</th>
<th>Status</th>
<th>Type</th>
<th>Downref</th>
</tr>
</thead>
<tbody>
{% for ref in refs %}
{% with ref.source.canonical_name as name %}
<tr>
<td>
<a href="{% url 'doc_view' name=name %}">{{name}}</a>
{% if ref.target.name != alias_name %}
<br><span class="label label-info">As {{ref.target.name}}</span>
{% endif %}
</td>
<td>
<b>{{ref.source.title}}</b><br>
<a class="btn btn-default btn-xs" href="{% url 'doc_references' name %}">Refs</a>
<a class="btn btn-default btn-xs" href="{% url 'doc_referenced_by' name %}">Ref'd by</a>
</td>
<td>
{% ifequal ref.source.get_state.slug 'rfc' %}
{% with ref.source.std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% else %}
{% with ref.source.intended_std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% endifequal %}
</td>
<td>{{ref.relationship.name}}</td>
<td>{{ref.is_downref|default:''}}</td>
</tr>
{% endwith %}
{% endfor %}
</tbody>
</table>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Document</th>
<th>Title</th>
<th>Status</th>
<th>Type</th>
<th>Downref</th>
</tr>
</thead>
<tbody>
{% for ref in refs %}
{% with ref.source.canonical_name as name %}
<tr>
<td>
<a href="{% url 'doc_view' name=name %}">{{name}}</a>
{% if ref.target.name != alias_name %}
<br><span class="label label-info">As {{ref.target.name}}</span>
{% endif %}
</td>
<td>
<b>{{ref.source.title}}</b><br>
<a class="btn btn-default btn-xs" href="{% url 'doc_references' name %}">Refs</a>
<a class="btn btn-default btn-xs" href="{% url 'doc_referenced_by' name %}">Ref'd by</a>
</td>
<td>
{% ifequal ref.source.get_state.slug 'rfc' %}
{% with ref.source.std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% else %}
{% with ref.source.intended_std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% endifequal %}
</td>
<td>{{ref.relationship.name}}</td>
<td>{{ref.is_downref|default:''}}</td>
</tr>
{% endwith %}
{% endfor %}
</tbody>
</table>
{% endblock %}

View file

@ -1,51 +1,51 @@
{% extends "ietf.html" %}
{% block title %}
References from {{doc.canonical_name}}
References from {{doc.canonical_name}}
{% endblock %}
{% block content %}
<h1>References from {{doc.canonical_name}}</h1>
<h1>References from {{doc.canonical_name}}</h1>
<p class="alert alert-info">
This is an experimental product. These dependencies are extracted using heuristics looking for strings with particular prefixes. Notably, this means that references to I-Ds by title only are not reflected here. If it's really important, please inspect the documents' references sections directly.
</p>
<p>
<a class="btn btn-default" href="{% url 'relationship_subset_help' subset='reference' %}">Reference type help</a>
</p>
<p class="alert alert-info">
This is an experimental product. These dependencies are extracted using heuristics looking for strings with particular prefixes. Notably, this means that references to I-Ds by title only are not reflected here. If it's really important, please inspect the documents' references sections directly.
</p>
<p>
<a class="btn btn-default" href="{% url 'relationship_subset_help' subset='reference' %}">Reference type help</a>
</p>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Document</th>
<th>Title</th>
<th>Status</th>
<th>Type</th>
<th>Downref</th>
</tr>
</thead>
<tbody>
{% for ref in refs %}
{% with ref.target.name as name %}
<tr>
<td><a href="{% url 'doc_view' name=name %}">{{name}}</a></td>
<td>
<b>{{ref.target.document.title}}</b><br>
<a class="btn btn-default btn-xs" href="{% url 'doc_references' name %}">Refs</a>
<a class="btn btn-default btn-xs" href="{% url 'doc_referenced_by' name %}">Ref'd by</a>
</td>
<td>
{% ifequal ref.target.document.get_state.slug 'rfc' %}
{% with ref.target.document.std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% else %}
{% with ref.target.document.intended_std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% endifequal %}
</td>
<td>{{ref.relationship.name}}</td>
<td>{{ref.is_downref|default:''}}</td>
</tr>
{% endwith %}
{% endfor %}
</table>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Document</th>
<th>Title</th>
<th>Status</th>
<th>Type</th>
<th>Downref</th>
</tr>
</thead>
<tbody>
{% for ref in refs %}
{% with ref.target.name as name %}
<tr>
<td><a href="{% url 'doc_view' name=name %}">{{name}}</a></td>
<td>
<b>{{ref.target.document.title}}</b><br>
<a class="btn btn-default btn-xs" href="{% url 'doc_references' name %}">Refs</a>
<a class="btn btn-default btn-xs" href="{% url 'doc_referenced_by' name %}">Ref'd by</a>
</td>
<td>
{% ifequal ref.target.document.get_state.slug 'rfc' %}
{% with ref.target.document.std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% else %}
{% with ref.target.document.intended_std_level as lvl %}{% if lvl %}{{lvl}}{% endif %}{%endwith%}
{% endifequal %}
</td>
<td>{{ref.relationship.name}}</td>
<td>{{ref.is_downref|default:''}}</td>
</tr>
{% endwith %}
{% endfor %}
</table>
{% endblock %}

View file

@ -5,125 +5,125 @@
{% block title %}{{ doc.title }}{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
{% include "doc/revisions_list.html" %}
{% include "doc/revisions_list.html" %}
<table class="table table-condensed table-striped">
<tr>
<th>
{% if doc.get_state_slug not in approved_states %}
Proposed status change
{% else %}
Status change
{% endif %}
</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_title" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.title }}
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
<table class="table table-condensed table-striped">
<tr>
<th>
{% if doc.get_state_slug not in approved_states %}
Proposed status change
{% else %}
Status change
{% endif %}
</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_title" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{ doc.title }}
{% if snapshot %}
<span class="label label-warning">Snapshot</span>
{% endif %}
</td>
</tr>
{% regroup sorted_relations by relationship.name as relation_groups %}
{% for relation_group in relation_groups %}
<tr>
<th>{{relation_group.grouper}}</th>
<td class="edit"></td>
<td>{% for rel in relation_group.list %}{{rel.target.document.canonical_name|upper|urlize_ietf_docs}}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
</tr>
{% endfor %}
{% regroup sorted_relations by relationship.name as relation_groups %}
{% for relation_group in relation_groups %}
<tr>
<th>{{relation_group.grouper}}</th>
<td class="edit"></td>
<td>{% for rel in relation_group.list %}{{rel.target.document.canonical_name|upper|urlize_ietf_docs}}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
</tr>
{% endfor %}
<tr>
<th><a href="{% url "state_help" type="status-change" %}">Review state</a></th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_change_state" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
<span title="{{ doc.get_state.desc }}">{{ doc.get_state.name }}</span>
</td>
</tr>
<tr>
<th><a href="{% url "state_help" type="status-change" %}">Review state</a></th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_change_state" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
<span title="{{ doc.get_state.desc }}">{{ doc.get_state.name }}</span>
</td>
</tr>
<tr>
<th>Telechat date</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_telechat_date" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{% if not telechat %}
(None)
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% if doc.returning_item %}(returning item){% endif %}
{% endif %}
<tr>
<th>Telechat date</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_telechat_date" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{% if not telechat %}
(None)
{% else %}
On agenda of {{ telechat.telechat_date|date:"Y-m-d" }} IESG telechat
{% if doc.returning_item %}(returning item){% endif %}
{% endif %}
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
</tr>
{% if ballot_summary %}
<br><i>{{ ballot_summary }}</i>
{% endif %}
</td>
</tr>
<tr>
<th>Shepherding AD</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_ad" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.ad}}
</td>
</tr>
<tr>
<th>Shepherding AD</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_ad" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.ad}}
</td>
</tr>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_notices" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.notify}}
</td>
</tr>
<tr>
<th>Send notices to</th>
<td class="edit">
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
<a class="btn btn-default btn-xs pull-right" href="{% url "status_change_notices" name=doc.name %}">Edit</a>
{% endif %}
</td>
<td>
{{doc.notify}}
</td>
</tr>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<tr>
<th>Last updated</th>
<td class="edit"></td>
<td>{{ doc.time|date:"Y-m-d" }}</td>
</tr>
</table>
<p class="buttonlist">
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
{% if doc.get_state_slug not in approved_states %}
<a class="btn btn-default" href="{% url "status_change_relations" name=doc.name %}">Edit affected RFCs</a>
<a class="btn btn-default" href="{% url "status_change_last_call" name=doc.name %}">Edit last call text</a>
{% endif %}
<p class="buttonlist">
{% if not snapshot and user|has_role:"Area Director,Secretariat" %}
{% if doc.get_state_slug not in approved_states %}
<a class="btn btn-default" href="{% url "status_change_relations" name=doc.name %}">Edit affected RFCs</a>
<a class="btn btn-default" href="{% url "status_change_last_call" name=doc.name %}">Edit last call text</a>
{% endif %}
{% if doc.get_state_slug != 'apprsent' %}
<a class="btn btn-default" href="{% url "status_change_submit" name=doc.name %}">Edit status change text</a>
{% endif %}
{% endif %}
{% if doc.get_state_slug != 'apprsent' %}
<a class="btn btn-default" href="{% url "status_change_submit" name=doc.name %}">Edit status change text</a>
{% endif %}
{% endif %}
{% if request.user|has_role:"Secretariat" and doc.get_state_slug = 'appr-pend' %}
<a class="btn btn-warning" href="{% url "status_change_approve" name=doc.name %}">Approve RFC status change</a>
{% endif %}
</p>
{% if request.user|has_role:"Secretariat" and doc.get_state_slug = 'appr-pend' %}
<a class="btn btn-warning" href="{% url "status_change_approve" name=doc.name %}">Approve RFC status change</a>
{% endif %}
</p>
{% if doc.rev %}
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
{% endif %}
{% if doc.rev %}
{{ content|fill:"80"|safe|linebreaksbr|keep_spacing|sanitize_html|safe }}
{% endif %}
{% endblock %}

View file

@ -3,9 +3,9 @@
<h1>{{ doc.title }}<br><small>{{ name }}</small></h1>
<ul class="nav nav-tabs" role="tablist">
{% for name, t, url, active, tooltip in tabs %}
<li {% if tooltip %}title="{{tooltip}}"{% endif %} class="{% if t == selected %}active {% endif %}{% if not active %}disabled {% endif %}">
<a {% if active %}href="{{ url }}"{% endif %}>{{ name|capfirst_allcaps }}</a>
</li>
{% endfor %}
{% for name, t, url, active, tooltip in tabs %}
<li {% if tooltip %}title="{{tooltip}}"{% endif %} class="{% if t == selected %}active {% endif %}{% if not active %}disabled {% endif %}">
<a {% if active %}href="{{ url }}"{% endif %}>{{ name|capfirst_allcaps }}</a>
</li>
{% endfor %}
</ul>

View file

@ -5,33 +5,33 @@
{% block title %}Writeups for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
{{ top|safe }}
{{ top|safe }}
{% for title, subtitle, writeups in sections %}
<h2>
{{ title|capfirst_allcaps }}
{% if subtitle %}
<br><small>{{ subtitle|safe }}</small>
{% endif %}
</h2>
{% for title, subtitle, writeups in sections %}
<h2>
{{ title|capfirst_allcaps }}
{% if subtitle %}
<br><small>{{ subtitle|safe }}</small>
{% endif %}
</h2>
{% for name, text, url in writeups %}
{% if text %}
<pre>{{ text|urlize }}</pre>
{% endif %}
{% for name, text, url in writeups %}
{% if text %}
<pre>{{ text|urlize }}</pre>
{% endif %}
<p>
{% if can_edit %}
<a href="{{ url }}" class="btn btn-primary">
{% if text %}
Edit
{% else %}
Generate
{% endif %}
{{ name|lower_allcaps }}
</a>
{% endif %}
</p>
{% endfor %}
{% endfor %}
<p>
{% if can_edit %}
<a href="{{ url }}" class="btn btn-primary">
{% if text %}
Edit
{% else %}
Generate
{% endif %}
{{ name|lower_allcaps }}
</a>
{% endif %}
</p>
{% endfor %}
{% endfor %}
{% endblock content %}

View file

@ -5,21 +5,21 @@
{% block title %}Manage Document Adoption of {{ doc }} in Group{% endblock %}
{% block content %}
<h1>Manage Document Adoption of {{ doc }} in Group</h1>
<h1>Manage Document Adoption of {{ doc }} in Group</h1>
<p class="alert alert-info">You can begin managing the group state of this draft.</p>
<p class="alert alert-info">You can begin managing the group state of this draft.</p>
<p class="alert alert-info">For a WG, the draft enters the IETF stream.
For an RG, the draft enters the IRTF stream.</p>
<p class="alert alert-info">For a WG, the draft enters the IETF stream.
For an RG, the draft enters the IRTF stream.</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
</form>
{% endblock %}

View file

@ -5,18 +5,18 @@
{% block title %}Change shepherding AD for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
<h1>Change shepherding AD<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
<h1>Change shepherding AD<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,18 +5,18 @@
{% block title %}Change consensus for {{ doc.name }}-{{ doc.rev }}{% endblock %}
{% block content %}
<h1>Change consensus<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
<h1>Change consensus<br><small>{{ doc.name }}-{{ doc.rev }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,17 +5,17 @@
{% block title %}Change IANA state for {{ doc }}{% endblock %}
{% block content %}
<h1>Change IANA state<br><small>{{ doc }}</small></h1>
<h1>Change IANA state<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,17 +5,17 @@
{% block title %}Change intended status for {{ doc }}{% endblock %}
{% block content %}
<h1>Change intended status<br><small>{{ doc }}</small></h1>
<h1>Change intended status<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -12,19 +12,19 @@
{% endblock %}
{% block content %}
<h1>Change documents replaced by<br><small>{{ doc }}</small></h1>
<h1>Change documents replaced by<br><small>{{ doc }}</small></h1>
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
</form>
{% endblock %}
{% block js %}

View file

@ -3,23 +3,23 @@
{% load bootstrap3 %}
{% block title %}
Edit shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }}
Edit shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }}
{% endblock %}
{% block content %}
<h1>Edit shepherd writeup<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h1>
<h1>Edit shepherd writeup<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="submit_response">Submit</button>
<button type="submit" class="btn btn-warning" name="reset_text">Reset to template text</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" name="submit_response">Submit</button>
<button type="submit" class="btn btn-warning" name="reset_text">Reset to template text</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,65 +5,65 @@
{% block title %}Change state for {{ doc }}{% endblock %}
{% block content %}
<h1>Change state<br><small>{{ doc }}</small></h1>
<h1>Change state<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p>
<a class="btn btn-info" href="{% url "state_help" type="draft-iesg" %}">Help on states</a>
</p>
<p>
<a class="btn btn-info" href="{% url "state_help" type="draft-iesg" %}">Help on states</a>
</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% if state and state.slug == "rfcqueue" %}
<span class="help-block">
<b>Note:</b> If you pull the draft out of the
<i>{{ state.name }}</i> state, the RFC Editor and IANA will be notified
by email with this comment, so they can update their queues.
</span>
<span class="help-block">
<b>Note:</b> If you pull the draft out of the
<i>{{ state.name }}</i> state, the RFC Editor and IANA will be notified
by email with this comment, so they can update their queues.
</span>
{% endif %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% if next_states %}
<h2>Or jump directly to</h2>
{% if next_states %}
<h2>Or jump directly to</h2>
<div class="buttonlist">
{% for n in next_states %}
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ n.pk }}">
<input class="btn btn-default" type="submit" value="{{ n.name }}">
</form>
{% endfor %}
</div>
{% endif %}
<div class="buttonlist">
{% for n in next_states %}
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ n.pk }}">
<input class="btn btn-default" type="submit" value="{{ n.name }}">
</form>
{% endfor %}
</div>
{% endif %}
{% if to_iesg_eval %}
<h2>You could also jump directly to</h2>
{% if to_iesg_eval %}
<h2>You could also jump directly to</h2>
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ to_iesg_eval.pk }}">
<input class="btn btn-warning" type="submit" value="{{ to_iesg_eval.name }}">
But the ballot for this document has not yet been issued.
<a class="btn btn-default" href="{% url "doc_ballot_writeupnotes" name=doc.name %}">Edit ballot text</a>
</form>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ to_iesg_eval.pk }}">
<input class="btn btn-warning" type="submit" value="{{ to_iesg_eval.name }}">
But the ballot for this document has not yet been issued.
<a class="btn btn-default" href="{% url "doc_ballot_writeupnotes" name=doc.name %}">Edit ballot text</a>
</form>
{% endif %}
{% if prev_state %}
<h2>Or revert to previous state</h2>
{% if prev_state %}
<h2>Or revert to previous state</h2>
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ prev_state.pk }}">
<input class="btn btn-danger" type="submit" value="Revert to {{ prev_state.name }}">
</form>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ prev_state.pk }}">
<input class="btn btn-danger" type="submit" value="Revert to {{ prev_state.name }}">
</form>
{% endif %}
{% endblock %}

View file

@ -5,16 +5,16 @@
{% block title %}Change stream for {{ doc }}{% endblock %}
{% block content %}
<h1>Change stream<br><small>{{ doc }}</small></h1>
<h1>Change stream<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -6,38 +6,40 @@
{% block content %}
<h1>Change {{ state_type.label }}<br><small>{{ doc }}</small></h1>
<h1>Change {{ state_type.label }}<br><small>{{ doc }}</small></h1>
{% if next_states %}
<p>
<b>Move document to {{ next_states|pluralize:"to one of" }} the recommended next state{{ next_states|pluralize }}:</b>
</p>
<p class="buttonlist">
{% for state in next_states %}
<button class="btn btn-default next-state" data-state="{{ state.pk }}">{{ state.name }}</button>
{% endfor %}
<a class="btn btn-info pull-right" href="{% url "state_help" type=state_type.slug %}">Help on states</a>
</p>
{% endif %}
{% if next_states %}
<p>
<b>Move document to {{ next_states|pluralize:"to one of" }} the recommended next state{{ next_states|pluralize }}:</b>
</p>
<p class="buttonlist">
{% for state in next_states %}
<button class="btn btn-default next-state" data-state="{{ state.pk }}">{{ state.name }}</button>
{% endfor %}
<a class="btn btn-info pull-right" href="{% url "state_help" type=state_type.slug %}">Help on states</a>
</p>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}
{% block scripts %}
$(document).ready(function () {
$("button.next-state").click(function (e) {
var s = $(this).data("state");
if (s) {
e.preventDefault();
$("#id_new_state").val(s);
}
});
});
{% block js %}
<script>
$(document).ready(function () {
$("button.next-state").click(function (e) {
var s = $(this).data("state");
if (s) {
e.preventDefault();
$("#id_new_state").val(s);
}
});
});
</script>
{% endblock %}

View file

@ -5,18 +5,18 @@
{% block title %}Edit IESG note for {{ doc.name }}{% endblock %}
{% block content %}
<h1>Edit IESG note<br><small>{{ doc.name }}</small></h1>
<h1>Edit IESG note<br><small>{{ doc.name }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -6,17 +6,17 @@
{% block title %}Edit info for {{ doc }}{% endblock %}
{% block content %}
<h1>Edit info<br><small>{{ doc }}</small></h1>
<h1>Edit info<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button class="btn btn-primary" type="submit">Submit</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button class="btn btn-primary" type="submit">Submit</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,13 +3,13 @@
{% block title %}Last call requested{% endblock %}
{% block content %}
<h1>Last call requested</h1>
<h1>Last call requested</h1>
<p>Your request to issue the <i>last call</i> has been submitted to the secretariat.</p>
<p>Your request to issue the <i>last call</i> has been submitted to the secretariat.</p>
<p>Note that the <i>last call</i> will not actually go out until the
secretariat takes appropriate steps. This may take up to one business
day, as it involves a person taking action.</p>
<p>Note that the <i>last call</i> will not actually go out until the
secretariat takes appropriate steps. This may take up to one business
day, as it involves a person taking action.</p>
<a class="btn btn-default" href="{{ url }}">Back</a>
<a class="btn btn-default" href="{{ url }}">Back</a>
{% endblock %}

View file

@ -5,24 +5,24 @@
{% block title %}Make last call for {{ doc.name }}{% endblock %}
{% block content %}
<h1>Make last call<br><small>{{ doc.name }}</small></h1>
<h1>Make last call<br><small>{{ doc.name }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p class="alert alert-info">
<b>Last call for:</b>
{{ doc.name }} ({{ doc.group.acronym }}) to {{ doc.intended_std_level.name }}
</p>
<p class="alert alert-info">
<b>Last call for:</b>
{{ doc.name }} ({{ doc.group.acronym }}) to {{ doc.intended_std_level.name }}
</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Make last call</button>
<button type="reset" class="btn btn-warning">Reset</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Make last call</button>
<button type="reset" class="btn btn-warning">Reset</button>
<a class="btn btn-default pull-right" href="{{ doc.get_absolute_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,49 +5,49 @@
{% block title %}Request publication for {{ doc }}{% endblock %}
{% block content %}
<h1>Request publication<br><small>{{ doc }}</small></h1>
<h1>Request publication<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<p class="alert alert-info">
Send a publication request to the RFC Editor for {{ doc }} and move it to the <i>{{ next_state.name }}</i> stream state.
Please edit the message and remove any parts in brackets you do not
fill in. For independent submissions, see the <a
<p class="alert alert-info">
Send a publication request to the RFC Editor for {{ doc }} and move it to the <i>{{ next_state.name }}</i> stream state.
Please edit the message and remove any parts in brackets you do not
fill in. For independent submissions, see the <a
href="http://www.rfc-editor.org/indsubs.html">guidelines</a>.
</p>
</p>
{% if not doc.intended_std_level %}
<p class="alert alert-warning">
<b>Note:</b> Intended RFC status is not set for the document.
</p>
{% endif %}
{% if not doc.intended_std_level %}
<p class="alert alert-warning">
<b>Note:</b> Intended RFC status is not set for the document.
</p>
{% endif %}
{% if doc.stream_id != "ise" and not consensus_filled_in %}
<p class="alert alert-warning">
<b>Note:</b> Consensus status is not set for the document.
</p>
{% endif %}
{% if doc.stream_id != "ise" and not consensus_filled_in %}
<p class="alert alert-warning">
<b>Note:</b> Consensus status is not set for the document.
</p>
{% endif %}
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
<div class="form-group">
<label>From</label>
<input class="form-control" type="text" placeholder="{{ message.frm }}" disabled>
</div>
<div class="form-group">
<label>From</label>
<input class="form-control" type="text" placeholder="{{ message.frm }}" disabled>
</div>
<div class="form-group">
<label>To</label>
<input class="form-control" type="text" placeholder="{{ message.to }}" disabled>
</div>
<div class="form-group">
<label>To</label>
<input class="form-control" type="text" placeholder="{{ message.to }}" disabled>
</div>
{% bootstrap_form form %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-danger">Email RFC Editor</button>
<button type="reset" class="btn btn-warning">Reset</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-danger">Email RFC Editor</button>
<button type="reset" class="btn btn-warning">Reset</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,19 +5,19 @@
{% block title %}Request resurrection for {{ doc }}{% endblock %}
{% block content %}
<h1>Request resurrection<br><small>{{ doc }}</small></h1>
<h1>Request resurrection<br><small>{{ doc }}</small></h1>
<p>Request resurrection of the Internet-Draft {{ doc.file_tag }}?</p>
<p>Request resurrection of the Internet-Draft {{ doc.file_tag }}?</p>
<p>This will send a notification to the Secretariat to resurrect the I-D.</p>
<p>This will send a notification to the Secretariat to resurrect the I-D.</p>
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
{% buttons %}
<input class="btn btn-primary" type="submit" value="Request resurrection">
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button class="btn btn-primary" type="submit">Request resurrection</button>
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -6,21 +6,21 @@
{% block content %}
<h1>Resurrect<br><small>{{ doc }}</small></h1>
<h1>Resurrect<br><small>{{ doc }}</small></h1>
<p>Resurrect {{ doc }}?</p>
<p>Resurrect {{ doc }}?</p>
<p>
This will change the status to Active {% if doc.idinternal.resurrect_requested_by %} and email a notice to {{ doc.idinternal.resurrect_requested_by }}{% endif %}.
</p>
<p>
This will change the status to Active {% if doc.idinternal.resurrect_requested_by %} and email a notice to {{ doc.idinternal.resurrect_requested_by }}{% endif %}.
</p>
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
{% buttons %}
<input class="btn btn-primary" type="submit" value="Resurrect">
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button class="btn btn-primary" type="submit">Resurrect</button>
<a class="btn btn-default pull-right" href="{{ back_url }}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,21 +3,21 @@
{% block title %}Posting approved I-D to RFC Editor failed{% endblock %}
{% block content %}
<h1>Posting approved I-D to RFC Editor failed</h1>
<h1>Posting approved I-D to RFC Editor failed</h1>
<p>Sorry, when trying to notify the RFC Editor through HTTP, we hit an
error.</p>
<p>Sorry, when trying to notify the RFC Editor through HTTP, we hit an
error.</p>
<p>We have not changed the draft state or sent the announcement
yet so if this is an intermittent error, you can go back and try
again.</p>
<p>We have not changed the draft state or sent the announcement
yet so if this is an intermittent error, you can go back and try
again.</p>
<p>The error was:</p>
<p><code>{{ error }}</code></p>
<p>The error was:</p>
<p><code>{{ error }}</code></p>
{% if response %}
<p>The response from the RFC Editor was:</p>
<p><code>{{ response|linebreaksbr }}</code></p>
{% endif %}
{% if response %}
<p>The response from the RFC Editor was:</p>
<p><code>{{ response|linebreaksbr }}</code></p>
{% endif %}
{% endblock %}

View file

@ -3,6 +3,6 @@
{% block title %}Documents for {{ ad_name }}{% endblock %}
{% block content %}
<h1>Documents for {{ ad_name }}</h1>
{% include "doc/search/search_results.html" %}
<h1>Documents for {{ ad_name }}</h1>
{% include "doc/search/search_results.html" %}
{% endblock %}

View file

@ -3,51 +3,51 @@
{% load ietf_filters %}
{% block pagehead %}
{% if last_call_only %}
<link rel="alternate" type="application/atom+xml" href="/feed/last-call/">
{% endif %}
{% if last_call_only %}
<link rel="alternate" type="application/atom+xml" href="/feed/last-call/">
{% endif %}
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h1>{{ title }}</h1>
<h1>{{ title }}</h1>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th class="text-nowrap">Area</th>
<th class="text-nowrap">{% if state.slug == "lc" %}Expires at{% else %}Date{% endif %}</th>
<th>Document</th>
</tr>
</thead>
<tbody>
{% for state, docs in grouped_docs %}
<tr class="warning"><th colspan="3">{{ state.name }}</th></tr>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th class="text-nowrap">Area</th>
<th class="text-nowrap">{% if state.slug == "lc" %}Expires at{% else %}Date{% endif %}</th>
<th>Document</th>
</tr>
</thead>
<tbody>
{% for state, docs in grouped_docs %}
<tr class="warning"><th colspan="3">{{ state.name }}</th></tr>
{% for doc in docs %}
<tr>
<td class="text-nowrap">{% if doc.area_acronym %}{{ doc.area_acronym }}{% endif %}</td>
<td class="text-nowrap">
{% if state.slug == "lc" %}
{% if doc.lc_expires %}{{ doc.lc_expires|date:"Y-m-d" }}{% endif %}
{% else %}
{{ doc.time|date:"Y-m-d" }}
{% endif %}
</td>
{% for doc in docs %}
<tr>
<td class="text-nowrap">{% if doc.area_acronym %}{{ doc.area_acronym }}{% endif %}</td>
<td class="text-nowrap">
{% if state.slug == "lc" %}
{% if doc.lc_expires %}{{ doc.lc_expires|date:"Y-m-d" }}{% endif %}
{% else %}
{{ doc.time|date:"Y-m-d" }}
{% endif %}
</td>
<td>
<b>{{ doc.title }}</b> ({{ doc.intended_std_level.name }})
<br><a href="{% url "doc_view" doc.name %}">{{ doc.name }}</a>
<br>AD: <a href="mailto:{{ doc.ad.email_address|urlencode }}">{{ doc.ad.plain_name }}</a>
{% if doc.note %}
<br><i>Note: {{ doc.note|linebreaksbr|urlize }}</i>
{% endif %}
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
<td>
<b>{{ doc.title }}</b> ({{ doc.intended_std_level.name }})
<br><a href="{% url "doc_view" doc.name %}">{{ doc.name }}</a>
<br>AD: <a href="mailto:{{ doc.ad.email_address|urlencode }}">{{ doc.ad.plain_name }}</a>
{% if doc.note %}
<br><i>Note: {{ doc.note|linebreaksbr|urlize }}</i>
{% endif %}
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
{% endblock %}

View file

@ -3,8 +3,8 @@
{% block title %}Internet-Drafts in IETF last call{% endblock %}
{% block content %}
<h1>Internet-Drafts in IETF last call</h1>
<h1>Internet-Drafts in IETF last call</h1>
{% include "doc/search/search_results.html" %}
{% include "doc/search/search_results.html" %}
{% endblock %}

View file

@ -3,23 +3,23 @@
{% load bootstrap3 %}
{% block title %}
Edit notification addresses for {{titletext}}
Edit notification addresses for {{titletext}}
{% endblock %}
{% block content %}
<h1>Edit notification addresses<br><small>{{titletext}}</small></h1>
<h1>Edit notification addresses<br><small>{{titletext}}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_addresses">Submit</button>
<input type="submit" class="btn btn-warning" name="regenerate_addresses" value="Regenerate address list">
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" name="save_addresses">Submit</button>
<input type="submit" class="btn btn-warning" name="regenerate_addresses" value="Regenerate address list">
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.canonical_name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -5,22 +5,22 @@
{% block title %}Set telechat date for {{ doc.name }}{% endblock %}
{% block content %}
<h1>Set telechat date<br><small>{{ doc.name }}</small></h1>
<h1>Set telechat date<br><small>{{ doc.name }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
{% for warning in warnings %}
<div class="alert alert-warning">{{ warning }}</div>
{% endfor %}
{% for warning in warnings %}
<div class="alert alert-warning">{{ warning }}</div>
{% endfor %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -3,33 +3,33 @@
{% block title %}IETF Datatracker{% if server_mode != "production" %} -- Development Mode{% endif %}{% endblock %}
{% block content %}
<div class="row">
<div class="text-center">
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF">
{% if server_mode == "production" %}
<h1>IETF Datatracker</h1>
{% else %}
<h1 style="color:#ff0000">IETF Datatracker -- Development Mode</h1>
{% endif %}
</div>
</div>
<div class="row">
<div class="text-center">
<img class="ietflogo" src="/images/ietflogo.png" alt="IETF">
{% if server_mode == "production" %}
<h1>IETF Datatracker</h1>
{% else %}
<h1 style="color:#ff0000">IETF Datatracker -- Development Mode</h1>
{% endif %}
</div>
</div>
<div class="row">
<div class="col-sm-4 col-sm-push-8">
<h2>About</h2>
<p>The IETF Datatracker is the IETF's web system for managing organizational information, such as:</p>
<ul>
<li><a href="{% url "doc_search" %}">Internet-Drafts (I-Ds) and Requests for Comments (RFCs)</a></li>
<li><a href="/ipr/">IPR disclosures</a></li>
<li><a href="/liaison/">Liaison statements</a></li>
<li><a href="/meeting/agenda/">Meeting agendas</a> and <a href="/meeting/">session agendas, slides and minutes</a></li>
<li><a href="/iesg/agenda/">IESG telechat agendas</a></li>
</ul>
</div>
<div class="col-sm-8 col-sm-pull-4">
<h2>Search Documents</h2>
{% include "doc/search/search_form.html" %}
<div class="row">
<div class="col-sm-4 col-sm-push-8">
<h2>About</h2>
<p>The IETF Datatracker is the IETF's web system for managing organizational information, such as:</p>
<ul>
<li><a href="{% url "doc_search" %}">Internet-Drafts (I-Ds) and Requests for Comments (RFCs)</a></li>
<li><a href="/ipr/">IPR disclosures</a></li>
<li><a href="/liaison/">Liaison statements</a></li>
<li><a href="/meeting/agenda/">Meeting agendas</a> and <a href="/meeting/">session agendas, slides and minutes</a></li>
<li><a href="/iesg/agenda/">IESG telechat agendas</a></li>
</ul>
</div>
<div class="col-sm-8 col-sm-pull-4">
<h2>Search Documents</h2>
{% include "doc/search/search_form.html" %}
</div>
</div>
</div>
</div>
{% endblock content %}

View file

@ -3,34 +3,34 @@
{% block title %}Active Internet-Drafts{% endblock %}
{% block content %}
<h1>Active Internet-Drafts</h1>
<h1>Active Internet-Drafts</h1>
<p>This page lists all active Internet-Drafts, grouped by responsible
group. For normal use, it is recommended to use the
<a href="{% url "doc_search" %}">search page</a>.</p>
<p>This page lists all active Internet-Drafts, grouped by responsible
group. For normal use, it is recommended to use the
<a href="{% url "doc_search" %}">search page</a>.</p>
<p>There is also an <a href="{% url "index_all_drafts" %}">index of all
Internet-Drafts</a> (that page also lists some machine-readable files
for download).</p>
<p>There is also an <a href="{% url "index_all_drafts" %}">index of all
Internet-Drafts</a> (that page also lists some machine-readable files
for download).</p>
<p class="buttonlist">
{% for group in groups %}
<a class="btn btn-default btn-xs" href="#{{ group.acronym }}">{{ group.acronym }}</a>
{% endfor %}
</p>
<p class="buttonlist">
{% for group in groups %}
<a class="btn btn-default btn-xs" href="#{{ group.acronym }}">{{ group.acronym }}</a>
{% endfor %}
</p>
{% for group in groups %}
<h2 class="anchor-target" id="{{ group.acronym }}">{{ group.name }} ({{ group.acronym }})</h2>
{% for d in group.active_drafts %}
<p>
<b>{{ d.title }}.</b><br>
{% for a in d.authors %}
{{ a }}{% if not forloop.last %}, {% else %}.{% endif %}
{% endfor %}
<br><a href="/doc/{{ d.name }}/">{{ d.name }}-{{ d.rev }}</a>
<br>{{ d.rev_time|date:"Y-m-d" }}
</p>
{% endfor %}
{% endfor %}
{% for group in groups %}
<h2 class="anchor-target" id="{{ group.acronym }}">{{ group.name }} ({{ group.acronym }})</h2>
{% for d in group.active_drafts %}
<p>
<b>{{ d.title }}.</b><br>
{% for a in d.authors %}
{{ a }}{% if not forloop.last %}, {% else %}.{% endif %}
{% endfor %}
<br><a href="/doc/{{ d.name }}/">{{ d.name }}-{{ d.rev }}</a>
<br>{{ d.rev_time|date:"Y-m-d" }}
</p>
{% endfor %}
{% endfor %}
{% endblock %}

View file

@ -3,38 +3,38 @@
{% block title %}Index of all Internet-Drafts and RFCs{% endblock %}
{% block content %}
<h1>Index of all Internet-Drafts and RFCs</h1>
<h1>Index of all Internet-Drafts and RFCs</h1>
<p>This page lists all Internet-Drafts and RFCs. The main purpose of
this page is to ensure all pages can be found by search engines. For
normal use, it is recommended to use the <a href="{% url "doc_search" %}">search
page</a>.</p>
<p>This page lists all Internet-Drafts and RFCs. The main purpose of
this page is to ensure all pages can be found by search engines. For
normal use, it is recommended to use the <a href="{% url "doc_search" %}">search
page</a>.</p>
<p>There is also an <a href="{% url "index_active_drafts" %}">index of
active Internet-Drafts</a> with more information.</p>
<p>There is also an <a href="{% url "index_active_drafts" %}">index of
active Internet-Drafts</a> with more information.</p>
<p>In addition, the following files are available for download:</p>
<ul>
<li><a href="http://www.ietf.org/id/1id-index.txt">Active Internet-Drafts (text)</a></li>
<li><a href="http://www.ietf.org/id/1id-abstracts.txt">Active Internet-Drafts with abstracts (text)</a></li>
<li><a href="http://www.ietf.org/id/all_id2.txt">All Internet-Drafts (tab-separated)</a>, <a href="http://www.ietf.org/id/all_id.txt">older version (with fewer fields)</a></li>
<li><a href="http://www.rfc-editor.org/rfc/rfc-index.txt">All RFCs (text)</a></li>
<li><a href="http://www.rfc-editor.org/rfc/rfc-index.xml">All RFCs (XML)</a></li>
</ul>
<p>In addition, the following files are available for download:</p>
<ul>
<li><a href="http://www.ietf.org/id/1id-index.txt">Active Internet-Drafts (text)</a></li>
<li><a href="http://www.ietf.org/id/1id-abstracts.txt">Active Internet-Drafts with abstracts (text)</a></li>
<li><a href="http://www.ietf.org/id/all_id2.txt">All Internet-Drafts (tab-separated)</a>, <a href="http://www.ietf.org/id/all_id.txt">older version (with fewer fields)</a></li>
<li><a href="http://www.rfc-editor.org/rfc/rfc-index.txt">All RFCs (text)</a></li>
<li><a href="http://www.rfc-editor.org/rfc/rfc-index.xml">All RFCs (XML)</a></li>
</ul>
<h2>Contents</h2>
<h2>Contents</h2>
<p>The documents are listed in the following categories:</p>
<p>The documents are listed in the following categories:</p>
<ul>
{% for state, heading, count, _ in categories %}
<li><a href="#{{ state.slug }}">{{ heading }} ({{ count }})</a></li>
{% endfor %}
</ul>
<ul>
{% for state, heading, count, _ in categories %}
<li><a href="#{{ state.slug }}">{{ heading }} ({{ count }})</a></li>
{% endfor %}
</ul>
{% for state, heading, count, links in categories %}
<h2 class="anchor-target" id="{{ state.slug }}">{{ heading }} ({{ count }})</h2>
<p class="links">{{ links|safe }}</p>
{% endfor %}
{% for state, heading, count, links in categories %}
<h2 class="anchor-target" id="{{ state.slug }}">{{ heading }} ({{ count }})</h2>
<p class="links">{{ links|safe }}</p>
{% endfor %}
{% endblock %}

View file

@ -8,43 +8,45 @@
<h1>{% if action == "new" or action == "revise" %}Upload{% else %}Edit{% endif %} {{ document_type.name }}<br><small>{{ group.name }} ({{ group.acronym }})</small></h1>
{% if action == "new" %}
<p class="help-block">
Below you can upload a document for the group {{ group.name }}
<a href="{% url "group_materials" acronym=group.acronym %}">({{ group.acronym }})</a>.
The document will appear under the materials tab in the group pages.
</p>
{% if action == "new" %}
<p class="help-block">
Below you can upload a document for the group {{ group.name }}
<a href="{% url "group_materials" acronym=group.acronym %}">({{ group.acronym }})</a>.
The document will appear under the materials tab in the group pages.
</p>
<h2>Upload</h2>
{% elif action == "revise" %}
<p>
Below you can upload a new revision of {{ doc_name }} for the group {{ group.name }}
<a href="{% url "group_materials" acronym=group.acronym %}">({{ group.acronym }})</a>.
</p>
<h2>Upload</h2>
{% elif action == "revise" %}
<p>
Below you can upload a new revision of {{ doc_name }} for the group {{ group.name }}
<a href="{% url "group_materials" acronym=group.acronym %}">({{ group.acronym }})</a>.
</p>
<h2>Upload New Revision</h2>
{% endif %}
<h2>Upload New Revision</h2>
{% endif %}
<form class="upload-material" role="form" method="post" enctype="multipart/form-data" data-nameprefix="{{ document_type.slug }}-{{ group.acronym }}-">
{% csrf_token %}
<form class="upload-material" role="form" method="post" enctype="multipart/form-data" data-nameprefix="{{ document_type.slug }}-{{ group.acronym }}-">
{% csrf_token %}
{% bootstrap_form form %}
{% bootstrap_form form %}
{% buttons %}
<a class="btn btn-default pull-right" href="{% if doc_name %}{% url "doc_view" name=doc_name %}{% else %}{% url "group_materials" acronym=group.acronym %}{% endif %}">Back</a>
<button class="btn btn-primary" type="submit">{% if action == "new" or action == "revise" %}Upload{% else %}Save{% endif %}</button>
{% endbuttons %}
</form>
{% buttons %}
<a class="btn btn-default pull-right" href="{% if doc_name %}{% url "doc_view" name=doc_name %}{% else %}{% url "group_materials" acronym=group.acronym %}{% endif %}">Back</a>
<button class="btn btn-primary" type="submit">{% if action == "new" or action == "revise" %}Upload{% else %}Save{% endif %}</button>
{% endbuttons %}
</form>
{% endblock content %}
{% block scripts %}
jQuery(document).ready(function () {
jQuery("form.upload-material input#id_title").on("change keyup", function () {
var v = jQuery(this).val();
var slug = jQuery(this).parents("form").data("nameprefix");
slug += v.toLowerCase().replace(/ /g,'-').replace(/[-]+/g, '-').replace(/[^a-z-]+/g,'');
jQuery(this).parents("form").find("input#id_name").val(slug);
});
});
{% block js %}
<script>
$(document).ready(function () {
$("form.upload-material input#id_title").on("change keyup", function () {
var v = $(this).val();
var slug = $(this).parents("form").data("nameprefix");
slug += v.toLowerCase().replace(/ /g,'-').replace(/[-]+/g, '-').replace(/[^a-z-]+/g,'');
$(this).parents("form").find("input#id_name").val(slug);
});
});
</script>
{% endblock %}

View file

@ -16,5 +16,5 @@
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
<button class="btn btn-primary" type="submit">Save</button>
{% endbuttons %}
</form>
</form>
{% endblock content %}

View file

@ -6,24 +6,24 @@
<h1>Upcoming Presentations<br><small>{{doc.title}}<br>{{doc.name}}</small></h1>
<ul>
{% regroup sessions by has_presentation as is_scheduled_list %}
{% regroup sessions by has_presentation as is_scheduled_list %}
{% for is_scheduled in is_scheduled_list %}
<li> {{ is_scheduled.grouper|yesno:"Presentation Scheduled,Presentation Not Scheduled"}}
<ul>
{% regroup is_scheduled.list by group as group_list %}
{% for group in group_list %}
{% for session in group.list %}
<li>
{% if week_day %}
<a href="{% url 'ietf.doc.views_material.edit_material_presentations' name=doc.name acronym=group.grouper.acronym seq=forloop.counter week_day=week_day %}">{{ session }}</a>
{% elif date %}
<a href="{% url 'ietf.doc.views_material.edit_material_presentations' name=doc.name acronym=group.grouper.acronym seq=forloop.counter date=date %}">{{ session }}</a>
{% else %}
<a href="{% url 'ietf.doc.views_material.edit_material_presentations' name=doc.name acronym=group.grouper.acronym seq=forloop.counter %}">{{ session }}</a>
{% endif %}
{% if session.versions %} (version{{session.versions|pluralize}} {{session.versions|join:','}}) {% endif %}
</li>
{% endfor %}
{% for session in group.list %}
<li>
{% if week_day %}
<a href="{% url 'ietf.doc.views_material.edit_material_presentations' name=doc.name acronym=group.grouper.acronym seq=forloop.counter week_day=week_day %}">{{ session }}</a>
{% elif date %}
<a href="{% url 'ietf.doc.views_material.edit_material_presentations' name=doc.name acronym=group.grouper.acronym seq=forloop.counter date=date %}">{{ session }}</a>
{% else %}
<a href="{% url 'ietf.doc.views_material.edit_material_presentations' name=doc.name acronym=group.grouper.acronym seq=forloop.counter %}">{{ session }}</a>
{% endif %}
{% if session.versions %} (version{{session.versions|pluralize}} {{session.versions|join:','}}) {% endif %}
</li>
{% endfor %}
{% endfor %}
</ul>
</li>

View file

@ -3,25 +3,25 @@
{% block title %}Document relationships{% endblock %}
{% block content %}
<h1>Document relationships</h1>
<h1>Document relationships</h1>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Relationship</th>
<th>Description</th>
<th>Inverse relationship</th>
</tr>
</thead>
<tbody>
{% for rel in relations %}
<tr class="anchor-target" id="{{ rel.slug }}">
<td class="name">{{ rel.name }}</td>
<td class="desc">{{ rel.desc|linebreaksbr }}</td>
<td class="revname">{{ rel.revname }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Relationship</th>
<th>Description</th>
<th>Inverse relationship</th>
</tr>
</thead>
<tbody>
{% for rel in relations %}
<tr class="anchor-target" id="{{ rel.slug }}">
<td class="name">{{ rel.name }}</td>
<td class="desc">{{ rel.desc|linebreaksbr }}</td>
<td class="revname">{{ rel.revname }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}

View file

@ -1,8 +1,8 @@
<ul class="pagination">
<li class="disabled"><a><b>Versions</b></a></li>
{% for rev in revisions %}
<li {% if rev == doc.rev %}class="active"{% endif %}>
<a href="{% url "doc_view" name=doc.name %}{% if not forloop.last %}{{ rev }}/{% endif %}" >{{ rev }}</a>
</li>
{% endfor %}
<li class="disabled"><a><b>Versions</b></a></li>
{% for rev in revisions %}
<li {% if rev == doc.rev %}class="active"{% endif %}>
<a href="{% url "doc_view" name=doc.name %}{% if not forloop.last %}{{ rev }}/{% endif %}" >{{ rev }}</a>
</li>
{% endfor %}
</ul>

View file

@ -3,11 +3,11 @@
{% block title %}Search documents{% endblock %}
{% block content %}
<h1>Search documents</h1>
<h1>Search documents</h1>
{% include "doc/search/search_form.html" %}
{% include "doc/search/search_form.html" %}
{% if meta.searching %}
{% include "doc/search/search_results.html" %}
{% endif %}
{% if meta.searching %}
{% include "doc/search/search_results.html" %}
{% endif %}
{% endblock content %}

View file

@ -3,132 +3,132 @@
<form role="form" id="search_form" class="form-horizontal" action="{% url "doc_search" %}">
<div class="input-group search_field">
{{ form.name|add_class:"form-control"|attr:"placeholder:Document name, number, title, etc." }}
<span class="input-group-btn">
<button class="btn btn-primary" type="submit">
<span class="fa fa-search"></span>
Search
</button>
</span>
</div>
<div class="input-group search_field">
{{ form.name|add_class:"form-control"|attr:"placeholder:Document name, number, title, etc." }}
<span class="input-group-btn">
<button class="btn btn-primary" type="submit">
<span class="fa fa-search"></span>
Search
</button>
</span>
</div>
{{ form.sort }} {# hidden field #}
{{ form.sort }} {# hidden field #}
<div class="panel-group" id="accordion1">
<div class="panel panel-default">
<div class="panel-heading">
<p class="panel-title toggle_advanced">
<a data-toggle="collapse" data-parent="#accordion1" href="#searchcollapse">
<span class="fa fa-caret-down"></span> Additional search criteria
</a>
</p>
</div>
<div id="searchcollapse" class="panel-collapse collapse in-nojs">
<div class="panel-body">
<div class="form-group">
<div class="col-sm-4">
<label class="control-label">Document Type</label>
</div>
<div class="col-sm-8 search_field">
<div class="checkbox">
<label class="control-label" for="id_rfcs">{{ form.rfcs }} RFC</label>
</div>
<div class="checkbox">
<label class="control-label" for="id_activedrafts">{{ form.activedrafts }} Internet-Draft (active)</label>
</div>
<div class="checkbox">
<label class="control-label" for="id_olddrafts">{{ form.olddrafts }} Internet-Draft (expired, replaced or withdrawn)</label>
</div>
<div class="panel-group" id="accordion1">
<div class="panel panel-default">
<div class="panel-heading">
<p class="panel-title toggle_advanced">
<a data-toggle="collapse" data-parent="#accordion1" href="#searchcollapse">
<span class="fa fa-caret-down"></span> Additional search criteria
</a>
</p>
</div>
<div id="searchcollapse" class="panel-collapse collapse in-nojs">
<div class="panel-body">
<div class="form-group">
<div class="col-sm-4">
<label class="control-label">Document Type</label>
</div>
<div class="col-sm-8 search_field">
<div class="checkbox">
<label class="control-label" for="id_rfcs">{{ form.rfcs }} RFC</label>
</div>
<div class="checkbox">
<label class="control-label" for="id_activedrafts">{{ form.activedrafts }} Internet-Draft (active)</label>
</div>
<div class="checkbox">
<label class="control-label" for="id_olddrafts">{{ form.olddrafts }} Internet-Draft (expired, replaced or withdrawn)</label>
</div>
{% for doc_type in form.doctypes %}
<div class="checkbox">
<label class="control-label" for="id_{{doc_type.slug}}">
<input type="checkbox" class="advdoctype" {% if doc_type.slug in meta.checked %}checked{% endif %} name="include-{{doc_type.slug}}" id="id_{{doc_type.slug}}"/>{{doc_type|safe|capfirst_allcaps}}
</label>
</div>
{% endfor %}
</div>
</div>
{% for doc_type in form.doctypes %}
<div class="checkbox">
<label class="control-label" for="id_{{doc_type.slug}}">
<input type="checkbox" class="advdoctype" {% if doc_type.slug in meta.checked %}checked{% endif %} name="include-{{doc_type.slug}}" id="id_{{doc_type.slug}}"/>{{doc_type|safe|capfirst_allcaps}}
</label>
</div>
{% endfor %}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="author" {% if meta.by == "author" %}checked{% endif %}/>
<label for="id_author" class="control-label">Author</label>
</div>
<div class="col-sm-8">
{{ form.author|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="author" {% if meta.by == "author" %}checked{% endif %}/>
<label for="id_author" class="control-label">Author</label>
</div>
<div class="col-sm-8">
{{ form.author|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="group" {% if meta.by == "group" %}checked{% endif %}/>
<label for="id_group" class="control-label">WG</label>
</div>
<div class="col-sm-8">
{{ form.group|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="group" {% if meta.by == "group" %}checked{% endif %}/>
<label for="id_group" class="control-label">WG</label>
</div>
<div class="col-sm-8">
{{ form.group|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="area" {% if meta.by == "area" %}checked{% endif %}/>
<label for="id_area" class="control-label">Area</label>
</div>
<div class="col-sm-8">
{{ form.area|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="area" {% if meta.by == "area" %}checked{% endif %}/>
<label for="id_area" class="control-label">Area</label>
</div>
<div class="col-sm-8">
{{ form.area|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="ad" {% if meta.by == "ad" %}checked{% endif %}/>
<label for="id_ad" class="control-label">AD</label>
</div>
<div class="col-sm-8">
{{ form.ad|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="ad" {% if meta.by == "ad" %}checked{% endif %}/>
<label for="id_ad" class="control-label">AD</label>
</div>
<div class="col-sm-8">
{{ form.ad|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="state" {% if meta.by == "state" %}checked{% endif %}/>
<label for="id_state" class="control-label">IESG State</label>
</div>
<div class="col-sm-4">
{{ form.state|add_class:"form-control col-sm-4" }}
</div>
<div class="col-sm-4">
{{ form.substate|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="state" {% if meta.by == "state" %}checked{% endif %}/>
<label for="id_state" class="control-label">IESG State</label>
</div>
<div class="col-sm-4">
{{ form.state|add_class:"form-control col-sm-4" }}
</div>
<div class="col-sm-4">
{{ form.substate|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="stream" {% if meta.by == "stream" %}checked{% endif %}/>
<label for="id_stream" class="control-label">Stream</label>
</div>
<div class="col-sm-4">
{{ form.stream|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-sm-4">
<input type="radio" name="by" value="stream" {% if meta.by == "stream" %}checked{% endif %}/>
<label for="id_stream" class="control-label">Stream</label>
</div>
<div class="col-sm-4">
{{ form.stream|add_class:"form-control" }}
</div>
</div>
<div class="form-group search_field">
<div class="col-md-offset-4 col-sm-4">
<button class="btn btn-default btn-block" type="reset">Clear</button>
</div>
<div class="col-sm-4">
<button class="btn btn-primary btn-block" type="submit">
<span class="fa fa-search"></span>
Search
</button>
</div>
</div>
</div>
</div>
<div class="form-group search_field">
<div class="col-md-offset-4 col-sm-4">
<button class="btn btn-default btn-block" type="reset">Clear</button>
</div>
<div class="col-sm-4">
<button class="btn btn-primary btn-block" type="submit">
<span class="fa fa-search"></span>
Search
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>

View file

@ -3,79 +3,79 @@
<tr>
<td>
{% if user.is_authenticated %}
{% if not doc.name in have_doc_status %}
{% elif doc.name in doc_is_tracked %}
<a href="{% url "community_remove_track_document" doc.name %}" class="community-list-add-remove-doc" title="Remove from your personal ID list">
<span class="fa fa-bookmark-o"></span>
</a>
{% else %}
<a href="{% url "community_add_track_document" doc.name %}" class="community-list-add-remove-doc" title="Add to your personal ID list">
<span class="fa fa-bookmark"></span>
</a>
{% endif %}
{% endif %}
</td>
<td>
{% if user.is_authenticated %}
{% if not doc.name in have_doc_status %}
{% elif doc.name in doc_is_tracked %}
<a href="{% url "community_remove_track_document" doc.name %}" class="community-list-add-remove-doc" title="Remove from your personal ID list">
<span class="fa fa-bookmark-o"></span>
</a>
{% else %}
<a href="{% url "community_add_track_document" doc.name %}" class="community-list-add-remove-doc" title="Add to your personal ID list">
<span class="fa fa-bookmark"></span>
</a>
{% endif %}
{% endif %}
</td>
<td class="doc">
<p>
<a href="{{ doc.get_absolute_url }}">{% if doc.get_state_slug == "rfc" %}RFC {{ doc.rfc_number }}{% else %}{{ doc.name }}-{{ doc.rev }}{% endif %}</a>
<td class="doc">
<p>
<a href="{{ doc.get_absolute_url }}">{% if doc.get_state_slug == "rfc" %}RFC {{ doc.rfc_number }}{% else %}{{ doc.name }}-{{ doc.rev }}{% endif %}</a>
{% if doc.get_state_slug == "rfc" and "draft" in doc.name %}
<i>(was {{ doc.name }})</i>
{% endif %}
<br>
<b>{{ doc.title }}</b>
{% if doc.has_errata %}
<a class="label label-danger" href="//www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">Errata</a>
{% endif %}
{% if doc.get_state_slug == "rfc" and "draft" in doc.name %}
<i>(was {{ doc.name }})</i>
{% endif %}
<br>
<b>{{ doc.title }}</b>
{% if doc.has_errata %}
<a class="label label-danger" href="//www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">Errata</a>
{% endif %}
{% if doc.pages %}
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>
{% endif %}
</p>
{% if doc.pages %}
<br><small class="text-muted">{{doc.pages}} page{{ doc.pages|pluralize }}</small>
{% endif %}
</p>
{% if user|has_role:"Secretariat" and doc.reschedule_form %}
<div class="form-group">
<label for="{{ doc.reschedule_form.telechat_date.auto_id}}">Reschedule:</label>
{{ doc.reschedule_form.telechat_date|add_class:"form-control input-sm" }}
</div>
{% if doc.reschedule_form.show_clear %}
<div class="checkbox">
<label>{{ doc.reschedule_form.clear_returning_item }} <b>Clear "returning item"</b></label>
</div>
{% endif %}
{% endif %}
</td>
{% if user|has_role:"Secretariat" and doc.reschedule_form %}
<div class="form-group">
<label for="{{ doc.reschedule_form.telechat_date.auto_id}}">Reschedule:</label>
{{ doc.reschedule_form.telechat_date|add_class:"form-control input-sm" }}
</div>
{% if doc.reschedule_form.show_clear %}
<div class="checkbox">
<label>{{ doc.reschedule_form.clear_returning_item }} <b>Clear "returning item"</b></label>
</div>
{% endif %}
{% endif %}
</td>
<td class="text-nowrap">
{% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}<a href="{{ rfcdiff_prefix }}?url2={{ doc.name }}-{{ doc.rev }}">{% endif %}{% if doc.get_state_slug == "rfc" %}{{ doc.latest_revision_date|date:"Y-m" }}{% else %}{{ doc.latest_revision_date|date:"Y-m-d" }}{% endif %}{% if doc.latest_revision_date|timesince_days|new_enough:request %}{% if doc.get_state_slug != "rfc" %}</a>{% endif %}
<wbr><span class="label label-success">New</span>
{% endif %}
<td class="text-nowrap">
{% if doc.latest_revision_date|timesince_days|new_enough:request and doc.get_state_slug != "rfc" %}<a href="{{ rfcdiff_prefix }}?url2={{ doc.name }}-{{ doc.rev }}">{% endif %}{% if doc.get_state_slug == "rfc" %}{{ doc.latest_revision_date|date:"Y-m" }}{% else %}{{ doc.latest_revision_date|date:"Y-m-d" }}{% endif %}{% if doc.latest_revision_date|timesince_days|new_enough:request %}{% if doc.get_state_slug != "rfc" %}</a>{% endif %}
<wbr><span class="label label-success">New</span>
{% endif %}
{% if doc.get_state_slug == "active" and doc.expirable and doc.expires|timesince_days|expires_soon:request %}
<wbr><span class="label label-warning">Expires soon</span>
{% endif %}
</td>
{% if doc.get_state_slug == "active" and doc.expirable and doc.expires|timesince_days|expires_soon:request %}
<wbr><span class="label label-warning">Expires soon</span>
{% endif %}
</td>
{% include "doc/search/status_columns.html" %}
{% include "doc/search/status_columns.html" %}
<td class="ipr text-center">
{% if doc.iprs %}
<a href="{% url "ipr_search" %}?submit=draft&amp;id={{ doc.name }}">
<span class="label label-default">{{ doc.iprs|length }}</span>
</a>
{% endif %}
</td>
<td class="ipr text-center">
{% if doc.iprs %}
<a href="{% url "ipr_search" %}?submit=draft&amp;id={{ doc.name }}">
<span class="label label-default">{{ doc.iprs|length }}</span>
</a>
{% endif %}
</td>
{% if ad_name == None or ad_name != doc.ad.plain_name %}
<td class="ad">
{% if doc.ad %}
<p>{{ doc.ad|default:"" }}</p>
{% endif %}
{% if doc.shepherd %}<small class="text-muted">{{doc.shepherd|default:""}}</small>{% endif %}
</td>
{% endif %}
{% if ad_name == None or ad_name != doc.ad.plain_name %}
<td class="ad">
{% if doc.ad %}
<p>{{ doc.ad|default:"" }}</p>
{% endif %}
{% if doc.shepherd %}<small class="text-muted">{{doc.shepherd|default:""}}</small>{% endif %}
</td>
{% endif %}
</tr>

View file

@ -1,57 +1,57 @@
{% load ietf_filters %}
{% if not docs and not skip_no_matches_warning %}
<div class="alert alert-info">
No documents match your query.
</div>
<div class="alert alert-info">
No documents match your query.
</div>
{% else %}
{% if meta.max %}
<div class="alert alert-warning">
Too many documents match your query! Returning only a partial result.
</div>
{% endif %}
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>
{% if show_add_to_list and user.is_authenticated %}
<span class="fa fa-bookmark"></span>
{% endif %}
</th>
{% for h in meta.headers %}
{% if h.title != "Title" %}
<th class="{{ h.key }}">
{% if "sort_url" in h %}
<a href="{{ h.sort_url }}">{{ h.title }}
{% if h.sorted %}<span class="fa fa-caret-down"></span>{% endif %}
</a>
{% else %}
{{ h.title }}
{% endif %}
</th>
{% endif %}
{% endfor %}
</tr>
</thead>
{% regroup docs by search_heading as grouped_docs %}
<tbody>
{% for doc_group in grouped_docs %}
<tr class="warning">
<th></th>
<th colspan="{{ meta.headers|length|add:"-1" }}">
{{ doc_group.grouper|plural:doc_group.list }}
</th>
</tr>
{% for doc in doc_group.list %}
{% include "doc/search/search_result_row.html" %}
{% endfor %}
{% endfor %}
</tbody>
</table>
{% if meta.max %}
<div class="alert alert-warning">
Too many documents match your query! Returning only a partial result.
</div>
{% endif %}
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>
{% if show_add_to_list and user.is_authenticated %}
<span class="fa fa-bookmark"></span>
{% endif %}
</th>
{% for h in meta.headers %}
{% if h.title != "Title" %}
<th class="{{ h.key }}">
{% if "sort_url" in h %}
<a href="{{ h.sort_url }}">{{ h.title }}
{% if h.sorted %}<span class="fa fa-caret-down"></span>{% endif %}
</a>
{% else %}
{{ h.title }}
{% endif %}
</th>
{% endif %}
{% endfor %}
</tr>
</thead>
{% regroup docs by search_heading as grouped_docs %}
<tbody>
{% for doc_group in grouped_docs %}
<tr class="warning">
<th></th>
<th colspan="{{ meta.headers|length|add:"-1" }}">
{{ doc_group.grouper|plural:doc_group.list }}
</th>
</tr>
{% for doc in doc_group.list %}
{% include "doc/search/search_result_row.html" %}
{% endfor %}
{% endfor %}
</tbody>
</table>
{% endif %}

View file

@ -1,61 +1,61 @@
{% load ietf_filters ballot_icon %}
<td class="status">
<div class="pull-right">
{% ballot_icon doc %}
</div>
<div class="pull-right">
{% ballot_icon doc %}
</div>
{% if not doc.get_state_slug == "rfc" %}
{% if '::' in doc.friendly_state %}
{{ doc.friendly_state|safe|split:"::"|join:"::<wbr>" }}
{% else %}
{{ doc.friendly_state|safe }}
{% endif %}
{% if not doc.get_state_slug == "rfc" %}
{% if '::' in doc.friendly_state %}
{{ doc.friendly_state|safe|split:"::"|join:"::<wbr>" }}
{% else %}
{{ doc.friendly_state|safe }}
{% endif %}
<wbr>{{ doc|state_age_colored }}
<wbr>{{ doc|state_age_colored }}
{% if doc.telechat_date %}
<br>IESG telechat: {{ doc.telechat_date }}
{% endif %}
{% if doc.telechat_date %}
<br>IESG telechat: {{ doc.telechat_date }}
{% endif %}
{% with doc.active_defer_event as defer %}
{% if defer %}
<br>Deferred by {{ defer.by }} on {{ defer.time|date:"Y-m-d" }})
{% endif %}
{% endwith %}
{% with doc.active_defer_event as defer %}
{% if defer %}
<br>Deferred by {{ defer.by }} on {{ defer.time|date:"Y-m-d" }})
{% endif %}
{% endwith %}
{% if doc.intended_std_level %}
<br>{{ doc.intended_std_level }}
{% endif %}
{% if doc.intended_std_level %}
<br>{{ doc.intended_std_level }}
{% endif %}
{% for m in doc.milestones %}
<span title="Part of {{ m.group.acronym }} milestone: {{ m.desc }}" class="milestone">{{ m.due|date:"M Y" }}</span>
{% endfor %}
{% for m in doc.milestones %}
<span title="Part of {{ m.group.acronym }} milestone: {{ m.desc }}" class="milestone">{{ m.due|date:"M Y" }}</span>
{% endfor %}
{% if doc|state:"draft-rfceditor" %}
<br>RFC Editor: <a href="//www.rfc-editor.org/queue2.html#{{ doc.name }}">{{ doc|state:"draft-rfceditor" }}</a>
{% endif %}
{% if doc|state:"draft-rfceditor" %}
<br>RFC Editor: <a href="//www.rfc-editor.org/queue2.html#{{ doc.name }}">{{ doc|state:"draft-rfceditor" }}</a>
{% endif %}
{% else %}{# RFC #}
{{ doc.std_level|safe }} RFC
{% else %}{# RFC #}
{{ doc.std_level|safe }} RFC
{% if doc.obsoleted_by_list %}
<br>Obsoleted by {{ doc.obsoleted_by_list|join:", "|urlize_ietf_docs }}
{% endif %}
{% if doc.obsoleted_by_list %}
<br>Obsoleted by {{ doc.obsoleted_by_list|join:", "|urlize_ietf_docs }}
{% endif %}
{% if doc.updated_by_list %}
<br>Updated by {{ doc.updated_by_list|join:", "|urlize_ietf_docs }}
{% endif %}
{% endif %}
{% if doc.updated_by_list %}
<br>Updated by {{ doc.updated_by_list|join:", "|urlize_ietf_docs }}
{% endif %}
{% endif %}
{% if doc.stream %}
<br>
{% if doc|state:"stream" %}
{{ doc|state:"stream" }}
{% else %}
{{ doc.stream }} RFC stream
{% endif %}
{% endif %}
{% if doc.stream %}
<br>
{% if doc|state:"stream" %}
{{ doc|state:"stream" }}
{% else %}
{{ doc.stream }} RFC stream
{% endif %}
{% endif %}
</td>

View file

@ -1,17 +1,17 @@
{% extends "ietf.html" %}
{% block title %}
Shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }}
Shepherd writeup for {{ doc.canonical_name }}-{{ doc.rev }}
{% endblock %}
{% block content %}
<h1>Shepherd writeup<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h1>
<h1>Shepherd writeup<br><small>{{ doc.canonical_name }}-{{ doc.rev }}</small></h1>
<pre>{{writeup}}</pre>
<pre>{{writeup}}</pre>
{% if can_edit %}
<a class="btn btn-primary" href="{% url "doc_edit_shepherd_writeup" name=doc.name %}">Edit</a>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% if can_edit %}
<a class="btn btn-primary" href="{% url "doc_edit_shepherd_writeup" name=doc.name %}">Edit</a>
{% endif %}
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endblock %}

View file

@ -3,57 +3,57 @@
{% block title %}{{ title }}{% endblock %}
{% block content %}
<h1>{{ title }}</h1>
<h1>{{ title }}</h1>
{% if state_type.slug == "draft-iesg" %}
<p><a class="btn btn-default" href="/images/iesg-draft-state-diagram.png">View diagram</a></p>
{% endif %}
{% if state_type.slug == "draft-iesg" %}
<p><a class="btn btn-default" href="/images/iesg-draft-state-diagram.png">View diagram</a></p>
{% endif %}
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>State</th>
<th>Description</th>
{% if has_next_states %}<th>Next State</th>{% endif %}
</tr>
</thead>
<tbody>
{% for state in states %}
<tr class="anchor-target" id="{{ state.slug }}">
<th>{{ state.name }}</th>
<td>{{ state.desc|safe|linebreaksbr }}</td>
{% if has_next_states %}
<td>
{% for s in state.next_states.all %}
{{ s.name }}<br/>
{% endfor %}
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>State</th>
<th>Description</th>
{% if has_next_states %}<th>Next State</th>{% endif %}
</tr>
</thead>
<tbody>
{% for state in states %}
<tr class="anchor-target" id="{{ state.slug }}">
<th>{{ state.name }}</th>
<td>{{ state.desc|safe|linebreaksbr }}</td>
{% if has_next_states %}
<td>
{% for s in state.next_states.all %}
{{ s.name }}<br/>
{% endfor %}
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% if tags %}
<h2>Tags</h2>
{% if tags %}
<h2>Tags</h2>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Tag</th>
<th>Description</th>
</tr>
</thead>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Tag</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for tag in tags %}
<tr class="anchor-target" id="{{ tag.slug }}">
<td>{{ tag.name }}</td>
<td>{{ tag.desc|linebreaksbr }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<tbody>
{% for tag in tags %}
<tr class="anchor-target" id="{{ tag.slug }}">
<td>{{ tag.name }}</td>
<td>{{ tag.desc|linebreaksbr }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}

View file

@ -5,17 +5,17 @@
{% block title %}Approve {{doc.canonical_name }}{% endblock %}
{% block content %}
<h1>Approve<br><small>{{ doc.canonical_name }}</small></h1>
<h1>Approve<br><small>{{ doc.canonical_name }}</small></h1>
{% bootstrap_messages %}
{% bootstrap_messages %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_formset formset %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_formset formset %}
{% buttons %}
<button type="submit" class="btn btn-primary" >Send announcement & close ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary" >Send announcement & close ballot</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}

View file

@ -1,41 +1,41 @@
{% for rfc,choice_slug in form.relations.items %}
<div class="form-group">
<div class="row">
<div class="col-md-5">
<input class="form-control" name="new_relation_row_{{rfc}}" type="text" value="{{rfc}}">
</div>
<div class="col-md-5">
<select class="form-control" name="statchg_relation_row_{{rfc}}">
<option value="" {% if choice_slug == "" %}selected{% endif %}>(None)</option>
{% for rel in relation_slugs %}
<option value="{{rel.slug}}" {% if choice_slug == rel.slug %}selected{%endif%}>{{rel.name}}</option>
{% endfor %}
</select>
</div>
<div class="col-md-2">
<button class="btn btn-danger delete">Delete</button>
</div>
</div>
</div>
{% for rfc,choice_slug in form.relations.items %}
<div class="form-group">
<div class="row">
<div class="col-md-5">
<input class="form-control" name="new_relation_row_{{rfc}}" type="text" value="{{rfc}}">
</div>
<div class="col-md-5">
<select class="form-control" name="statchg_relation_row_{{rfc}}">
<option value="" {% if choice_slug == "" %}selected{% endif %}>(None)</option>
{% for rel in relation_slugs %}
<option value="{{rel.slug}}" {% if choice_slug == rel.slug %}selected{%endif%}>{{rel.name}}</option>
{% endfor %}
</select>
</div>
<div class="col-md-2">
<button class="btn btn-danger delete">Delete</button>
</div>
</div>
</div>
{% endfor %}
<div class="form-group new-row">
<div class="row">
<div class="col-md-5">
<input name="new_relation_row_" type="text" class="form-control" placeholder="rfc...">
<p class="help-block">Enter new affected RFC.</p>
</div>
<div class="col-md-5">
<select class="form-control" name="statchg_relation_row_">
<option value="" {% if choice_slug == "" %}selected{% endif %}>(None)</option>
{% for rel in relation_slugs %}
<option value="{{rel.slug}}" {% if choice_slug == rel.slug %}selected{%endif%}>{{rel.name}}</option>
{% endfor %}
<div class="form-group new-row">
<div class="row">
<div class="col-md-5">
<input name="new_relation_row_" type="text" class="form-control" placeholder="rfc...">
<p class="help-block">Enter new affected RFC.</p>
</div>
<div class="col-md-5">
<select class="form-control" name="statchg_relation_row_">
<option value="" {% if choice_slug == "" %}selected{% endif %}>(None)</option>
{% for rel in relation_slugs %}
<option value="{{rel.slug}}" {% if choice_slug == rel.slug %}selected{%endif%}>{{rel.name}}</option>
{% endfor %}
</select>
</div>
<div class="col-md-2">
<button class="btn btn-danger delete" style="display:none">Delete</button>
</div>
</div>
</div>
</select>
</div>
<div class="col-md-2">
<button class="btn btn-danger delete" style="display:none">Delete</button>
</div>
</div>
</div>

View file

@ -6,22 +6,22 @@
{% block content %}
<h1>Edit RFCs affected by status change</h1>
<h1>Edit RFCs affected by status change</h1>
<form role="form" method="post">
{% csrf_token %}
<form role="form" method="post">
{% csrf_token %}
{% include "doc/status_change/edit_related_rows.html" %}
{% include "doc/status_change/edit_related_rows.html" %}
{% if form.non_field_errors %}
<div class="alert alert-danger">{{ form.non_field_errors }}</div>
{% endif %}
{% if form.non_field_errors %}
<div class="alert alert-danger">{{ form.non_field_errors }}</div>
{% endif %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% endblock %}
{% block js %}

Some files were not shown because too many files have changed in this diff Show more