forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpeople.html
More file actions
59 lines (52 loc) · 2.18 KB
/
people.html
File metadata and controls
59 lines (52 loc) · 2.18 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
{% extends "base_site.html" %}
{% load staticfiles %}
{% block title %}Areas - People{% endblock %}
{% block extrahead %}{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'ietf/css/jquery-ui.css' %}" />
<script src="{% static 'ietf/js/jquery-ui.js' %}"></script>
<script src="{% static 'secr/js/utils.js' %}"></script>
{% endblock %}
{% block breadcrumbs %}{{ block.super }}
» <a href="../../">Areas</a>
» <a href="../">{{ area.acronym }}</a>
» People
{% endblock %}
{% block content %}
<div class="module">
<h2>Area Directors ({{ area.acronym }})</h2>
<table class="center">
{% for director in directors %}
<form action="modify/" method="post">{% csrf_token %}
<input type="hidden" name="tag" value="{{ director.person.id }}" />
<tr>
<td id="id-ad-name"><a href="#">{{ director.person.name }}</a></td>
<td>{% if director.name.slug == "ad" %}
Voting Enabled
{% else %}
<input type="submit" name="submit" value="Enable Voting" /></td>
{% endif %}
<td><input type="submit" name="submit" value="Retire" /></td>
</tr>
</form>
{% endfor %}
</table>
<div class="inline-related">
<h3><b>Add new Director</b></h3>
<p>
<form action="." method="post">{% csrf_token %}
<table class="center">
{{ form.as_table }}
<tr>
<td></td>
<td><input type="submit" name="submit" value="Add" /></td>
</tr>
</table>
</form>
</div> <!-- iniline-related -->
<div class="button-group">
<ul>
<li><button onclick="history.go(-1);return true">Back</button></li>
</ul>
</div> <!-- button-group -->
</div> <!-- module -->
{% endblock %}