Changeset 642 for trunk/grails-app/views


Ignore:
Timestamp:
Jul 2, 2010, 10:16:19 AM (11 years ago)
Author:
vinlud
Message:

changes so far, not working yet

File:
1 edited

Legend:

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

    r594 r642  
    2525      </div>
    2626    </div>
    27     <g:submitButton name="search" value="Search" /> <g:if test="${search_term}"><g:submitButton name="reset" value="Clear" /></g:if>
     27
     28    <br>
     29
     30    <g:submitButton name="search" value="Search"  /> <g:if test="${search_term}"><g:submitButton name="reset" value="Clear" /></g:if>
    2831
    2932    <br><br>
     
    3336      <div class="element">
    3437        <div id="compoundGroup">
    35           <g:if test="${resultString}">
     38
     39          <g:if test="${showFirstRowCompounds}">
    3640          <div id="compoundRow1">
    37             <div class="description">Compound (e.g. 'glucose')</div>
     41            <div class="descriptionSA">Compound</div>
    3842            <div class="input"><g:textField name="sa_compound" value="${search_sa_compounds}"/></div>
    39             <div class="description">Value</div>
     43            <div class="descriptionSA">Operator</div>
     44            <div class="input" id="operatorInput"><g:select name="operator" from="${operators}" value="="/></div>
     45            <div class="descriptionSA">Value</div>
    4046            <div class="input"><g:textField name="sa_value" value="${search_sa_values}"/></div>
    4147          </div>
    4248          </g:if>
     49
    4350          <g:else>
    4451            <g:each status="i" in="${search_sa_compounds}" var="compound">
    4552            <div id="compoundRow${i}">
    46               <div class="description">Compound (e.g. 'glucose')</div>
     53              <div class="descriptionSA">Compound (e.g. 'glucose')</div>
    4754              <div class="input"><g:textField name="sa_compound" value="${compound}"/></div>
    48               <div class="description">Value</div>
     55              <div class="descriptionSA">Type of regulations</div>
     56              <div class="input"><g:select name="operator" from="${operators}" value="="/></div>
     57              <div class="descriptionSA">Value</div>
    4958              <div class="input"><g:textField name="sa_value" value="${search_sa_values[i]}"/></div>
    5059            </div>
     
    5261          </g:else>
    5362        </div>
    54         <div id="addCompound">Add compound</div>
     63        <div id="addCompound" class="submit">Add compound</div>
    5564      </div>
    5665
Note: See TracChangeset for help on using the changeset viewer.