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

Last change on this file since 63 was 63, checked in by ademcan, 10 years ago

Parsing and Loading information from an IDF file (MageTab?). Actually working for Person, Publication and Protocol attributs.
The file path has to be changed for every user in LoadController?.groovy

File size: 1.6 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="load" action="index">Loading data</g:link></li>
6      <li><g:link controller="query" action="index">Query database</g:link></li>
7<n:isLoggedIn>
8      <li><g:link controller="study" action="list">My studies</g:link></li>
9</n:isLoggedIn>
10      <li>
11        <a href="#">Scaffolded controllers</a>
12        <ul class="subnav"><g:each var="c" in="${grailsApplication.controllerClasses}">
13          <li><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li></g:each>
14        </ul>
15      </li>
16<n:isAdministrator>
17      <li>
18        <a href="#">User administation</a>
19        <ul class="subnav">
20          <li><g:link controller="admins" action="index" class="icon icon_user_suit">Manage Administrators</g:link></li>
21          <li><g:link controller="user" action="list" class="icon icon_user">List Users</g:link></li>
22          <li><g:link controller="user" action="create" class="icon icon_user_add">Create User</g:link></li>
23          <li><g:link controller="role" action="list" class="icon icon_cog">List Roles</g:link></li>
24          <li><g:link controller="role" action="create" class="icon icon_cog_add">Create Role</g:link></li>
25          <li><g:link controller="group" action="list" class="icon icon_group">List Groups</g:link></li>
26          <li><g:link controller="group" action="create" class="icon icon_group_add">Create Group</g:link></li>
27          <li><g:link controller="auth" action="logout" class="icon icon_cross">Sign out</g:link></li>
28        </ul>
29      </li>
30</n:isAdministrator>
31    </ul>
32    <!-- /TOPNAV //-->
Note: See TracBrowser for help on using the repository browser.