aboutsummaryrefslogtreecommitdiffstats
path: root/root/admin/group.tt
diff options
context:
space:
mode:
Diffstat (limited to 'root/admin/group.tt')
-rw-r--r--root/admin/group.tt38
1 files changed, 38 insertions, 0 deletions
diff --git a/root/admin/group.tt b/root/admin/group.tt
new file mode 100644
index 0000000..50c6bde
--- /dev/null
+++ b/root/admin/group.tt
@@ -0,0 +1,38 @@
+<form method='POST'>
+<table>
+<tr>
+<td>
+Search by
+</td>
+<td>
+<select name="attribute">
+<option value="cn">Group name</option>
+<option value="member">member</option>
+</select>
+</td>
+<!-- td>
+<select name="matchtype">
+<option value="substring">contains</option>
+<option value="exact">is exactly</option>
+<option value="gte">greater than or equal to</option>
+<option value="lt">less than</option>
+</select>
+</td -->
+<td><input name='value'></td>
+</table>
+</form>
+[% IF entries %]
+<table border=0>
+<tr>
+<th>Group Name</th>
+</tr>
+[% FOREACH entry IN entries %]
+<tr>
+<td><a href="[% c.uri_for('/admin/group_modify') %]/[% entry.cn %]">[% entry.cn %]</a></td>
+<td>[% entry.cn %]</td>
+</tr>
+[% END %]
+</table>
+[% END %]
+
+