Changeset 526 for trunk/grails-app/views


Ignore:
Timestamp:
Jun 4, 2010, 11:42:05 AM (12 years ago)
Author:
duh
Message:
  • beta version of loading and editing a study using the wizard
Location:
trunk/grails-app/views
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/common/_topnav.gsp

    r482 r526  
    99      <ul class="subnav">
    1010        <li><g:link controller="study" action="list">View studies</g:link></li>
    11         <li><g:link controller="wizard" action="index">Create study</g:link></li>
     11                  <li><g:link controller="wizard" action="index">Create study</g:link></li>
     12                  <li><g:link controller="wizard" action="index">Edit study</g:link></li>
    1213      </ul>
    1314     </li>
  • trunk/grails-app/views/wizard/pages/_events.gsp

    r510 r526  
    6767        <g:each var="eventTemplate" in="${eventTemplates}">
    6868                <g:set var="showHeader" value="${true}" />
    69                 <h1>${eventTemplate.getValue().name}</h1>
     69                <h1>${eventTemplate.value.name}</h1>
    7070        <div class="table">
    71                 <g:each var="eventId" in="${eventTemplate.getValue().events}">
     71                <g:each var="eventId" in="${eventTemplate.value.events}">
    7272                        <g:if test="${showHeader}">
    7373                        <g:set var="showHeader" value="${false}" />
  • trunk/grails-app/views/wizard/pages/_modify.gsp

    r359 r526  
    1717<wizard:pageContent>
    1818
     19        <span class="info">
     20                <span class="title">Edit a study</span>
     21                Select the study you would like to modify.
     22                <b><i>Note: this functionality is currently in beta and has not been verified properly... use with care!</i></b>
     23        </span>
     24
    1925        <wizard:studyElement name="study" description="Study" error="study" value="">
    20                 The study you would like to load and modify
     26                The study you would like to load and edit
    2127        </wizard:studyElement>
    2228
    23         <span class="info">
    24                 <span class="todo">TODO</span>
    25                 <ul>
    26                         <li>this feature has not yet been implemented</li>
    27                 </ul>
    28         </span>
    29 
    30         <!-- g:render template="pages/demo" //-->
    31 
    3229</wizard:pageContent>
  • trunk/grails-app/views/wizard/pages/_start.gsp

    r455 r526  
    2121        <wizard:ajaxButton name="next" class="bigbutton" value="Create a new study" alt="Create a new study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
    2222
    23         <wizard:ajaxButton name="modify" class="bigbutton" value="Modify an existing study" alt="Modify an existing study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
     23        <wizard:ajaxButton name="modify" class="bigbutton" value="Edit an existing study" alt="Edit an existing study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" />
    2424
    2525        <span class="info">
     
    3636                You can do this by choosing Studies > Import data in the menu.
    3737                This part of the applications will help you to upload large studies. This import function can be used for all study components (study, subject and event information) at once.
    38             <span class="title">Modify an existing study</span>
     38            <span class="title">Edit an existing study</span>
    3939                Only study owners can modify a their own studies. This part of the application can be used to extend the study information, for instance with new measurements.
    4040        </span>
  • trunk/grails-app/views/wizard/pages/_study.gsp

    r518 r526  
    2020                In this step of the step-by-step study capturing tool all the basic information of a study can be filled out.
    2121                Keep in mind that the more and the more specific the information that is filled out, the more valuable the system will be.
    22                 Only the fields with an asterisks are obligatory.
    23                 Pick the study template of choice (currently a fixed set) and define your study values. In this prototype the
    24                 templated fields (below the 'note' box) are not yet handled so you can leave them empty for now.
     22                Only the fields with an asterisks are obligatory. Pick the study template of choice (currently a fixed set) and define your study values.
    2523        </span>
    2624       
  • trunk/grails-app/views/wizard/pages/_subjects.gsp

    r469 r526  
    7171</g:if>
    7272
    73         <g:if env="development">
    74         <span class="info">
    75                 <span class="known">Known issues</span>
    76                 <ul>
    77                         <li>autocomplete fields (like ontologies) deselect the selected rows and hence don't replicate</li>
    78                         <li>ontology fields should replicate value <i>and</i> hidden fields</li>
    79                         <li>ontology hidden fields should be processed by the back-end as well (not yet implemented)</li>
    80                         <li>ontology fields now show suggestions for <i>all</i> available ontologies. This has to be narrowed down in the future.</li>
    81                         <li>ontology hidden fields should be handled by the taglibrary / controller as well</li>
    82                 </ul>
    83         </span>
    84         </g:if>
    85 
    8673</wizard:pageContent>
Note: See TracChangeset for help on using the changeset viewer.