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