Changeset 547 for trunk/grails-app/views


Ignore:
Timestamp:
Jun 9, 2010, 1:11:31 PM (12 years ago)
Author:
vinlud
Message:

Base simpleQuery

File:
1 edited

Legend:

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

    r498 r547  
    88<div id="simpleQuery" class="simplequery">
    99        <h1>Simple Query</h1>
    10 
    11    
    1210
    1311    <g:form action="pages" name="simpleQueryForm" id="simpleQueryForm">
     
    2725    </div>
    2826    <g:submitButton name="search" value="Search" />
     27    </g:form>
    2928
    3029    <br><br>
     
    3433      <h3><a href="#">Clinical Data</a></h3>
    3534      <div class="element">
     35        <g:form action="pages" name="addCompound" id="addCompound">
    3636        <div class="description">Compound (e.g. 'glucose')</div>
    3737        <div class="input"><g:textField name="compound" value="" /></div>
    3838        <div class="description">Value</div>
    3939        <div class="input"><g:textField name="compound_value" value="" /></div>
    40         <g:submitButton name="add_compound" value="Add compound" />
     40        <g:submitButton id="addCompound" name="addCompound" value="Add compound" />
     41        </g:form>
    4142      </div>
    4243
    4344      <h3><a href="#">Transcriptomics</a></h3>
     45
    4446      <div class="element">
     47        <g:form action="pages" name="addTransciptome" id="addTransciptome">
    4548        <div class="description">List of Gene IDs or pathway IDs</div>
    4649        <div class="input"><g:textField name="genepath" value="" /></div>
    4750        <div class="description">Type of regulations</div>
    4851        <div class="input"><g:select name="regulation" from="" value="${regulation}" noSelection="['':'--- select regulation ---']"/></div>
    49         <g:submitButton name="add_transciptome" value="Add transciptome" />
     52        <g:submitButton id="addTransciptome" name="addTransciptome" value="Add transciptome" />
     53        </g:form>
    5054      </div>
    51      
    52       <h3><a href="#">Metabolomics</a></h3>
    53       <div>boe boe boe</div>
    5455    </div>
    5556
    56     </g:form>
     57    <br><br>
     58
     59    <g:if test="${term}">
     60        <div class="table">
     61          Search results for term ${term}
     62
     63        <g:each var="tmpStudy" in="${studies}">
     64            <g:set var="study" value="${tmpStudy.getValue()}" />
     65            <div class="row">
     66              study x
     67            </div>
     68        </g:each>
     69        </div>
     70    </g:if>
    5771
    5872</div>
Note: See TracChangeset for help on using the changeset viewer.