diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2015-10-15 09:57:40 +0200 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2015-10-15 09:57:40 +0200 |
commit | aed2f6f6511d9fd027b24f3810f057f5182c3d60 (patch) | |
tree | 4194b2f7d68325da0c1c571780c27cd1cf07ea4f /id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp | |
parent | 9033146d29c45a9f9a781e0ff450981c27045c3d (diff) | |
parent | 0e55c7882ce4ed4fcb28e60c94dea6b325462ba5 (diff) | |
download | moa-id-spss-aed2f6f6511d9fd027b24f3810f057f5182c3d60.tar.gz moa-id-spss-aed2f6f6511d9fd027b24f3810f057f5182c3d60.tar.bz2 moa-id-spss-aed2f6f6511d9fd027b24f3810f057f5182c3d60.zip |
Merge branch 'web-config' into moa-id-3.0.0-snapshot
Diffstat (limited to 'id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp')
-rw-r--r-- | id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp | 73 |
1 files changed, 50 insertions, 23 deletions
diff --git a/id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp b/id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp index 6ba70da54..4d740fd06 100644 --- a/id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp +++ b/id/ConfigWebTool/src/main/webapp/jsp/snippets/header_userinfos.jsp @@ -1,27 +1,54 @@ -<%@page import="at.gv.egovernment.moa.id.configuration.helper.LanguageHelper"%> -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> -<%@ taglib prefix="s" uri="/struts-tags" %> +<%@page + import="at.gv.egovernment.moa.id.configuration.helper.LanguageHelper"%> +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> +<%@ taglib prefix="s" uri="/struts-tags"%> <html> - <div id="header_area"> -<!-- <div> --> - <%=LanguageHelper.getGUIString("webpages.header.info", request) %> - <s:if test="authUser.isMandateUser()"> - <s:property value="authUser.institute"/> - </s:if> - <s:else> - <s:property value="authUser.givenName"/> <s:property value="authUser.familyName"/>, - </s:else> - <%=LanguageHelper.getGUIString("webpages.header.lastlogin", request) %> <s:property value="authUser.getFormatedLastLogin()"/> - - <div id="language_area"> - <a href="changeLanguage.action?request_locale=de" /><img alt="Deutsch" src="./../images/de.png"></a> - <a href="changeLanguage.action?request_locale=en" /><img alt="English" src="./../images/en.png"></a> - </div> - - <s:url action="logout" var="logoutURL" namespace="/"/> - <a id="logoutbutton" href="<s:property value="#logoutURL" />"><%=LanguageHelper.getGUIString("webpages.index.logout", request) %></a> -<!-- </div> --> +<div id="header_area"> + <!-- <div> --> + + + <div id ="left_area"> + <h2><%=LanguageHelper.getGUIString("header.title", request) %></h2> </div> -</html>
\ No newline at end of file + + <div id="right_area"> + <a id="toggleMenu"> + <s:if test="authUser.isMandateUser()"> + <s:property value="authUser.institute" /> + </s:if> + <s:else> + <s:property value="authUser.givenName" /> + <s:property value="authUser.familyName" /> + </s:else> + </a> + <div id="drop_down_menu"> + + <ul> + <li> + <span> + <%=LanguageHelper.getGUIString("webpages.header.lastlogin", request) %> <s:property value="authUser.getFormatedLastLogin()"/> + </span> + </li> + </ul> + <a id="flag_at" href="changeLanguage.action?request_locale=de" ><img alt="Deutsch" + src="./../images/de.png"></a> + <a id="flag_en" href="changeLanguage.action?request_locale=en" ><img alt="English" + src="./../images/en.png"></a> + <s:url action="logout" var="logoutURL" namespace="/" /> + <a id="logout_button" href="<s:property value="#logoutURL" />">Logout <img alt="<%=LanguageHelper.getGUIString("webpages.index.logout", request) %>" + src="./../images/logout.png"></a> + </div> + + + <s:url action="searchOAInit" var="searchOAs" namespace="/secure" /> + <a href="<s:property value="#searchOAs" />"><img alt="Deutsch" + src="./../images/lupe.png"></a> + + </div> + + +</div> +</html> |