source: trunk/grails-app/views/query/index.gsp @ 54

Last change on this file since 54 was 54, checked in by keesvb, 11 years ago

Added fix for postgres problems, refactored JQuery code in tag library

File size: 1.2 KB
Line 
1<html>
2    <head>
3      <title>Generic Study Capture Framework - Query studies</title>
4      <meta name="layout" content="main" />
5      <my:jqueryui/>
6      <script type="text/javascript">
7        $(function() {
8                $("#tabs").tabs();
9        });
10      </script>
11    </head>
12    <body>
13
14    <div id="tabs">
15      <ul>
16        <li><a href="#tab-simple">Simple query</a></li>
17        <li><a href="#tab-advanced">Advanced query</a></li>
18      </ul>
19      <div id="tab-simple">
20        <g:form url="[action:'list',controller:'study']">
21          <input type="hidden" name="targetUri" value="${targetUri}" />
22          <label class="grey" for="querytext">Search for:</label>
23          <input class="field" type="text" name="querytext" id="querytext" size="40" />
24          <input type="submit" name="submit" value="Query"/>
25        </g:form>
26        <p>
27        <n:isNotLoggedIn>
28        <small>To query private studies, please login above.</small>
29        </n:isNotLoggedIn>
30        </p>
31      </div>
32      <div id="tab-advanced">
33        TODO: add advanced query here.
34        <n:isNotLoggedIn>
35          <p><small>To query private studies, please login above.</small></p>
36        </n:isNotLoggedIn>
37      </div>
38    </div>
39  </body>
40</html>
Note: See TracBrowser for help on using the repository browser.