aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/search_users.html
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-19 00:08:15 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-19 00:08:15 +0100
commita9a4fed583d7467c9c1f1fa56d42bcb75b4b488c (patch)
tree72941901b1bad732047bc6289139a387b049e6e8 /templates/web/default/admin/search_users.html
parent302f5961f5da13e8124e8d2e91e52a29f141946f (diff)
parent61e6d5928be1bedb68607f8fa36f0d971711a3f8 (diff)
Merge branch 'new_statuses'
Diffstat (limited to 'templates/web/default/admin/search_users.html')
-rw-r--r--templates/web/default/admin/search_users.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/web/default/admin/search_users.html b/templates/web/default/admin/search_users.html
new file mode 100644
index 000000000..43fdebf2b
--- /dev/null
+++ b/templates/web/default/admin/search_users.html
@@ -0,0 +1,29 @@
+[% INCLUDE 'admin/header.html' title=loc('Search Users') %]
+[% PROCESS 'admin/report_blocks.html' %]
+
+<form method="get" action="[% c.uri_for('search_users') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
+ <label for="search">[% loc('Search:') %]</label> <input type="text" name="search" size="30" id="search">
+</form>
+
+
+[% IF searched %]
+<table cellspacing="0" cellpadding="2" border="1">
+ <tr>
+ <th>[% loc('Name') %]</th>
+ <th>[% loc('Email') %]</th>
+ <th>[% loc('Council') %]</th>
+ <th>*</th>
+ </tr>
+[%- FOREACH user IN users %]
+ <tr>
+ <td>[% PROCESS value_or_nbsp value=user.name %]</td>
+ <td>[% PROCESS value_or_nbsp value=user.email %]</td>
+ <td>[% PROCESS value_or_nbsp value=user.from_council %]</td>
+ <td><a href="[% c.uri_for( 'user_edit', user.id ) %]">[% loc('Edit') %]</a></td>
+ </tr>
+[%- END -%]
+</table>
+
+[% END %]
+
+[% INCLUDE 'admin/footer.html' %]