Parent: [ae3a01] (diff)

Child: [4e140c] (diff)

Download this file

neighborhood_moderate.html    48 lines (39 with data), 1.3 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
{% set hide_left_bar = True %}
{% extends g.theme.master %}
{% block title %}{{neighborhood.name}} / Moderate{% endblock %}
{% block header %}{{neighborhood.name}} Moderation{% endblock %}
{% block nav_menu %}
{% include 'allura:templates/jinja_master/neigh_nav_menu.html' %}
{% endblock %}
{% block top_nav %}
{% include 'allura:templates/jinja_master/neigh_top_nav.html' %}
{% endblock %}
{% block content %}
<h2>Invite Projects?</h2>
<form method="POST" action="invite" class="grid-10">
<p>
<select name="neighborhood_id">
{% for n in neighborhoods %}
<option value="{{n._id}}">
{{n.name}}
</option>
{% endfor %}
<label for="pid">Project Shortname</label>
<input type="text" name="pid" id="pid">
</p>
<input type="submit" name="invite" value="Invite!"/>
<input type="submit" name="uninvite" value="Cancel Invitation!"/>
</form>
<div style="clear:both">&nbsp;</div>
<h2>Evict Projects?</h2>
<form method="POST" action="evict" class="grid-10">
<select name="pid">
{% for p in neighborhood.projects if p.is_root and p.shortname != '--init--' %}
<option value="{{p.shortname}}">
{{p.name}} ({{p.shortname}})
</option>
{% endfor %}
</select>
<input type="submit" value="Evict!"/>
</form>
{% endblock %}