datatracker/ietf/secr/templates/sreq/tool_status.html

43 lines
1.4 KiB
HTML
Executable file

{% extends "base_site.html" %}
{% load staticfiles %}
{% block title %}Sessions{% endblock %}
{% block extrahead %}{{ block.super }}
<script src="{% static 'secr/js/utils.js' %}"></script>
{% endblock %}
{% block breadcrumbs %}{{ block.super }}
&raquo; <a href="../">Sessions</a>
&raquo; Session Status
{% endblock %}
{% block content %}
<div class="module interim-container">
<h2>Sessions - Status</h2>
<p>Enter the message that you would like displayed to the WG Chair when this tool is locked.</p>
<form method="post">{% csrf_token %}
<table>
<tbody>
<!-- [html-validate-disable-block element-required-attributes -- FIXME: as_table renders without scope] -->
{{ form.as_table }}
</tbody>
</table>
<div class="button-group">
<ul>
{% if is_locked %}
<li><button type="submit" name="submit" value="Unlock">Unlock</button></li>
{% else %}
<li><button type="submit" name="submit" value="Lock">Lock</button></li>
{% endif %}
<li><button type="submit" name="submit" value="Back">Back</button></li>
</ul>
</div> <!-- button-group -->
</form>
</div> <!-- module -->
{% endblock %}