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

Last change on this file since 701 was 701, checked in by gav, 13 years ago

New workLoad search view and logic to suite.

File size: 6.2 KB
Line 
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']">
16                                        <g:message code="task.search.text.my.todays" />
17                        </g:link> - <g:message code="task.search.text.my.todays.description" />
18                        <br />
19                        <g:link controller="taskDetailed"
20                                        action="${actionName}"
21                                        params="[quickSearch: 'myYesterdays']">
22                                        <g:message code="task.search.text.my.yesterdays" />
23                        </g:link>
24                        <br />
25                        <g:link controller="taskDetailed"
26                                        action="${actionName}"
27                                        params="[quickSearch: 'myTomorrows']">
28                                        <g:message code="task.search.text.my.tomorrows" />
29                        </g:link>
30                        <br />
31                        <g:link controller="taskDetailed"
32                                        action="${actionName}"
33                                        params="[quickSearch: 'myPastWeek']">
34                                        <g:message code="task.search.text.my.past.week" />
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']">
47                                        <g:message code="task.search.text.todays" />
48                        </g:link> - <g:message code="task.search.text.todays.description" />
49                        <br />
50                        <g:link controller="taskDetailed"
51                                        action="${actionName}"
52                                        params="[quickSearch: 'yesterdays']">
53                                        <g:message code="task.search.text.yesterdays" />
54                        </g:link>
55                        <br />
56                        <g:link controller="taskDetailed"
57                                        action="${actionName}"
58                                        params="[quickSearch: 'tomorrows']">
59                                        <g:message code="task.search.text.tomorrows" />
60                        </g:link>
61                        <br />
62                        <g:link controller="taskDetailed"
63                                        action="${actionName}"
64                                        params="[quickSearch: 'pastWeek']">
65                                        <g:message code="task.search.text.past.week" />
66                        </g:link>
67                        <br />
68                        <g:link controller="taskDetailed"
69                                        action="${actionName}"
70                                        params="[quickSearch: 'plannersRange']">
71                                        <g:message code="task.search.text.planners.range" />
72                        </g:link> - <g:message code="task.search.text.planners.range.description" />
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']">
84                                        <g:message code="task.search.text.budget.planned" />
85                        </g:link> - <g:message code="task.search.text.budget.planned.description" />
86                        <br />
87                        <g:link controller="taskDetailed"
88                                        action="${actionName}"
89                                        params="[quickSearch: 'budgetUnplanned']">
90                                        <g:message code="task.search.text.budget.unplanned" />
91                        </g:link>
92                    </td>
93                </tr>
94
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">
102                                        <g:message code="task.search.text.work.done" />
103                        </g:link> - <g:message code="task.search.text.work.done.description" />
104                        <br />
105                        <g:link controller="taskDetailed"
106                                        action="workLoad">
107                                        <g:message code="task.search.text.work.load" />
108                        </g:link> - <g:message code="task.search.text.work.load.description" />
109                    </td>
110                </tr>
111
112            </tbody>
113        </table>
114        <div class="buttons">
115            <span class="button">
116                <g:actionSubmit class="cancel" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />
117            </span>
118        </div>
119    </g:form>
120</div> <!-- end search pane -->
Note: See TracBrowser for help on using the repository browser.