source: trunk/grails-app/views/taskDetailed/_quickSearchPane.gsp @ 562

Last change on this file since 562 was 562, checked in by gav, 14 years ago

Install searchable plugin, configure and start inventory search.

File size: 5.9 KB
RevLine 
[476]1<!-- Start Search Pane -->
2<div class="overlayPane" id="searchPane" style="display:none;">
3    <h2>Quick Search</h2>
4    <g:form method="post" id="searchForm" name="searchForm" >
5        <table>
6            <tbody>
7
8                <tr class="prop">
9                    <td valign="top" class="name">
10                        <label>My Tasks:</label>
11                    </td>
12                    <td valign="top" class="value">
13                        <g:link controller="taskDetailed"
14                                        action="${actionName}"
15                                        params="[quickSearch: 'myTodays']">
[503]16                                        <g:message code="task.search.text.my.todays" />
17                        </g:link> - <g:message code="task.search.text.my.todays.description" />
[476]18                        <br />
19                        <g:link controller="taskDetailed"
20                                        action="${actionName}"
21                                        params="[quickSearch: 'myYesterdays']">
[503]22                                        <g:message code="task.search.text.my.yesterdays" />
[476]23                        </g:link>
24                        <br />
25                        <g:link controller="taskDetailed"
26                                        action="${actionName}"
27                                        params="[quickSearch: 'myTomorrows']">
[503]28                                        <g:message code="task.search.text.my.tomorrows" />
[476]29                        </g:link>
30                        <br />
31                        <g:link controller="taskDetailed"
32                                        action="${actionName}"
33                                        params="[quickSearch: 'myPastWeek']">
[503]34                                        <g:message code="task.search.text.my.past.week" />
[476]35                        </g:link>
36                    </td>
37                </tr>
38
39                <tr class="prop">
40                    <td valign="top" class="name">
41                        <label>All Tasks:</label>
42                    </td>
43                    <td valign="top" class="value">
44                        <g:link controller="taskDetailed"
45                                        action="${actionName}"
46                                        params="[quickSearch: 'todays']">
[503]47                                        <g:message code="task.search.text.todays" />
48                        </g:link> - <g:message code="task.search.text.todays.description" />
[476]49                        <br />
50                        <g:link controller="taskDetailed"
51                                        action="${actionName}"
52                                        params="[quickSearch: 'yesterdays']">
[503]53                                        <g:message code="task.search.text.yesterdays" />
[476]54                        </g:link>
55                        <br />
56                        <g:link controller="taskDetailed"
57                                        action="${actionName}"
58                                        params="[quickSearch: 'tomorrows']">
[503]59                                        <g:message code="task.search.text.tomorrows" />
[476]60                        </g:link>
61                        <br />
62                        <g:link controller="taskDetailed"
63                                        action="${actionName}"
64                                        params="[quickSearch: 'pastWeek']">
[503]65                                        <g:message code="task.search.text.past.week" />
[476]66                        </g:link>
67                        <br />
68                        <g:link controller="taskDetailed"
69                                        action="${actionName}"
70                                        params="[quickSearch: 'plannersRange']">
[503]71                                        <g:message code="task.search.text.planners.range" />
72                        </g:link> - <g:message code="task.search.text.planners.range.description" />
[476]73                    </td>
74                </tr>
75
76                <tr class="prop">
77                    <td valign="top" class="name">
78                        <label>Budget:</label>
79                    </td>
80                    <td valign="top" class="value">
81                        <g:link controller="taskDetailed"
82                                        action="${actionName}"
83                                        params="[quickSearch: 'budgetPlanned']">
[503]84                                        <g:message code="task.search.text.budget.planned" />
85                        </g:link> - <g:message code="task.search.text.budget.planned.description" />
[476]86                        <br />
87                        <g:link controller="taskDetailed"
88                                        action="${actionName}"
89                                        params="[quickSearch: 'budgetUnplanned']">
[503]90                                        <g:message code="task.search.text.budget.unplanned" />
[476]91                        </g:link>
92                    </td>
93                </tr>
94
[490]95                <tr class="prop">
96                    <td valign="top" class="name">
97                        <label>Links:</label>
98                    </td>
99                    <td valign="top" class="value">
100                        <g:link controller="taskDetailed"
101                                        action="workDone">
[503]102                                        <g:message code="task.search.text.work.done" />
[490]103                        </g:link> - <g:message code="task.search.text.work.done.description" />
104                        <br />
105                    </td>
106                </tr>
107
[476]108            </tbody>
109        </table>
110        <div class="buttons">
111            <span class="button">
[562]112                <g:actionSubmit class="cancel" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />
[476]113            </span>
114        </div>
115    </g:form>
116</div> <!-- end search pane -->
Note: See TracBrowser for help on using the repository browser.