summaryrefslogblamecommitdiffstats
path: root/templates/members.html
blob: 17cb36dd4a3c4de2b55eb268b9a2d6d98acb747c (plain) (tree)

























                                                                                                                             
                                                                                                                                                                                             









                                                                                           
{% 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" 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 %}