Author: sletellier Date: 2011-11-04 09:43:34 +0100 (Fri, 04 Nov 2011) New Revision: 6 Url: http://forge.codelutin.com/repositories/revision/echobase/6 Log: Add main menu Added: trunk/echobase-ui/src/main/webapp/WEB-INF/includes/menu.jsp Modified: trunk/echobase-ui/src/main/webapp/WEB-INF/includes/header.jsp Modified: trunk/echobase-ui/src/main/webapp/WEB-INF/includes/header.jsp =================================================================== --- trunk/echobase-ui/src/main/webapp/WEB-INF/includes/header.jsp 2011-11-03 16:52:22 UTC (rev 5) +++ trunk/echobase-ui/src/main/webapp/WEB-INF/includes/header.jsp 2011-11-04 08:43:34 UTC (rev 6) @@ -45,7 +45,7 @@ </ul> </div> <br/> - <%@ include file="menuPrincipal.jsp" %> + <%@ include file="menu.jsp" %> <%@ include file="i18n.jsp" %> <br/> </div> Added: trunk/echobase-ui/src/main/webapp/WEB-INF/includes/menu.jsp =================================================================== --- trunk/echobase-ui/src/main/webapp/WEB-INF/includes/menu.jsp (rev 0) +++ trunk/echobase-ui/src/main/webapp/WEB-INF/includes/menu.jsp 2011-11-04 08:43:34 UTC (rev 6) @@ -0,0 +1,43 @@ +<%-- + #%L + EchoBase :: UI + + $Id: i18n.jsp 1 2011-11-03 14:23:42Z tchemit $ + $HeadURL$ + %% + Copyright (C) 2011 Ifremer, Codelutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + #L% + --%> +<%@ taglib prefix="s" uri="/struts-tags" %> +<div class="cleanBoth"> + <ul> + <li> + <s:a action="import"><s:text name="echobase.menu.import"/></s:a> + </li> + <li> + <s:a action="export"><s:text name="echobase.menu.export"/></s:a> + </li> + <li> + <s:a action="export"><s:text name="echobase.menu.logs"/></s:a> + </li> + <%--<s:if--%> + <%--test="%{userIsAdmin}">--%> + <li> + <s:a namespace="admin" action="users"><s:text name="echobase.menu.users"/></s:a> + </li> + <%--</s:if>--%> + </ul> +</div>
participants (1)
-
sletellier@users.forge.codelutin.com