Ignore:
Timestamp:
Jan 28, 2010, 5:34:50 PM (12 years ago)
Author:
duh
Message:
  • wizard subjects page now build a table with features, does not work properly yet
  • youtube autoplay help items are possible now
  • development grouping page for selecting subjects and grouping them by dragging and dropping
File:
1 edited

Legend:

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

    r140 r145  
    1616%>
    1717<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()" />
    1919<input name="addNumber" size="4" maxlength="4" value="1">
    2020subjects of species
    2121<wizard:speciesSelect name="addSpecies" />
    2222<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>
    2430<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="species_${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" />
    3036                </div>
    31                 <div class="row">${subject.name}</div>
     37                <wizard:templateColumns id="${i}" />
    3238        </div>
    3339</g:each>
Note: See TracChangeset for help on using the changeset viewer.