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

Last change on this file since 41 was 41, checked in by keesvb, 13 years ago

changed index and moved it to Home controller/view structure, put query and my studies in the top menu

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