Changeset 836 for trunk/grails-app/views


Ignore:
Timestamp:
Aug 25, 2010, 9:44:58 AM (11 years ago)
Author:
keesvb
Message:

added some example assay templates, started with implementation of assay and assay group steps in wizard

Location:
trunk/grails-app/views/wizard/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/pages/_assay_groups.gsp

    r823 r836  
    1616%>
    1717<wizard:pageContent>
    18 assay groups
     18        <span class="info">
     19                <span class="title">Assign samples to assays</span>
     20                In the previous page you defined assays. In this page, you can define which assays are performed on which samples.
     21                The samples are grouped according to the EventGroups of their defining SamplingEvents.
     22        </span>
     23
     24        <%
     25            // TODO: render a table of assays (in the columns) versus samples (in the rows)
     26                // with the samples grouped according to the EventGroups of the parent SamplingEvents
     27                // and with all boxes checked by default
     28        %>
     29
    1930</wizard:pageContent>
  • trunk/grails-app/views/wizard/pages/_assays.gsp

    r825 r836  
    1818        <span class="info">
    1919                <span class="title">Add assays to your study</span>
    20                 WE NEED SOME CONTENT OVER HERE, who's the brilliant copy writer? :)
     20                In this step you can define the various assays that were performed within this study.
     21                The actual (omics) data for these assays should reside in one of the assay modules that is coupled to this database (see Assay Modules).
    2122        </span>
    2223
     24        <wizard:textFieldElement name="addNumber" description="Number of assays to add" error="addNumber" value="${values?.addNumber}" size="4" maxlength="4">
     25                The number of subjects to add to your study
     26        </wizard:textFieldElement>
    2327        <wizard:templateElement name="template" description="Template" value="${assay?.template}" entity="${dbnp.studycapturing.Assay}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
    2428                Choose the type of assay you would like to add
    2529        </wizard:templateElement>
     30        <%
     31            // TODO: switch single flow.assay to multiple flow.assays and finish this page
     32        %>
    2633        <g:if test="${assay}">
    2734        <wizard:templateElements entity="${assay}" />
    2835        </g:if>
     36        <wizard:ajaxButtonElement name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()">
     37        </wizard:ajaxButtonElement>
    2938
     39       
    3040</wizard:pageContent>
Note: See TracChangeset for help on using the changeset viewer.