Ignore:
Timestamp:
Jun 2, 2010, 4:31:17 PM (14 years ago)
Author:
gav
Message:

Install searchable plugin, configure and start inventory search.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/inventoryItemDetailed/search.gsp

    r554 r562  
    2222                                    removeImgDir="images"
    2323                                    removeImgFile="bullet_delete.png"
    24                                     title="Search"/>
     24                                    title="Advanced Search"/>
    2525
    2626            <div class="paginateButtons">
     
    3030                Results: ${inventoryItemInstanceList.size()} / ${inventoryItemInstanceTotal}
    3131                <span class="searchButtons">
    32                     <filterpane:filterButton text="Search" appliedText="Change Search" />
     32                    <filterpane:filterButton text="Advanced" appliedText="Advanced" />
    3333                </span>
    3434            </div>
     
    178178
    179179            <filterpane:filterPane domainBean="InventoryItem"
    180                                     title="Search"
     180                                    title="Advanced Search"
    181181                                    action="search"
    182182                                    class="overlayPane"
     
    197197        <div class="overlayPane" id="searchPane" style="display:none;">
    198198            <h2>Quick Search</h2>
     199
    199200            <g:form method="post" id="searchForm" name="searchForm" >
     201                <g:hiddenField name="newTextSearch" value="true" />
     202
    200203                <table>
    201204                    <tbody>
     
    252255                    </tbody>
    253256                </table>
     257
     258                <table>
     259                    <tbody>
     260
     261                        <tr class="prop">
     262                            <td valign="top" class="name">
     263                                <label for="searchText">Search:</label>
     264                            </td>
     265                            <td valign="top" class="value">
     266                                <input type="text" style="width:450px" maxlength="75" id="searchText" name="searchText" value="${filterParams.searchText}"/>
     267                            </td>
     268                        </tr>
     269
     270                        <tr class="prop">
     271                            <td valign="top" class="name">
     272                            </td>
     273                            <td valign="top" class="value">
     274<!--                                 <g:checkBox name="searchName" value="${true}" ></g:checkBox> -->
     275                                <label for="searchName">Name,</label>
     276<!--                                 <g:checkBox name="searchDescription" value="${true}" ></g:checkBox> -->
     277                                <label for="searchDescription">Description,</label>
     278<!--                                 <g:checkBox name="searchComment" value="${true}" ></g:checkBox> -->
     279                                <label for="searchComment">Comment,</label>
     280<!--                                 <g:checkBox name="searchLocation" value="${true}" ></g:checkBox> -->
     281                                <label for="searchLocation">Location and</label>
     282<!--                                 <g:checkBox name="searchSpareFor" value="${true}" ></g:checkBox> -->
     283                                <label for="searchSpareFor">Spare For.</label>
     284                            </td>
     285                        </tr>
     286
     287                    </tbody>
     288                </table>
     289
    254290                <div class="buttons">
    255291                    <span class="button">
    256                         <input type="button" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />
     292                        <g:actionSubmit class="save" value="Update" action="search" />
     293                        <g:actionSubmit class="cancel" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />
    257294                    </span>
    258295                </div>
Note: See TracChangeset for help on using the changeset viewer.