40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2021, All Rights Reserved #}
|
|
{% load origin static %}
|
|
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
|
|
{% endblock %}
|
|
|
|
{% block title %}Active administrative groups{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
{% regroup adm by parent as grouped_groups %}
|
|
{% for grouptype in grouped_groups %}
|
|
<h1>Active {% firstof grouptype.grouper.verbose_name grouptype.grouper.name 'Top-level Administration' %} Groups</h1>
|
|
<table class="table table-condensed table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th>{{grouptype.grouper}}</th>
|
|
<th>Name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for group in grouptype.list %}
|
|
<tr>
|
|
<td><a href="{% url "ietf.group.views.group_home" acronym=group.acronym %}">{{ group.acronym }}</a></td>
|
|
<td>{{ group.name }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
|
|
{% endblock %}
|