Skip to content

Commit

Permalink
feat: Implement top bar container for sites : mycraft , engage and in…
Browse files Browse the repository at this point in the history
  • Loading branch information
GouadriaHanen committed Nov 17, 2023
1 parent a101bd9 commit 080203e
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 6 deletions.
1 change: 1 addition & 0 deletions digital-workplace-webapps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
<compress>false</compress>
<includes>
<include>digital-workplace.less</include>
<include>siteLayout.less</include>
</includes>
</configuration>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<string>portal</string>
</field>
<field name="importMode">
<string>${exo.mycraft.portalConfig.metadata.importmode:insert}</string>
<string>${exo.mycraft.portalConfig.metadata.importmode:overwrite}</string>
</field>
<field name="templateLocation">
<string>war:/conf/digital-workplace/</string>
Expand Down Expand Up @@ -106,7 +106,7 @@
<string>portal</string>
</field>
<field name="importMode">
<string>${exo.intranet.portalConfig.metadata.importmode:insert}</string>
<string>${exo.intranet.portalConfig.metadata.importmode:overwrite}</string>
</field>
<field name="templateLocation">
<string>war:/conf/digital-workplace/</string>
Expand Down Expand Up @@ -141,7 +141,7 @@
<string>portal</string>
</field>
<field name="importMode">
<string>${exo.engage.portalConfig.metadata.importmode:insert}</string>
<string>${exo.engage.portalConfig.metadata.importmode:overwrite}</string>
</field>
<field name="templateLocation">
<string>war:/conf/digital-workplace/</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,46 @@
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<page-body> </page-body>
<container id="UITopBarContainer" template="system:/groovy/portal/webui/container/UITopBarContainer.gtmpl">
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions>
<container id="left-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl" attribute="">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>TopBarLogo</portlet-ref>
</portlet>
<title>Company Logo</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
<portlet-application>
<portlet>
<application-ref>layout-management</application-ref>
<portlet-ref>SiteNavigation</portlet-ref>
</portlet>
<title>site navigation</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container id="middle-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl">
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>TopBarMenu</portlet-ref>
</portlet>
<title>Top Bar Menu </title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container id="right-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl">
</container>
</container>
<page-body> </page-body>
</portal-layout>
</portal-config>
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,46 @@
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<page-body> </page-body>
<container id="UITopBarContainer" template="system:/groovy/portal/webui/container/UITopBarContainer.gtmpl">
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions>
<container id="left-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl" attribute="">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>TopBarLogo</portlet-ref>
</portlet>
<title>Company Logo</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
<portlet-application>
<portlet>
<application-ref>layout-management</application-ref>
<portlet-ref>SiteNavigation</portlet-ref>
</portlet>
<title>site navigation</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container id="middle-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl">
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>TopBarMenu</portlet-ref>
</portlet>
<title>Top Bar Menu </title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container id="right-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl">
</container>
</container>
<page-body> </page-body>
</portal-layout>
</portal-config>
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,46 @@
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<page-body> </page-body>
<container id="UITopBarContainer" template="system:/groovy/portal/webui/container/UITopBarContainer.gtmpl">
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions>
<container id="left-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl" attribute="">
<access-permissions>Everyone</access-permissions>
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>TopBarLogo</portlet-ref>
</portlet>
<title>Company Logo</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
<portlet-application>
<portlet>
<application-ref>layout-management</application-ref>
<portlet-ref>SiteNavigation</portlet-ref>
</portlet>
<title>site navigation</title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container id="middle-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl">
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>TopBarMenu</portlet-ref>
</portlet>
<title>Top Bar Menu </title>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
<show-application-state>false</show-application-state>
</portlet-application>
</container>
<container id="right-topBar-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl">
</container>
</container>
<page-body> </page-body>
</portal-layout>
</portal-config>
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
<css-path>/skin/css/digital-workplace.css</css-path>
<css-priority>11</css-priority>
</portal-skin>
<portal-skin>
<skin-name>Enterprise</skin-name>
<skin-module>siteLayout</skin-module>
<css-path>/skin/css/siteLayout.css</css-path>
<css-priority>11</css-priority>
</portal-skin>

</gatein-resources>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#left-topBar-containerChildren{
display: flex !important;
}
.left-topBar-containerTDContainer{
margin-left: 0 ~'!important; /** orientation=lt */ ';
margin-right: 0 ~'!important; /** orientation=rt */ ';
}

0 comments on commit 080203e

Please sign in to comment.