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

Last change on this file since 100 was 100, checked in by keesvb, 10 years ago

small cosmetic changes, enabled Study list menu link

File size: 1.8 KB
Line 
1
2    <!-- TOPNAV //-->
3    <ul class="topnav">
4     <li><g:link url="/${meta(name: 'app.name')}/">Home</g:link></li>
5     <li>
6      <a href="#">Studies</a>
7      <ul class="subnav">
8        <li><g:link controller="study" action="list">View studies</g:link></li>
9        <li><g:link controller="wizard" action="index">Create study</g:link></li>
10      </ul>
11     </li>
12     <li><g:link controller="load" action="index">Loading data</g:link></li>
13     <li><g:link controller="query" action="index">Query database</g:link></li>
14<n:isLoggedIn>
15     <li><g:link controller="study" action="list">My studies</g:link></li>
16</n:isLoggedIn>
17     <li>
18          <a href="#">Scaffolded controllers</a>
19          <ul class="subnav"><g:each var="c" in="${grailsApplication.controllerClasses}">
20           <li><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li></g:each>
21          </ul>
22     </li>
23<n:isAdministrator>
24     <li>
25          <a href="#">User administation</a>
26          <ul class="subnav">
27            <li><g:link controller="admins" action="index" class="icon icon_user_suit">Manage Administrators</g:link></li>
28            <li><g:link controller="user" action="list" class="icon icon_user">List Users</g:link></li>
29            <li><g:link controller="user" action="create" class="icon icon_user_add">Create User</g:link></li>
30            <li><g:link controller="role" action="list" class="icon icon_cog">List Roles</g:link></li>
31            <li><g:link controller="role" action="create" class="icon icon_cog_add">Create Role</g:link></li>
32            <li><g:link controller="group" action="list" class="icon icon_group">List Groups</g:link></li>
33            <li><g:link controller="group" action="create" class="icon icon_group_add">Create Group</g:link></li>
34            <li><g:link controller="auth" action="logout" class="icon icon_cross">Sign out</g:link></li>
35          </ul>
36     </li>
37</n:isAdministrator>
38    </ul>
39    <!-- /TOPNAV //-->
Note: See TracBrowser for help on using the repository browser.