datatracker/ietf/templates/help/states.html
2020-06-27 13:51:19 +00:00

43 lines
1 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %} {{type.label|cut:"state"|cut:"state"}} states{% endblock %}
{% block content %}
{% origin %}
<h1>{{type.label|cut:"state"|cut:"State"}} states</h1>
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
<th>State</th>
<th>Description</th>
<th>Next states</th>
</tr>
</thead>
<tbody>
{% for state in states %}
<tr>
<th>{{ state.name }}</th>
<td>{{ state.desc|safe }}</td>
<td><ul>{% for s in state.next_states.all %}<li>{{ s.name }}</li>{%endfor%}</ul></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block js %}
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}