summaryrefslogtreecommitdiffstats
path: root/templates/members.html
blob: 2da38c0801df4eb23c1baf9b0d94696557dc5062 (plain) (blame)
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
{% extends "base.html" %}
{% block title %}Members of project {{ proj }}{% endblock %}
{% block content %}
<h1>Members of project {{ proj }}</h1>
<p style="font-size: small; padding-bottom: 5px;">
Add or delete members to/from project {{ proj }}
</p>
<div class="subcolumns">
	<div class="c66l">
		<table>
			<tr>
				<th style="width: 100%">member name</th>
				<th>delete?</th>
			</tr>
			{% for member in members %}
			<tr>
				<td>{{ member.0 }}</td>
				<td><a href="members?action=delete&proj_name={{ proj }}&login={{ member.0 }}">delete</a></td>
			</tr>
			{% endfor %}
		</table>
	</div>
	<div class="c33r">
		<form action="members" method="post">
			<div class="infobox" style="width:150px; border-color:#132E28; margin-left:0.4cm;">
				<p>add <input name="login" style="font-style:italic; color:grey;" 
											type="text" value="name of user to add" size="12" maxlength="64" id="mem" onclick="clearInput('mem')"/><br/>
				to project <em>{{ proj }}</em><br/>
				<input type="hidden" name="action" value="add" />
				<input type="hidden" name="proj_name" value="{{ proj }}" />
				<input type="submit" value="submit"/>
				</p>
			</div>
		</form>
	</div>
</div>
{% endblock %}