source: trunk/grails-app/views/templates/nimble/navigation/_topnavigation.gsp @ 51

Last change on this file since 51 was 51, checked in by duh, 9 years ago

-re-added nimble snapshot 0.3

File size: 1.9 KB
Line 
1
2<div>
3  <ul id="topnavigation_" class="horizmenu mlhorizmenu">
4
5    <n:isAdministrator>
6      <li class="${controllerName.equals('admins') ? 'current' : ''}">
7      <g:link controller="admins" action="index" class="icon icon_user_suit">Administrators</g:link>
8      <ul class="submenu">
9        <li>
10          <g:link controller="admins" action="index" class="icon icon_user_suit">Manage Administrators</g:link>
11        </li>
12      </ul>
13      </li>
14
15      <li class="${controllerName.equals('user') ? 'current' : ''}">
16      <g:link controller="user" action="list" class="icon icon_user">Users</g:link>
17        <ul class="submenu">
18          <li><g:link controller="user" action="list" class="icon icon_user">List Users</g:link></li>
19          <li><g:link controller="user" action="create" class="icon icon_user_add">Create User</g:link></li>
20        </ul>
21      </li>
22
23      <li class="${controllerName.equals('role') ? 'current' : ''}">
24        <g:link controller="role" action="list" class="icon icon_cog">Roles</g:link>
25        <ul class="submenu">
26          <li><g:link controller="role" action="list" class="icon icon_cog">List Roles</g:link></li>
27          <li><g:link controller="role" action="create" class="icon icon_cog_add">Create Role</g:link></li>
28        </ul>
29      </li>
30
31      <li class="${controllerName.equals('group') ? 'current' : ''}">
32        <g:link controller="group" action="list" class="icon icon_group">Groups</g:link>
33        <ul class="submenu">
34          <li><g:link controller="group" action="list" class="icon icon_group">List Groups</g:link></li>
35          <li><g:link controller="group" action="create" class="icon icon_group_add">Create Group</g:link></li>
36        </ul>
37      </li>
38
39      <li class="${controllerName.equals('auth') ? 'current' : ''}">
40        <g:link controller="auth" action="logout" class="icon icon_cross">Logout</g:link>
41      </li>
42    </n:isAdministrator>
43  </ul>
44 
45</div>
Note: See TracBrowser for help on using the repository browser.