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

Last change on this file since 37 was 37, checked in by duh, 13 years ago
  • installed and implemented nimble plugin
  • setup basic nimble integration
  • updated menu with administrative functions (log in as admin)
  • two users (admin and user) --> see NimbleBootstrap?.groovy
  • some nimble templates still need to be fixed, however most functionality should work properly
File size: 1.3 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="#">Scaffolded controllers</a>
7        <ul class="subnav"><g:each var="c" in="${grailsApplication.controllerClasses}">
8          <li><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li></g:each>
9        </ul>
10      </li>
11<n:isAdministrator>
12      <li>
13        <a href="#">User administation</a>
14        <ul class="subnav">
15          <li><g:link controller="admins" action="index" class="icon icon_user_suit">Manage Administrators</g:link></li>
16          <li><g:link controller="user" action="list" class="icon icon_user">List Users</g:link></li>
17          <li><g:link controller="user" action="create" class="icon icon_user_add">Create User</g:link></li>
18          <li><g:link controller="role" action="list" class="icon icon_cog">List Roles</g:link></li>
19          <li><g:link controller="role" action="create" class="icon icon_cog_add">Create Role</g:link></li>
20          <li><g:link controller="group" action="list" class="icon icon_group">List Groups</g:link></li>
21          <li><g:link controller="group" action="create" class="icon icon_group_add">Create Group</g:link></li>
22          <li><g:link controller="auth" action="logout" class="icon icon_cross">Sign out</g:link></li>
23        </ul>
24      </li>
25</n:isAdministrator>
26    </ul>
27    <!-- /TOPNAV //-->
Note: See TracBrowser for help on using the repository browser.