forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstate_help.html
More file actions
65 lines (65 loc) · 2.26 KB
/
state_help.html
File metadata and controls
65 lines (65 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% block title %}{{ title }}{% endblock %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block content %}
{% origin %}
<h1>{{ title }}</h1>
{% if state_type.slug == "draft-iesg" %}
<p>
<a class="btn btn-primary"
href="{% static 'ietf/images/iesg-draft-state-diagram.png' %}">View diagram</a>
</p>
{% endif %}
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col" data-sort="state">State</th>
<th scope="col" data-sort="description">Description</th>
{% if has_next_states %}<th scope="col" data-sort="next">Next State</th>{% endif %}
</tr>
</thead>
<tbody>
{% for state in states %}
<tr id="{{ state.slug|default:"idexists" }}">
<th scope="row">{{ 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>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col" data-sort="tag">Tag</th>
<th scope="col" data-sort="description">Description</th>
</tr>
</thead>
<tbody>
{% for tag in tags %}
<tr id="{{ tag.slug }}">
<th scope="row">{{ tag.name }}</th>
<td>{{ tag.desc|linebreaksbr }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}