Mercurial > p > roundup > code
diff roundup/templates/classic/html/issue.search @ 1356:83f33642d220 maint-0.5
[[Metadata associated with this commit was garbled during conversion from CVS
to Subversion.]]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 09 Jan 2003 22:59:22 +0000 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/roundup/templates/classic/html/issue.search Thu Jan 09 22:59:22 2003 +0000 @@ -0,0 +1,192 @@ +<tal:block metal:use-macro="templates/page/macros/icing"> +<title metal:fill-slot="head_title">Issue searching</title> +<td class="page-header-top" metal:fill-slot="body_title"> + <h2>Issue searching</h2> +</td> +<td class="content" metal:fill-slot="content"> + +<form method="GET" tal:attributes="action request/classname"> +<input type="hidden" name=":action" value="search"> + +<table class="form" tal:define=" + cols python:'id activity priority title status assignedto'.split(); + defsort python:['activity']; + defgroup python:['priority']; + defdisp python:'id activity title status assignedto'.split()"> + +<tr> + <th class="header"> </th> + <th class="header">Filter on</th> + <th class="header">Display</th> + <th class="header">Sort on</th> + <th class="header">Group on</th> +</tr> + +<tr> + <th>All text*:</th> + <td><input name=":search_text" + tal:attributes="value request/form/:search_text/value | nothing"> + </td> + <td> </td> + <td> </td> + <td> </td> +</tr> + +<tr> + <th>Title:</th> + <td><input name="title"></td> + <td><input type="checkbox" name=":columns" value="title" checked></td> + <td><input type="radio" name=":sort" value="title"></td> + <td> </td> +</tr> + +<tr> + <th>Topic:</th> + <td> + <select name="topic"> + <option value="">don't care</option> + <option value="">------------</option> + <option tal:repeat="s db/keyword/list" tal:attributes="value s/name" + tal:content="s/name">topic to filter on</option> + </select> + </td> + <td><input type="checkbox" name=":columns" value="topic" checked></td> + <td><input type="radio" name=":sort" value="topic"></td> + <td><input type="radio" name=":group" value="topic"></td> +</tr> + +<tr> + <th>ID:</th> + <td><input name="id"></td> + <td><input type="checkbox" name=":columns" value="id" checked></td> + <td><input type="radio" name=":sort" value="id"></td> + <td> </td> +</tr> + +<tr> + <th>Creation date:</th> + <td><input name="creation"></td> + <td><input type="checkbox" name=":columns" value="creation"></td> + <td><input type="radio" name=":sort" value="creation"></td> + <td><input type="radio" name=":group" value="creation"></td> +</tr> + +<tr> + <th>Creator:</th> + <td> + <select name="creator"> + <option value="">don't care</option> + <option tal:attributes="value request/user/id">created by me</option> + <option value="-1">------------</option> + <option tal:repeat="s db/user/list" tal:attributes="value s/id" + tal:content="s/username">user to filter on</option> + </select> + </td> + <td><input type="checkbox" name=":columns" value="creator" checked></td> + <td><input type="radio" name=":sort" value="creator"></td> + <td><input type="radio" name=":group" value="creator"></td> +</tr> + +<tr> + <th>Activity:</th> + <td><input name="activity"></td> + <td><input type="checkbox" name=":columns" value="activity" checked></td> + <td><input type="radio" name=":sort" value="activity"></td> + <td> </td> +</tr> + +<tr> + <th>Priority:</th> + <td> + <select name="priority"> + <option value="">don't care</option> + <option value="-1">not selected</option> + <option value="">------------</option> + <option tal:repeat="s db/priority/list" tal:attributes="value s/id" + tal:content="s/name">priority to filter on</option> + </select> + </td> + <td><input type="checkbox" name=":columns" value="priority"></td> + <td><input type="radio" name=":sort" value="priority"></td> + <td><input type="radio" name=":group" value="priority"></td> +</tr> + +<tr> + <th>Status:</th> + <td> + <select name="status"> + <option value="">don't care</option> + <option value="-1,1,2,3,4,5,6,7">not resolved</option> + <option value="-1">not selected</option> + <option value="">------------</option> + <option tal:repeat="s db/status/list" tal:attributes="value s/id" + tal:content="s/name">status to filter on</option> + </select> + </td> + <td><input type="checkbox" name=":columns" value="status" checked></td> + <td><input type="radio" name=":sort" value="status"></td> + <td><input type="radio" name=":group" value="status"></td> +</tr> + +<tr> + <th>Assigned To:</th> + <td> + <select name="assignedto"> + <option value="">don't care</option> + <option tal:attributes="value request/user/id">assigned to me</option> + <option value="-1">unassigned</option> + <option value="">------------</option> + <option tal:repeat="s db/user/list" tal:attributes="value s/id" + tal:content="s/username">user to filter on</option> + </select> + </td> + <td><input type="checkbox" name=":columns" value="assignedto" checked></td> + <td><input type="radio" name=":sort" value="assignedto"></td> + <td><input type="radio" name=":group" value="assignedto"></td> +</tr> + +<tr> +<th>Pagesize:</th> +<td><input type="text" name=":pagesize" size="3" value="50"></td> +</tr> + +<tr> +<th>Start With:</th> +<td><input type="text" name=":startwith" size="3" value="0"></td> +</tr> + +<tr> +<th>Sort Descending:</th> +<td><input type="checkbox" name=":sortdir" checked> +</td> + +<tr> +<th>Group Descending:</th> +<td><input type="checkbox" name=":groupdir"> +</td> +</tr> + +<tr> +<th>Query name**:</th> +<td><input name=":queryname" + tal:attributes="value request/form/:queryname/value | nothing"> +</td> +</tr> + +<tr><td> </td> +<td><input type="submit" value="Search"></td> +</tr> + +<tr><td> </td> + <td colspan="4" class="help"> + *: The "all text" field will look in message bodies and issue titles<br> + **: If you supply a name, the query will be saved off and available as a + link in the sidebar + </td> +</tr> +</table> + +</form> +</td> + +</tal:block>
