source: trunk/grails-app/views/simpleQuery/common/_query.gsp @ 547

Last change on this file since 547 was 547, checked in by vinlud, 11 years ago

Base simpleQuery

  • Property svn:keywords set to Date Author Rev
File size: 2.6 KB
Line 
1<%--
2  Created by IntelliJ IDEA.
3  User: luddenv
4  Date: 26-mei-2010
5  Time: 13:17:50
6  To change this template use File | Settings | File Templates.
7--%>
8<div id="simpleQuery" class="simplequery">
9        <h1>Simple Query</h1>
10
11    <g:form action="pages" name="simpleQueryForm" id="simpleQueryForm">
12    <div class="content">
13      <div class="element">
14        <div class="description">Search term (e.g. 'paracetamol')</div>
15        <div class="input"><g:textField name="term" value="" /></div>
16      </div>
17      <div class="element">
18        <div class="description">Species (e.g. 'rattus norvegicus')</div>
19        <div class="input"><g:select name="species" from="" value="${species}" noSelection="['':'--- select a species ---']"/></div>
20      </div>
21      <div class="element">
22        <div class="description">Organ (e.g. 'liver')</div>
23        <div class="input"><g:select name="organ" from="" value="${organ}" noSelection="['':'--- select organ/tissue ---']"/></div>
24      </div>
25    </div>
26    <g:submitButton name="search" value="Search" />
27    </g:form>
28
29    <br><br>
30 
31
32    <div id="accordion">
33      <h3><a href="#">Clinical Data</a></h3>
34      <div class="element">
35        <g:form action="pages" name="addCompound" id="addCompound">
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 id="addCompound" name="addCompound" value="Add compound" />
41        </g:form>
42      </div>
43
44      <h3><a href="#">Transcriptomics</a></h3>
45
46      <div class="element">
47        <g:form action="pages" name="addTransciptome" id="addTransciptome">
48        <div class="description">List of Gene IDs or pathway IDs</div>
49        <div class="input"><g:textField name="genepath" value="" /></div>
50        <div class="description">Type of regulations</div>
51        <div class="input"><g:select name="regulation" from="" value="${regulation}" noSelection="['':'--- select regulation ---']"/></div>
52        <g:submitButton id="addTransciptome" name="addTransciptome" value="Add transciptome" />
53        </g:form>
54      </div>
55    </div>
56
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>
71
72</div>
Note: See TracBrowser for help on using the repository browser.