Skip to content

Commit

Permalink
feat: Add Site Layout Editor Page - MEED-8194 - Meeds-io/MIPs#175
Browse files Browse the repository at this point in the history
This change will add a site layout editor page.
  • Loading branch information
boubaker committed Jan 22, 2025
1 parent 69be3e9 commit 2f33af9
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ portal.global.settings=Settings
portal.global.activity=Activity
portal.global.public=Overview
portal.global.pageNotFound=Page Not Found
portal.global.site-layout-editor=Site Layout Editor
portal.global.layout-editor=Layout Editor
portal.global.portlet-editor=Portlet Editor
portal.global.section-editor=Section Template Editor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@
<visibility>SYSTEM</visibility>
<page-reference>portal::global::notes-editor</page-reference>
</node>
<node>
<name>site-layout-editor</name>
<label>#{portal.global.site-layout-editor}</label>
<visibility>SYSTEM</visibility>
<page-reference>portal::global::site-layout-editor</page-reference>
</node>
<node>
<name>layout-editor</name>
<label>#{portal.global.layout-editor}</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1613,6 +1613,57 @@
</container>
</page>

<page profiles="layout">
<name>site-layout-editor</name>
<title>Site Layout Editor</title>
<access-permissions>Everyone</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<show-max-window>true</show-max-window>
<hide-shared-layout>true</hide-shared-layout>
<container
id="UITopBarContainer"
template="system:/groovy/portal/webui/container/UITopBarContainer.gtmpl">
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="VuetifyApp">
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="v-application v-application--is-ltr v-application--wrap">
<container
id="layoutTopBarContent"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
</container>
</container>
</container>
<container
id="MiddleToolBar"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
<portlet-application>
<portlet>
<application-ref>social</application-ref>
<portlet-ref>DrawersOverlay</portlet-ref>
</portlet>
<title>Drawers Overlay</title>
</portlet-application>
</container>
<container
id="TopbarLoadingContainer"
template="system:/groovy/portal/webui/container/UITopbarLoadingContainer.gtmpl">
</container>
</container>
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="page-scroll-content">
<portlet-application>
<portlet>
<application-ref>layout</application-ref>
<portlet-ref>SiteLayoutEditor</portlet-ref>
</portlet>
<title>Site Layout Editor</title>
</portlet-application>
</container>
</page>

<page profiles="layout">
<name>layout-editor</name>
<title>Layout Editor</title>
Expand Down

0 comments on commit 2f33af9

Please sign in to comment.