Skip to content

Commit

Permalink
feat: Implement site layout for mycraft, engage and intranet sites - E…
Browse files Browse the repository at this point in the history
  • Loading branch information
GouadriaHanen authored Nov 21, 2023
1 parent a101bd9 commit 43a6725
Show file tree
Hide file tree
Showing 11 changed files with 189 additions and 70 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 @@ -14,21 +14,18 @@
<name>stream</name>
<label>#{portal.dw.stream}</label>
<icon>fas fa-stream</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::stream</page-reference>
</node>
<node>
<name>spaces</name>
<label>#{portal.dw.spaces}</label>
<icon>fas fa-people-arrows</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::all-spaces</page-reference>
</node>
<node>
<name>people</name>
<label>#{portal.dw.people}</label>
<icon>fas fa-users</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::all-people</page-reference>
</node>
</page-nodes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,39 +27,33 @@
<name>overview</name>
<label>#{portal.engage.overview}</label>
<icon>fas fa-award</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::overview</page-reference>
<node>
<name>contributions</name>
<label>#{portal.engage.contributions}</label>
<visibility>DISPLAYED</visibility>
<node>
<name>programs</name>
<label>#{portal.engage.programs}</label>
<icon>fas fa-chalkboard</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::programs</page-reference>
</node>
<node>
<name>actions</name>
<label>#{portal.engage.actions}</label>
<icon>fas fa-list-alt</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::actions</page-reference>
</node>
<node>
<name>achievements</name>
<label>#{portal.engage.achievements}</label>
<icon>fas fa-chart-pie</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::achievements</page-reference>
</node>
</node>
<node>
<name>perkstore</name>
<label>#{portal.engage.perkstore}</label>
<icon>fas fa-shopping-cart</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::perkstore</page-reference>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,61 @@
*
-->
<portal-config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_10 http://www.gatein.org/xml/ns/gatein_objects_1_10"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_10">
<portal-name>engage</portal-name>
<label>Engagement</label>
<description>Easily onboard contributors, drive initiatives, and keep everyone motivated.</description>
<display-order>2</display-order>
<locale>en</locale>
<access-permissions>member:/platform/users</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="sessionAlive">onDemand</entry>
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<page-body> </page-body>
</portal-layout>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_10 http://www.gatein.org/xml/ns/gatein_objects_1_10"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_10">
<portal-name>engage</portal-name>
<label>Engagement</label>
<description>Easily onboard contributors, drive initiatives, and keep everyone motivated.</description>
<display-order>2</display-order>
<locale>en</locale>
<access-permissions>member:/platform/users</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="sessionAlive">onDemand</entry>
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<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">
<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 @@ -27,20 +27,17 @@
<name>homepage</name>
<label>#{portal.intranet.homepage}</label>
<icon>fas fa-newspaper</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::dw::homepage</page-reference>
<node>
<name>news</name>
<label>#{portal.intranet.news}</label>
<icon>far fa-newspaper</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::intranet::news</page-reference>
</node>
<node>
<name>people</name>
<label>#{portal.intranet.people}</label>
<icon>fas fa-users</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::all-people</page-reference>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,61 @@
*
-->
<portal-config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_10 http://www.gatein.org/xml/ns/gatein_objects_1_10"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_10">
<portal-name>intranet</portal-name>
<label>Intranet</label>
<description>Develop your communication with a modern intranet</description>
<display-order>1</display-order>
<locale>en</locale>
<access-permissions>member:/platform/users;member:/platform/externals</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="sessionAlive">onDemand</entry>
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<page-body> </page-body>
</portal-layout>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_10 http://www.gatein.org/xml/ns/gatein_objects_1_10"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_10">
<portal-name>intranet</portal-name>
<label>Intranet</label>
<description>Develop your communication with a modern intranet</description>
<display-order>1</display-order>
<locale>en</locale>
<access-permissions>member:/platform/users;member:/platform/externals</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="sessionAlive">onDemand</entry>
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<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">
<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 @@ -27,27 +27,23 @@
<name>dashboard</name>
<label>#{portal.mycraft.drives}</label>
<icon>fas fa-briefcase</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::drives</page-reference>
<node>
<name>tasks</name>
<label>#{portal.mycraft.tasks}</label>
<icon>fas fa-tasks</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::tasks</page-reference>
</node>
<node>
<name>agenda</name>
<label>#{portal.mycraft.agenda}</label>
<icon>fas fa-calendar-alt</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::agenda</page-reference>
</node>
<node>
<name>processes</name>
<label>#{portal.mycraft.processes}</label>
<icon>fas fa-file-invoice</icon>
<visibility>DISPLAYED</visibility>
<page-reference>portal::global::processes</page-reference>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,61 @@
*
-->
<portal-config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_10 http://www.gatein.org/xml/ns/gatein_objects_1_10"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_10">
<portal-name>mycraft</portal-name>
<label>My Craft</label>
<description>My personal workspace</description>
<display-order>3</display-order>
<locale>en</locale>
<access-permissions>member:/platform/users;member:/platform/externals</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="sessionAlive">onDemand</entry>
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<page-body> </page-body>
</portal-layout>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_10 http://www.gatein.org/xml/ns/gatein_objects_1_10"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_10">
<portal-name>mycraft</portal-name>
<label>My Craft</label>
<description>My personal workspace</description>
<display-order>3</display-order>
<locale>en</locale>
<access-permissions>member:/platform/users;member:/platform/externals</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<properties>
<entry key="sessionAlive">onDemand</entry>
<entry key="showPortletInfo">0</entry>
</properties>
<portal-layout>
<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">
<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>
Loading

0 comments on commit 43a6725

Please sign in to comment.