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: |
---|
12 | * $Rev: 959 $ |
---|
13 | * $Author: j.a.m.wesbeek@umail.leidenuniv.nl $ |
---|
14 | * $Date: 2010-10-20 19:13:14 +0000 (wo, 20 okt 2010) $ |
---|
15 | */ |
---|
16 | %> |
---|
17 | <wizard:pageContent> |
---|
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 and ${(study.samples) ? study.samples.size() : 0} samples. |
---|
33 | </p> |
---|
34 | </div> |
---|
35 | <h3><a href="#">Study</a></h3> |
---|
36 | <div> |
---|
37 | <p> |
---|
38 | <ul> |
---|
39 | <g:each var="field" in="${study.giveFields()}"> |
---|
40 | <li>${field.name} - ${study.getFieldValue(field.name)}</li> |
---|
41 | </g:each> |
---|
42 | </ul> |
---|
43 | </p> |
---|
44 | Not right? Click <wizard:ajaxButton name="toStudy" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the study page and make corrections. |
---|
45 | </div> |
---|
46 | <h3><a href="#">Subjects</a></h3> |
---|
47 | <div> |
---|
48 | <p> |
---|
49 | ${subjects} |
---|
50 | </p> |
---|
51 | Not right? Click <wizard:ajaxButton name="toSubjects" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the subjects page and make corrections. |
---|
52 | </div> |
---|
53 | <h3><a href="#">Events</a></h3> |
---|
54 | <div> |
---|
55 | <p> |
---|
56 | ${subjects} |
---|
57 | </p> |
---|
58 | <ul> |
---|
59 | <li>List item one</li> |
---|
60 | <li>List item two</li> |
---|
61 | <li>List item three</li> |
---|
62 | </ul> |
---|
63 | Not right? Click <wizard:ajaxButton name="toEvents" value="here" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> to go back to the events page and make corrections. |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | |
---|
67 | <g:if env="development"> |
---|
68 | <span class="info"> |
---|
69 | <span class="todo">TODO</span> |
---|
70 | <ul> |
---|
71 | <li>this page is not complete yet, finish it to summerize the study you are about to store in the database</li> |
---|
72 | </ul> |
---|
73 | </span> |
---|
74 | </g:if> |
---|
75 | |
---|
76 | </wizard:pageContent> |
---|