Simple Portal / Dashboard Page with Icons
Use this for portal and editable onboarding pages with less than 6 tabs.
Overview
Desktop
![](https://docs.airdev.co/~gitbook/image?url=https%3A%2F%2F47992944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7QCQzQXopA53eLQUo8SB%252Fuploads%252FexStUFAZ40czZfY7dU4z%252F23.png%3Falt%3Dmedia%26token%3Da7206c1d-a76d-4384-9652-07a1142c7169&width=768&dpr=4&quality=100&sign=e0e0326b&sv=1)
Mobile
![](https://docs.airdev.co/~gitbook/image?url=https%3A%2F%2F47992944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7QCQzQXopA53eLQUo8SB%252Fuploads%252FsyEBqRGCIBUnkUjL9eZB%252F24.png%3Falt%3Dmedia%26token%3D53ec65d7-be0a-4b80-b26f-6608f03df669&width=768&dpr=4&quality=100&sign=5500552b&sv=1)
![](https://docs.airdev.co/~gitbook/image?url=https%3A%2F%2F47992944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7QCQzQXopA53eLQUo8SB%252Fuploads%252FEIBSLOBShbC4Jhfsl6ms%252F25.png%3Falt%3Dmedia%26token%3Da219adb6-0937-415e-be19-c47997b88dc0&width=768&dpr=4&quality=100&sign=f7721ab2&sv=1)
Responsive layout for a simple dashboard / portal page with icons. Includes a slidable sidebar menu and tab-like UI component for showing and hiding modules. The sidebar menu is hidden by default on mobile but users can click on the hamburger menu in the upper left to open the sidebar.
Structure
When this page is added to your app, it will come with two main groups:
Blocks container 860 (do not rename) This group contains the responsive settings for all additional modules you would add to the page. It is only visible when the toggle is set to the list view
Group Inner sidebar tabs This group contains all the portal tab menu items.
This page will also come with one popup:
Popup Hidden Variables This popup includes various variables that are referenced in workflows or conditionals on the page.
var - Website object - This group stores the
website object
(e.g., app name, primary color, and etc.)var - tab url parameter - This group stores the name of the tab (of type
text
) that the user is currently viewing.var - dummy - This is a placeholder variable group. You can store any data here by updating the data type and data source of the group.
For more information on how to use hidden variables, click here.
The page comes with two navigation elements that toggle the filter sidebar's visibility on mobile:
FloatingGroup Open sidebar button
FloatingGroup Close sidebar button
How to set up
Within Group Inner sidebar tabs, you will find various groups called Group Main Nav 1_text, Group Main Nav 2_text, Group Main Nav 3_text, and etc. To customize these tabs, simply update the text data source of these groups to the names of your tabs. Feel free to hide or unhide any of these groups depending on how many tabs you need in your portal.
Each Group Main Nav #_text comes with an alert group for notifications (Group Nav 3 alert) which is hidden by default. To enable, simply select the element and check the box for This element is visible on page load.
If you add more Group Main Nav #_text tabs then please resize Group sidebar PLACEHOLDER so that it is not overlapping with any other elements. If any elements are overlapping, responsiveness on the page would not work well.
If needed, resize Blocks container 860 (do not rename) and add other modules inside it.
If you add more modules, please resize Group PLACEHOLDER so that it is not overlapping with any other elements (for responsiveness).
Showing or hiding a module
For each module that you add to Blocks container 860 (do not rename), uncheck the box for This element is visible on page load and check the box for Collapse this element's height when hidden.
For each module, go to the Conditional tab and add a conditional statement for when to show the module:
var - tab url parameter's text is Group Inner nav # icon_text tab's text then This group is visible
For each tab within Group Inner sidebar tabs, add a workflow that triggers the custom workflow Navigate and pass Group Main Nav #_text tab's text (this group's text) as a workflow thing.
Why is my sidebar not showing?
Floatinggroup Sidebar_website is set to float to both so that the sidebar is anchored to both the top and bottom of the page and allows for scrolling within the floating group. When a floating group is set to both, the floating group height needs to be the same height as the page height (i.e., the bottom of the floating group is aligned with the bottom of the page). If not, then the floating group will "disappear" when you preview the page.
![](https://docs.airdev.co/~gitbook/image?url=https%3A%2F%2F47992944-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7QCQzQXopA53eLQUo8SB%252Fuploads%252FW6tmf0cFfUpsNrgyifBG%252F26.png%3Falt%3Dmedia%26token%3D0b9f2291-ea5b-4c16-abc7-d30d10376d29&width=768&dpr=4&quality=100&sign=a9f201bc&sv=1)
How do I change the color of the sidebar?
You can change the color of the sidebar by logging in as an App Admin, going to the Admin Portal > Branding tab > Portal page style
Last updated