From 47a751cb301d05276ae5d75145d57b2d090fe4e1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期一, 01 七月 2024 10:58:35 +0800
Subject: [PATCH] change
---
src/main/webapp/index.xhtml | 26 ++++++++++++++++++--------
1 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/index.xhtml b/src/main/webapp/index.xhtml
index 318a75b..f9f3226 100644
--- a/src/main/webapp/index.xhtml
+++ b/src/main/webapp/index.xhtml
@@ -20,10 +20,11 @@
<p:panelGrid styleClass="header">
<p:row>
<p:column styleClass="header-logo">
- <p:graphicImage value="/resources/images/${institute.name}logo.png" style="width: 80px;height: 80px"></p:graphicImage>
+ <p:graphicImage value="#{loginController.logo}" style="width: 80px;height: 80px"></p:graphicImage>
</p:column>
<p:column styleClass="header-title">
- <p:outputLabel value="${institute.name}"></p:outputLabel>
+ <p:outputLabel value="#{loginController.title}"></p:outputLabel>
+<!-- <p:outputLabel value="中国科学院苏州纳米技术与纳米仿生研究所"></p:outputLabel>-->
<br/>
<p:outputLabel value="智慧实验室试剂全过程安全管理系统" style="color: #ffd74a"></p:outputLabel>
<!-- <p:outputLabel value="智能安全危险化学品全生命周期管控系统" style="color: #ffd74a"></p:outputLabel>-->
@@ -103,18 +104,23 @@
<p:panelGrid styleClass="menu" columns="1">
<c:if test="#{menuController.menuList != null and menuController.menuList.size() > 0}">
<c:forEach items="#{menuController.menuList}" var="menu">
- <c:if test="#{menu.dispInMenuList}">
+ <c:if test="#{menu.dispInMenuList and (menu.id ne 'system_link' or menuController.activeEnv eq 'gslab') }">
<c:if test="#{menu.subMenu != null and menu.subMenu.size() > 0}">
<p:panelMenu style="border: none">
<p:submenu label="#{menu.title}" rendered="#{menuController.isDispRootMenu(menu)}"
style="border: none"
styleClass="#{menu.icon}">
+
<c:forEach items="#{menu.subMenu}" var="subMenu">
- <p:menuitem value="#{subMenu.title}"
- actionListener="#{menuController.goToPage(subMenu)}"
- update=":centerRootPanel,@form"
- containerStyleClass="#{menuController.currentPage==subMenu.page?'menu-item-selected':''}"
- rendered="#{menuController.isPermitted(subMenu.privilegeCode)}"></p:menuitem>
+
+ <p:menuitem value="#{subMenu.title}"
+ actionListener="#{menuController.goToPage(subMenu)}"
+ update=":centerRootPanel,@form"
+ containerStyleClass="#{menuController.currentPage==subMenu.page?'menu-item-selected':''}"
+ rendered="#{menuController.isPermitted(subMenu.privilegeCode)}">
+ </p:menuitem>
+
+
</c:forEach>
</p:submenu>
</p:panelMenu>
@@ -129,6 +135,10 @@
</c:if>
</c:forEach>
</c:if>
+ <!-- 添加系统链接 -->
+
+
+
</p:panelGrid>
</h:form>
</ui:define>
--
Gitblit v1.9.2