[Python-checkins] r53537 - tracker/instances/python-dev/html/user.index.html

erik.forsberg python-checkins at python.org
Wed Jan 24 07:32:53 CET 2007


Author: erik.forsberg
Date: Wed Jan 24 07:32:49 2007
New Revision: 53537

Modified:
   tracker/instances/python-dev/html/user.index.html
Log:
Added simple search interface for users. Should close
http://psf.upfronthosting.co.za/roundup/meta/issue19.


Modified: tracker/instances/python-dev/html/user.index.html
==============================================================================
--- tracker/instances/python-dev/html/user.index.html	(original)
+++ tracker/instances/python-dev/html/user.index.html	Wed Jan 24 07:32:49 2007
@@ -13,6 +13,35 @@
  and request.user.hasRole('Anonymous')"
  i18n:translate="">Please login with your username and password.</span>
 
+<form tal:condition="context/is_view_ok" method="get" name="itemSynopsis"
+      tal:attributes="action request/classname">
+
+<table class="form" tal:define="
+       search_input templates/page/macros/search_input;">
+
+   <tr><th class="header" colspan="5">Search for users</th></tr>
+   <tr>
+       <th class="header">Username</th>
+       <td tal:define="name string:username">
+           <input tal:attributes="value python:request.form.getvalue(name) or nothing;
+                         name name;
+                         id name"/>
+       </td>
+       <th class="header">Realname</th>
+       <td tal:define="name string:realname">
+           <input tal:attributes="value python:request.form.getvalue(name) or nothing;
+                         name name;
+                         id name"/>
+       </td>
+
+       <td><input class="form-small" type="submit" value="Search" i18n:attributes="value"/></td>
+   </tr>
+
+</table>
+   <input type="hidden" name="@action" value="search"/>
+</form>
+
+
 <table width="100%" tal:condition="context/is_view_ok" class="list"
        tal:define="batch request/batch">
 <tr>


More information about the Python-checkins mailing list