You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/07/06 15:23:26 UTC
svn commit: r419579 [5/5] - in /incubator/lokahi/lokahi/trunk: conf/
src/java/org/apache/lokahi/core/agent/dao/
src/java/org/apache/lokahi/core/agent/jmx/
src/java/org/apache/lokahi/core/agent/runnable/
src/java/org/apache/lokahi/core/agent/tomcat/ src...
Modified: incubator/lokahi/lokahi/trunk/src/www/layout/menu/top.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/www/layout/menu/top.vm?rev=419579&r1=419578&r2=419579&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/layout/menu/top.vm (original)
+++ incubator/lokahi/lokahi/trunk/src/www/layout/menu/top.vm Thu Jul 6 08:23:21 2006
@@ -16,60 +16,56 @@
## $Id$
##
<div zIndex=5 id="header">
- #if ($User)
- <div id="topRightMenu"><a href="$appRoot/Authenticate.do?logout=true" id="logout">[Logout:$User.getName()]</a></div>
- #end
- <div id="Tabs">
- <ul>
- #if ($User)
- #if ($topSelected == "home")
- <li id="current">
- #else
- <li>
- #end
- <a href="$appRoot/index.vm">Lokahi</a></li>
- #if ($topSelected == "projects")
- <li id="current">
- #else
- <li>
- #end
- <a href="$appRoot/Core/Project/index.vm">Projects</a></li>
- #if($User.isAllowed("AddUser") || $User.isAllowed("AddUserToProject"))
- #if ($topSelected == "access")
- <li id="current">
- #else
- <li>
- #end
- <a href="$appRoot/Core/User/index.vm">Administration</a></li>
- #end
- #if($User.isAllowed("AddHostingPool") || $User.isAllowed("ViewHostingPool") ||
- $User.isAllowed("UpdateHostingPool") || $User.isAllowed("DeleteHostingPool") || $User.isAllowed("AddApachePool")
- || $User.isAllowed("ViewApachePool") || $User.isAllowed("UpdateApachePool") ||
- $User.isAllowed("DeleteApachePool") || $User.isAllowed("AddTomcatPool") || $User.isAllowed("ViewTomcatPool") ||
- $User.isAllowed("UpdateTomcatPool") || $User.isAllowed("DeleteTomcatPool"))
- #if ($topSelected == "pools" || $topSelected == "server")
- <li id="current">
- #else
- <li>
- #end
- <a href="$appRoot/Core/infrastructure.vm">Infrastructure</a></li>
- #end
- #if ($topSelected == "help")
+#if ($User)
+ <div id="topRightMenu"><a href="$appRoot/Authenticate.do?logout=true" id="logout" >[Logout:$User.getName()]</a></div>
+#end
+<div id="Tabs" >
+<ul>
+#if ($User)
+ #if ($topSelected == "home")
+ <li id="current">
+ #else
+ <li>
+ #end
+ <a href="$appRoot/index.vm">Lokahi</a></li>
+ #if ($topSelected == "projects")
+ <li id="current">
+ #else
+ <li>
+ #end
+ <a href="$appRoot/Core/Project/index.vm">Projects</a></li>
+ #if($User.isAllowed("AddUser") || $User.isAllowed("AddUserToProject"))
+ #if ($topSelected == "access")
<li id="current">
- #else
- <li>
- #end
- <a href="$appRoot/Help/index.vm">Help</a></li>
- #else
- #if ($topSelected == "home")
+ #else
+ <li>
+ #end
+ <a href="$appRoot/Core/User/index.vm">Administration</a></li>
+ #end
+ #if($User.isAllowed("AddHostingPool") || $User.isAllowed("ViewHostingPool") || $User.isAllowed("UpdateHostingPool") || $User.isAllowed("DeleteHostingPool") || $User.isAllowed("AddApachePool") || $User.isAllowed("ViewApachePool") || $User.isAllowed("UpdateApachePool") || $User.isAllowed("DeleteApachePool") || $User.isAllowed("AddTomcatPool") || $User.isAllowed("ViewTomcatPool") || $User.isAllowed("UpdateTomcatPool") || $User.isAllowed("DeleteTomcatPool"))
+ #if ($topSelected == "pools" || $topSelected == "server")
<li id="current">
- #else
+ #else
<li>
- #end
- <a href="$appRoot/index.vm">Lokahi</a></li>
- #end
- </ul>
- </div>
+ #end
+ <a href="$appRoot/Core/infrastructure.vm">Infrastructure</a></li>
+ #end
+ #if ($topSelected == "help")
+ <li id="current">
+ #else
+ <li>
+ #end
+ <a href="$appRoot/Help/index.vm">Help</a></li>
+#else
+ #if ($topSelected == "home")
+ <li id="current">
+ #else
+ <li>
+ #end
+ <a href="$appRoot/index.vm">Lokahi</a></li>
+#end
+</ul>
+</div>
</div>