<!-- Start Search Pane -->
<div class="overlayPane" id="searchPane" style="display:none;">
    <h2>Quick Search</h2>
    <g:form method="post" id="searchForm" name="searchForm" >
        <table>
            <tbody>

                <tr class="prop">
                    <td valign="top" class="name">
                        <label>My Tasks:</label>
                    </td>
                    <td valign="top" class="value">
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'myTodays']">
                                        <g:message code="task.search.text.my.todays" />
                        </g:link> - <g:message code="task.search.text.my.todays.description" />
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'myYesterdays']">
                                        <g:message code="task.search.text.my.yesterdays" />
                        </g:link>
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'myTomorrows']">
                                        <g:message code="task.search.text.my.tomorrows" />
                        </g:link>
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'myPastWeek']">
                                        <g:message code="task.search.text.my.past.week" />
                        </g:link>
                    </td>
                </tr>

                <tr class="prop">
                    <td valign="top" class="name">
                        <label>All Tasks:</label>
                    </td>
                    <td valign="top" class="value">
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'todays']">
                                        <g:message code="task.search.text.todays" />
                        </g:link> - <g:message code="task.search.text.todays.description" />
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'yesterdays']">
                                        <g:message code="task.search.text.yesterdays" />
                        </g:link>
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'tomorrows']">
                                        <g:message code="task.search.text.tomorrows" />
                        </g:link>
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'pastWeek']">
                                        <g:message code="task.search.text.past.week" />
                        </g:link>
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'plannersRange']">
                                        <g:message code="task.search.text.planners.range" />
                        </g:link> - <g:message code="task.search.text.planners.range.description" />
                    </td>
                </tr>

                <tr class="prop">
                    <td valign="top" class="name">
                        <label>Budget:</label>
                    </td>
                    <td valign="top" class="value">
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'budgetPlanned']">
                                        <g:message code="task.search.text.budget.planned" />
                        </g:link> - <g:message code="task.search.text.budget.planned.description" />
                        <br />
                        <g:link controller="taskDetailed"
                                        action="${actionName}"
                                        params="[quickSearch: 'budgetUnplanned']">
                                        <g:message code="task.search.text.budget.unplanned" />
                        </g:link>
                    </td>
                </tr>

                <tr class="prop">
                    <td valign="top" class="name">
                        <label>Links:</label>
                    </td>
                    <td valign="top" class="value">
                        <g:link controller="taskDetailed"
                                        action="workDone">
                                        <g:message code="task.search.text.work.done" />
                        </g:link> - <g:message code="task.search.text.work.done.description" />
                        <br />
                    </td>
                </tr>

            </tbody>
        </table>
        <div class="buttons">
            <span class="button">
                <input type="button" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />
            </span>
        </div>
    </g:form>
</div> <!-- end search pane -->