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

Last change on this file since 39 was 39, checked in by duh, 8 years ago
  • removed obsolete controllers and logic
  • update temporary debug message for index page
File size: 1.7 KB
Line 
1<html>
2    <head>
3      <title>Generic Study Capture Framework</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                $("#accordion").accordion();
11                $("#tabs").tabs();
12        });
13      </script>
14    </head>
15    <body>
16
17    <div id="tabs">
18      <ul>
19        <li><a href="#tab-query">Query database</a></li>
20        <li><a href="#tab-add">My studies</a></li>
21      </ul>
22      <div id="tab-query">
23        <g:form url="[action:'list',controller:'study']">
24          <input type="hidden" name="targetUri" value="${targetUri}" />
25          <label class="grey" for="querytext">Search for:</label>
26          <input class="field" type="text" name="querytext" id="querytext" size="40" />
27          <input type="submit" name="submit" value="Query"/>
28        </g:form>
29        <p><a href="<g:createLink url="[action:'create',controller:'query']"/>">Create advanced query</a></p>
30        <p>
31        <n:isNotLoggedIn>
32        <small>To query private studies, please login above.</small>
33        </n:isNotLoggedIn>
34        </p>
35      </div>
36      <div id="tab-add">
37        <n:isNotLoggedIn>
38        To add or change study data, please login above.
39        </n:isNotLoggedIn>
40      </div>
41    </div>
42
43    <span style="border: 1px solid red;">
44      use these credentials to log in: Administrator ( admin / admiN123! ), User ( user / useR123! )
45    </span>
46  </body>
47</html>
Note: See TracBrowser for help on using the repository browser.