Changeset 145 for trunk/grails-app/views
- Timestamp:
- Jan 28, 2010, 5:34:50 PM (12 years ago)
- Location:
- trunk/grails-app/views/wizard
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/wizard/common/_navigation.gsp
r101 r145 15 15 %> 16 16 <div class="navigation"> 17 <g:if test="${page>1}"><wizard:ajaxButton name="previous" value="« prev" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess=" attachHelpTooltips()" class="prevnext" /></g:if>17 <g:if test="${page>1}"><wizard:ajaxButton name="previous" value="« prev" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if> 18 18 <g:if test="${page>1 && page<pages.size}"> | </g:if> 19 <g:if test="${page<pages.size}"><wizard:ajaxButton name="next" value="next »" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess=" attachHelpTooltips()" class="prevnext" /></g:if>19 <g:if test="${page<pages.size}"><wizard:ajaxButton name="next" value="next »" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if> 20 20 </div> -
trunk/grails-app/views/wizard/common/_wizard.gsp
r107 r145 19 19 <g:form action="pages" name="wizardForm" id="wizardForm"> 20 20 <div id="wizardPage"> 21 <wizard:ajaxFlowRedirect form="form#wizardForm" name="next" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess=" attachHelpTooltips()" />21 <wizard:ajaxFlowRedirect form="form#wizardForm" name="next" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" /> 22 22 </div> 23 23 </g:form> -
trunk/grails-app/views/wizard/index.gsp
r98 r145 19 19 <meta name="layout" content="main"/> 20 20 <link rel="stylesheet" href="${resource(dir: 'css', file: 'wizard.css')}"/> 21 <script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script> 21 22 <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js')}"></script> 23 <script type="text/javascript" src="${resource(dir: 'js', file: 'swfobject.js')}"></script> 22 24 <script type="text/javascript" src="${resource(dir: 'js', file: 'wizard.js')}"></script> 23 25 </head> -
trunk/grails-app/views/wizard/pages/_study.gsp
r140 r145 16 16 %> 17 17 <wizard:pageContent> 18 <wizard:templateSelect />19 18 <wizard:textFieldElement name="title" description="Title" error="title" value="${study?.title}"> 20 19 The title of the study you are creating … … 31 30 The start date of the study 32 31 </wizard:dateElement> 32 <wizard:templateElement name="template" description="Template" value="${study?.template}"> 33 The meta data template to use for this study 34 </wizard:templateElement> 33 35 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_subjects.gsp
r140 r145 16 16 %> 17 17 <wizard:pageContent> 18 <wizard:ajaxButton name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess=" attachHelpTooltips()" />18 <wizard:ajaxButton name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" /> 19 19 <input name="addNumber" size="4" maxlength="4" value="1"> 20 20 subjects of species 21 21 <wizard:speciesSelect name="addSpecies" /> 22 22 <g:if test="${subjects}"> 23 <div class="subjects"> 23 <div class="table"> 24 <div class="header"> 25 <div class="firstColumn">#</div> 26 <div class="column">name</div> 27 <div class="column">species</div> 28 <wizard:templateColumnHeaders/> 29 </div> 24 30 <g:each var="subject" status="i" in="${subjects}"> 25 <div class=" subject<g:if test="${i>0}"> topborder</g:if>">26 <div class=" row">${i+1}</div>27 <div class=" row"><g:textField name="test" value="test" size="12" maxlength="12" /></div>28 <div class=" row">29 <wizard:speciesSelect value="${subject.species}" name="s pecies_${i}" />31 <div class="row"> 32 <div class="firstColumn">${i}</div> 33 <div class="column"><g:textField name="subject_${i}_name" value="${subject.name}" size="12" maxlength="12" /></div> 34 <div class="column"> 35 <wizard:speciesSelect value="${subject.species}" name="subject_${i}_species" /> 30 36 </div> 31 < div class="row">${subject.name}</div>37 <wizard:templateColumns id="${i}" /> 32 38 </div> 33 39 </g:each> -
trunk/grails-app/views/wizard/pages/_three.gsp
r138 r145 31 31 </wizard:textFieldElement> 32 32 <wizard:dateElement name="startDate" description="Date element" error="startDate" value="${study?.startDate}"> 33 <object width="320" height="265"><param name="movie" value="http://www.youtube.com/v/2WNrx2jq184&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/2WNrx2jq184&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object>33 [youtube:2WNrx2jq184] 34 34 </wizard:dateElement> 35 35 </wizard:pageContent>
Note: See TracChangeset
for help on using the changeset viewer.