[1286] | 1 | <% |
---|
| 2 | /** |
---|
| 3 | * Confirmation page |
---|
| 4 | * |
---|
| 5 | * @author Jeroen Wesbeek |
---|
| 6 | * @since 20100225 |
---|
| 7 | * @package wizard |
---|
| 8 | * @see dbnp.studycapturing.WizardTagLib::previousNext |
---|
| 9 | * @see dbnp.studycapturing.WizardController |
---|
| 10 | * |
---|
| 11 | * Revision information: |
---|
[1430] | 12 | * $Rev: 1430 $ |
---|
| 13 | * $Author: work@osx.eu $ |
---|
| 14 | * $Date: 2011-01-21 20:05:36 +0000 (vr, 21 jan 2011) $ |
---|
[1286] | 15 | */ |
---|
| 16 | %> |
---|
| 17 | <af:page> |
---|
| 18 | <span class="info"> |
---|
| 19 | <span class="title">You are almost there...</span> |
---|
| 20 | You are almost done creating your study. Below you will find a summary of the study you have just defined. |
---|
| 21 | If everything |
---|
| 22 | is well, click 'next' to permanently save the study you have created, or click 'previous' if you need to modify parts |
---|
| 23 | of your study. |
---|
| 24 | </span> |
---|
| 25 | |
---|
| 26 | <div id="accordion"> |
---|
| 27 | <h3><a href="#">General overview</a></h3> |
---|
| 28 | <div> |
---|
| 29 | <p> |
---|
| 30 | You are about to create a study containing ${(study.subjects) ? study.subjects.size() : 0} subjects, |
---|
| 31 | ${(study.events) ? study.events.size() : 0} events and ${(study.samplingEvents) ? study.samplingEvents.size(): 0} sampling events grouped into |
---|
| 32 | ${(study.eventGroups) ? study.eventGroups.size() : 0} event groups. The study is results in |
---|
| 33 | ${(study.samples) ? study.samples.size() : 0} samples analyzed using ${(study.assays) ? study.assays.size() : 0} assays. |
---|
| 34 | </p> |
---|
| 35 | </div> |
---|
| 36 | <h3><a href="#">Study</a></h3> |
---|
| 37 | <div> |
---|
| 38 | <p> |
---|
| 39 | <ul> |
---|
| 40 | <g:each var="field" in="${study.giveFields()}"> |
---|
| 41 | <g:if test="${study.getFieldValue(field.name)}"><li>${field.name} - ${study.getFieldValue(field.name)}</li></g:if> |
---|
| 42 | </g:each> |
---|
| 43 | </ul> |
---|
| 44 | </p> |
---|
| 45 | Not right? Click <wizard:ajaxButton name="toStudy" value="here" afterSuccess="onPage()" class="prevnext" /> to go back to the study page and make corrections. |
---|
| 46 | </div> |
---|
| 47 | <h3><a href="#">Subjects</a></h3> |
---|
| 48 | <div> |
---|
| 49 | <g:each var="subject" in="${study.subjects}"> |
---|
| 50 | <p><b>${subject}</b></p> |
---|
| 51 | <ul> |
---|
| 52 | <g:each var="field" in="${subject?.giveFields()}"> |
---|
| 53 | <g:if test="${subject.getFieldValue(field.name)}"><li>${field.name} - ${subject.getFieldValue(field.name)}</li></g:if> |
---|
| 54 | </g:each> |
---|
| 55 | </ul> |
---|
| 56 | </g:each> |
---|
| 57 | |
---|
| 58 | Not right? Click <wizard:ajaxButton name="toSubjects" value="here" afterSuccess="onPage()" class="prevnext" /> to go back to the subjects page and make corrections. |
---|
| 59 | </div> |
---|
| 60 | <h3><a href="#">Events</a></h3> |
---|
| 61 | <div> |
---|
| 62 | <g:each var="template" in="${study.giveAllEventTemplates()}"> |
---|
| 63 | <p><b>${template}</b></p> |
---|
| 64 | <ul> |
---|
| 65 | <g:each var="event" in="${study.giveEventsForTemplate(template)}"> |
---|
| 66 | <li> |
---|
| 67 | <i><g:if test="${(event.getClass() == 'SamplingEvent')}">Sampling </g:if>Event</i> |
---|
| 68 | <ul> |
---|
| 69 | <g:each var="field" in="${event?.giveFields()}"> |
---|
| 70 | <li>${field} - ${event.getFieldValue(field.name)}</li> |
---|
| 71 | </g:each> |
---|
| 72 | </ul> |
---|
| 73 | </li> |
---|
| 74 | </g:each> |
---|
| 75 | </ul> |
---|
| 76 | </g:each> |
---|
| 77 | |
---|
| 78 | Not right? Click <wizard:ajaxButton name="toEvents" value="here" afterSuccess="onPage()" class="prevnext" /> to go back to the events page and make corrections. |
---|
| 79 | </div> |
---|
| 80 | <h3><a href="#">Samples</a></h3> |
---|
| 81 | <div> |
---|
| 82 | <g:each var="sample" in="${study.samples}"> |
---|
| 83 | <p><b>${sample}</b></p> |
---|
| 84 | <ul> |
---|
| 85 | <g:each var="field" in="${sample?.giveFields()}"> |
---|
| 86 | <g:if test="${sample.getFieldValue(field.name)}"><li>${field.name} - ${sample.getFieldValue(field.name)}</li></g:if> |
---|
| 87 | </g:each> |
---|
| 88 | </ul> |
---|
| 89 | </g:each> |
---|
| 90 | |
---|
| 91 | Not right? Click <wizard:ajaxButton name="toSamples" value="here" afterSuccess="onPage()" class="prevnext" /> to go back to the subjects page and make corrections. |
---|
| 92 | </div> |
---|
| 93 | <h3><a href="#">Assays</a></h3> |
---|
| 94 | <div> |
---|
| 95 | <g:each var="assay" in="${study.assays}"> |
---|
| 96 | <p><b>${assay}</b></p> |
---|
| 97 | <ul> |
---|
| 98 | <g:each var="field" in="${assay?.giveFields()}"> |
---|
| 99 | <g:if test="${assay.getFieldValue(field.name)}"><li>${field.name} - ${assay.getFieldValue(field.name)}</li></g:if> |
---|
| 100 | </g:each> |
---|
| 101 | </ul> |
---|
| 102 | </g:each> |
---|
| 103 | |
---|
| 104 | Not right? Click <wizard:ajaxButton name="toAssays" value="here" afterSuccess="onPage()" class="prevnext" /> to go back to the subjects page and make corrections. |
---|
| 105 | </div> |
---|
| 106 | </div> |
---|
| 107 | |
---|
| 108 | </af:page> |
---|