Ignore:
Timestamp:
Mar 16, 2010, 11:33:22 AM (14 years ago)
Author:
gav
Message:

Add Person import feature.
Commit has a small amount of cross over code to the commits will follow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/person/list.gsp

    r399 r440  
    2929            Results:${personTotal}
    3030        </div>
     31
     32        <jsUtil:toggleControl toggleId="options"
     33                                                imageId="optionsImg"
     34                                                closedImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_right.png')}"
     35                                                openImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_down.png')}"
     36                                                text="${g.message(code: 'default.options.text')}"
     37                                                />
     38
     39        <div id="options" style="display:none;">
     40            <g:form method="post" >
     41                <g:hiddenField name="params" value="${filterParams}" />
     42                <div class="dialog">
     43                    <table>
     44                        <tbody>
     45
     46                            <tr class="prop">
     47                                <td valign="top" class="name">
     48                                    <label for="max">Persons:</label>
     49                                </td>
     50                                <td valign="top" class="value">
     51                                    <g:link action="exportPersonsTemplate">
     52                                        Template
     53                                    </g:link>
     54                                    /
     55                                    <g:link action="importPersons">
     56                                        Import
     57                                    </g:link>
     58                                </td>
     59                            </tr>
     60
     61                        </tbody>
     62                    </table>
     63                </div>
     64            </g:form>
     65        </div>
     66
     67        <br />
    3168
    3269        <div class="list">
Note: See TracChangeset for help on using the changeset viewer.