source: trunk/grails-app/views/common/_topnav.gsp @ 1000

Last change on this file since 1000 was 1000, checked in by adem.bilican@…, 10 years ago

first version for a SimpleTox? Exporter : go to Studies > Export as SimpleTox?

  • Property svn:keywords set to Author Date Rev
File size: 2.1 KB
Line 
1
2    <!-- TOPNAV //-->
3    <ul class="topnav">
4     <li><g:link controller="home" action="index">Home</g:link></li>
5<sec:ifLoggedIn>
6     <li><g:link controller="study" action="myStudies">My studies</g:link></li>
7</sec:ifLoggedIn>
8        <li>
9      <a href="#">Studies</a>
10      <ul class="subnav">
11        <li><g:link controller="study" action="list">View studies</g:link></li>
12                <li><g:link controller="wizard" action="index">Create/edit study</g:link></li>
13                <li><g:link controller="importer" action="index">Import study data</g:link></li>
14        <li><g:link controller="simpleQuery" action="index">Search study data</g:link></li>
15      <li><g:link controller="exporter" action="index">Export as SimpleTox</g:link></li>
16      </ul>
17     </li>
18     <li>
19      <a href="#">Contacts</a>
20      <ul class="subnav">
21        <li><g:link controller="person" action="list">View persons</g:link></li>
22        <li><g:link controller="personAffiliation" action="list">View affiliations</g:link></li>
23        <li><g:link controller="personRole" action="list">View roles</g:link></li>
24      </ul>
25     </li>
26    <li>
27    <a href="#">Publications</a>
28    <ul class="subnav">
29      <li><g:link controller="publication" action="list">View publications</g:link></li>
30      <li><g:link controller="publication" action="add">Add publication</g:link></li>
31    </ul>
32   </li>
33    <g:if env="development">
34     <li><g:link controller="query" action="index">Query database</g:link></li>
35         <li>
36          <a href="#">Scaffolded controllers</a>
37          <ul class="subnav"><g:each var="c" in="${grailsApplication.controllerClasses}">
38           <li><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li></g:each>
39          </ul>
40     </li>
41        </g:if>
42   <sec:ifAllGranted roles="ROLE_ADMIN">
43     <li>
44          <a href="#">User administation</a>
45          <ul class="subnav">
46            <li><g:link controller="user" class="icon icon_user">List Users</g:link></li>
47            <li><g:link controller="user" action="create" class="icon icon_user_add">Create User</g:link></li>
48            <li><g:link controller="logout" class="icon icon_cross">Sign out</g:link></li>
49          </ul>
50     </li>
51   </sec:ifAllGranted>
52    </ul>
53    <!-- /TOPNAV //-->
Note: See TracBrowser for help on using the repository browser.