Changeset 498 for trunk/grails-app/views


Ignore:
Timestamp:
May 31, 2010, 9:03:44 AM (12 years ago)
Author:
vinlud
Message:

Base form controls and UI

File:
1 edited

Legend:

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

    r496 r498  
    66  To change this template use File | Settings | File Templates.
    77--%>
    8 <div id="simpleQuery" class="simpleQuery">
     8<div id="simpleQuery" class="simplequery">
    99        <h1>Simple Query</h1>
    10         <g:form action="pages" name="simpleQueryForm" id="simpleQueryForm">
    11         <g:hiddenField name="do" value="" />
    12         </g:form>
     10
     11   
     12
     13    <g:form action="pages" name="simpleQueryForm" id="simpleQueryForm">
     14    <div class="content">
     15      <div class="element">
     16        <div class="description">Search term (e.g. 'paracetamol')</div>
     17        <div class="input"><g:textField name="term" value="" /></div>
     18      </div>
     19      <div class="element">
     20        <div class="description">Species (e.g. 'rattus norvegicus')</div>
     21        <div class="input"><g:select name="species" from="" value="${species}" noSelection="['':'--- select a species ---']"/></div>
     22      </div>
     23      <div class="element">
     24        <div class="description">Organ (e.g. 'liver')</div>
     25        <div class="input"><g:select name="organ" from="" value="${organ}" noSelection="['':'--- select organ/tissue ---']"/></div>
     26      </div>
     27    </div>
     28    <g:submitButton name="search" value="Search" />
     29
     30    <br><br>
     31 
     32
     33    <div id="accordion">
     34      <h3><a href="#">Clinical Data</a></h3>
     35      <div class="element">
     36        <div class="description">Compound (e.g. 'glucose')</div>
     37        <div class="input"><g:textField name="compound" value="" /></div>
     38        <div class="description">Value</div>
     39        <div class="input"><g:textField name="compound_value" value="" /></div>
     40        <g:submitButton name="add_compound" value="Add compound" />
     41      </div>
     42
     43      <h3><a href="#">Transcriptomics</a></h3>
     44      <div class="element">
     45        <div class="description">List of Gene IDs or pathway IDs</div>
     46        <div class="input"><g:textField name="genepath" value="" /></div>
     47        <div class="description">Type of regulations</div>
     48        <div class="input"><g:select name="regulation" from="" value="${regulation}" noSelection="['':'--- select regulation ---']"/></div>
     49        <g:submitButton name="add_transciptome" value="Add transciptome" />
     50      </div>
     51     
     52      <h3><a href="#">Metabolomics</a></h3>
     53      <div>boe boe boe</div>
     54    </div>
     55
     56    </g:form>
     57
    1358</div>
Note: See TracChangeset for help on using the changeset viewer.