Changeset 1112 for trunk/grails-app/views/exporter
- Timestamp:
- Nov 10, 2010, 9:37:02 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/exporter/index.gsp
r1051 r1112 7 7 <g:set var="entityName" value="${message(code: 'study.label', default: 'Study')}" /> 8 8 <title>SimpleTox Exporter</title> 9 10 11 12 9 13 </head> 10 14 <body> 11 15 12 <g:form action="export">16 <g:formRemote url="[controller:'exporter',action:'export']" name="simpleToxForm" onComplete="file://" onFailure="alert('Error while exporting the file');" > 13 17 14 18 <div class="body"> 15 19 <h1>Export as SimpleTox</h1> 16 <br> Select the study you want to export in SimpleTox format.<br><br> 20 <br> Select the study you want to export in SimpleTox format.<br> 21 If you choose multiple studies, a ZIP file will be created. 22 <br><br> 17 23 <g:if test="${flash.message}"> 18 24 <div class="message">${flash.message}</div> … … 35 41 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 36 42 37 <td><input type="checkbox" name="${studyInstance.title}" id=" ${studyInstance.title}"></td>43 <td><input type="checkbox" name="${studyInstance.title}" id="checked_studies"></td> 38 44 39 <td><g:link action="show" id="${studyInstance.id}">${fieldValue(bean: studyInstance, field: "code")}</g:link></td>45 <td><g:link controller="study" action="show" id="${studyInstance.id}">${fieldValue(bean: studyInstance, field: "code")}</g:link></td> 40 46 <td> 41 47 ${fieldValue(bean: studyInstance, field: "title")} … … 71 77 </g:else> 72 78 </td> 73 74 79 </tr> 75 80 </g:each> … … 81 86 <div class="paginateButtons" id="button"> 82 87 </div> 83 84 < INPUT TYPE=submit name=submit Value="Export">88 89 <input type="submit" value="Export"/> 85 90 86 91 </div> 87 <div id="result"> </div>88 92 89 </g:form >93 </g:formRemote> 90 94 91 95 </body>
Note: See TracChangeset
for help on using the changeset viewer.