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

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

Add work done by person and date feature with view and search logic.

File size: 5.4 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                                        Today
17                        </g:link> - Approved tasks where I am the lead or have been assigned.
18                        <br />
19                        <g:link controller="taskDetailed"
20                                        action="${actionName}"
21                                        params="[quickSearch: 'myYesterdays']">
22                                        Yesterday
23                        </g:link>
24                        <br />
25                        <g:link controller="taskDetailed"
26                                        action="${actionName}"
27                                        params="[quickSearch: 'myTomorrows']">
28                                        Tomorrow
29                        </g:link>
30                        <br />
31                        <g:link controller="taskDetailed"
32                                        action="${actionName}"
33                                        params="[quickSearch: 'myPastWeek']">
34                                        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                                        Today
48                        </g:link> - All tasks that are not in the trash.
49                        <br />
50                        <g:link controller="taskDetailed"
51                                        action="${actionName}"
52                                        params="[quickSearch: 'yesterdays']">
53                                        Yesterday
54                        </g:link>
55                        <br />
56                        <g:link controller="taskDetailed"
57                                        action="${actionName}"
58                                        params="[quickSearch: 'tomorrows']">
59                                        Tomorrow
60                        </g:link>
61                        <br />
62                        <g:link controller="taskDetailed"
63                                        action="${actionName}"
64                                        params="[quickSearch: 'pastWeek']">
65                                        Past Week
66                        </g:link>
67                        <br />
68                        <g:link controller="taskDetailed"
69                                        action="${actionName}"
70                                        params="[quickSearch: 'plannersRange']">
71                                        Planners Range
72                        </g:link> - Tasks in the past week and two weeks ahead.
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                                        Planned Tasks
85                        </g:link> - Task with budget status of Planned, in the past week.
86                        <br />
87                        <g:link controller="taskDetailed"
88                                        action="${actionName}"
89                                        params="[quickSearch: 'budgetUnplanned']">
90                                        Unplanned Tasks
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                    </td>
106                </tr>
107
108            </tbody>
109        </table>
110        <div class="buttons">
111            <span class="button">
112                <input type="button" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />
113            </span>
114        </div>
115    </g:form>
116</div> <!-- end search pane -->
Note: See TracBrowser for help on using the repository browser.