forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist.html
More file actions
42 lines (36 loc) · 1.2 KB
/
list.html
File metadata and controls
42 lines (36 loc) · 1.2 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
{% extends "base_site.html" %}
{% load staticfiles %}
{% block title %}Areas{% endblock %}
{% block extrahead %}{{ block.super }}
<script src="{% static 'secr/js/utils.js' %}"></script>
{% endblock %}
{% block breadcrumbs %}{{ block.super }}
» Areas
{% endblock %}
{% block content %}
<div class="module">
<h2>Areas</h2>
<table id="areas-list-table" class="full-width">
<thead>
<tr>
<th>Name</th>
<th>Acronym</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for item in results %}
<tr class="{% cycle 'row1' 'row2' %} {{ item.state|lower }}">
<td><a href="{% url "ietf.secr.areas.views.view" name=item.acronym %}">{{ item.name }}</a></td>
<td>{{ item.acronym }}</td>
<td>{{ item.state }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="button-group">
<ul id="areas-button-list">
</ul>
</div> <!-- button-group -->
</div> <!-- module -->
{% endblock %}