datatracker/ietf/secr/templates/areas/list.html
Robert Sparks 066ee27505 preparing to merge forward
- Legacy-Id: 18143
2020-07-09 20:29:45 +00:00

43 lines
1,005 B
HTML

{% extends "base_site.html" %}
{% load staticfiles %}
{% block title %}Areas{% endblock %}
{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="{% static 'secr/js/utils.js' %}"></script>
{% endblock %}
{% block breadcrumbs %}{{ block.super }}
&raquo; 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 %}