diff --git a/static/sass/styles.scss b/static/sass/styles.scss index 05184ecb..06bb73bc 100644 --- a/static/sass/styles.scss +++ b/static/sass/styles.scss @@ -84,6 +84,15 @@ $breakpoint-navigation-threshold: $breakpoint-large; } } +.homepage-tabs-content { + display: flex; + flex-direction: column; + height: 100%; +} + +.tabs-content-wrapper { + flex: 1; +} .p-icon--github-white { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDI0IiBoZWlnaHQ9Ijk5OSI+PHBhdGggZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNTEyIDBDMjI5LjI1IDAgMCAyMjkuMjUgMCA1MTJjMCAyMjYuMjUgMTQ2LjY5IDQxOC4xMiAzNTAuMTYgNDg1LjgxIDI1LjU5IDQuNjkgMzQuOTMtMTEuMTIgMzQuOTMtMjQuNjIgMC0xMi4xOS0uNDctNTIuNTctLjcxLTk1LjMxQzI0MiA5MDguODEgMjExLjkxIDgxNy41IDIxMS45MSA4MTcuNWMtMjMuMzItNTkuMTItNTYuODUtNzQuODgtNTYuODUtNzQuODgtNDYuNTMtMzEuNzQgMy41My0zMS4xMiAzLjUzLTMxLjEyIDUxLjQxIDMuNTYgNzguNDcgNTIuNzUgNzguNDcgNTIuNzUgNDUuNjkgNzguMjUgMTE5Ljg4IDU1LjYzIDE0OSA0Mi41IDQuNjYtMzMgMTcuOTEtNTUuNjMgMzIuNS02OC4zNy0xMTMuNjUtMTIuOTQtMjMzLjIyLTU2Ljg4LTIzMy4yMi0yNTMuMDcgMC01NS45NCAxOS45Ny0xMDEuNTYgNTIuNjYtMTM3LjQtNS4yMi0xMy0yMi44NC02NS4xIDUuMDYtMTM1LjU3IDAgMCA0Mi45NC0xMy43NSAxNDAuODEgNTIuNSA0MC44Mi0xMS40IDg0LjYtMTcuMDMgMTI4LjEzLTE3LjIyIDQzLjUuMTkgODcuMzEgNS44OCAxMjguMTkgMTcuMjkgOTcuNjktNjYuMzIgMTQwLjY5LTUyLjUgMTQwLjY5LTUyLjUgMjggNzAuNTMgMTAuMzcgMTIyLjU2IDUuMTIgMTM1LjUgMzIuODEgMzUuODQgNTIuNjIgODEuNDcgNTIuNjIgMTM3LjQgMCAxOTYuNjktMTE5Ljc0IDI0MC0yMzMuODEgMjUyLjY5IDE4LjQ0IDE1Ljg4IDM0Ljc1IDQ3IDM0Ljc1IDk0Ljc1IDAgNjguNDQtLjY4IDEyMy42My0uNjggMTQwLjUgMCAxMy42MyA5LjMxIDI5LjU1IDM1LjI0IDI0LjU2Qzg3Ny40NCA5MzAgMTAyNCA3MzguMTIgMTAyNCA1MTIgMTAyNCAyMjkuMjUgNzk0Ljc1IDAgNTEyIDB6Ii8+PC9zdmc+Cg=="); diff --git a/templates/jaasai/index.html b/templates/jaasai/index.html index 72c40d6d..4635579a 100644 --- a/templates/jaasai/index.html +++ b/templates/jaasai/index.html @@ -251,8 +251,21 @@

Add visibility, auditing and compliance controls to your Juju deployment

-
- {{ image( +
+
+ {{ image( + url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", + alt="", + height="588", + width="1031", + hi_def=True, + loading="auto", + ) | safe + }} +

Drill down to view the details of everything that is deployed inside a model, such as applications, integrations, units, and more.

+
+
+ {{ image( url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", alt="", height="588", @@ -260,73 +273,62 @@

Add visibility, auditing and compliance controls to your Juju deployment

Drill down to view the details of everything that is deployed inside a model, such as applications, integrations, units, and more.

+ }} +

Execute Juju action from the UI and view the resulting logs to confirm their status.

+
+
+ {{ image( + url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", + alt="", + height="588", + width="1031", + hi_def=True, + loading="auto", + ) | safe + }} +

Perform common administrative operations and apply machine configurations.

+
+
+ {{ image( + url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", + alt="", + height="588", + width="1031", + hi_def=True, + loading="auto", + ) | safe + }} +

Onboard controllers and add, remove or manage user access to models and controllers.

+
+
+ {{ image( + url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", + alt="", + height="588", + width="1031", + hi_def=True, + loading="auto", + ) | safe + }} +

Access the logs from your deployment in a single, centralised location.

+
+
+ {{ image( + url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", + alt="", + height="588", + width="1031", + hi_def=True, + loading="auto", + ) | safe + }} +

Perform complex searches/filters through your entire deployment and share the result through a unique URL.

+
-
- {{ image( - url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", - alt="", - height="588", - width="1031", - hi_def=True, - loading="auto", - ) | safe - }} -

Execute Juju action from the UI and view the resulting logs to confirm their status.

-
-
- {{ image( - url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", - alt="", - height="588", - width="1031", - hi_def=True, - loading="auto", - ) | safe - }} -

Perform common administrative operations and apply machine configurations.

-
-
- {{ image( - url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", - alt="", - height="588", - width="1031", - hi_def=True, - loading="auto", - ) | safe - }} -

Onboard controllers and add, remove or manage user access to models and controllers.

-
-
- {{ image( - url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", - alt="", - height="588", - width="1031", - hi_def=True, - loading="auto", - ) | safe - }} -

Access the logs from your deployment in a single, centralised location.

-
-
- {{ image( - url="https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg", - alt="", - height="588", - width="1031", - hi_def=True, - loading="auto", - ) | safe - }} -

Perform complex searches/filters through your entire deployment and share the result through a unique URL.

-
@@ -534,7 +536,7 @@

Contact us

}); }); - const tabs = document.querySelectorAll('.homepage-tabs-content > .row:not(.homepage-tabs-button)'); + const tabs = document.querySelectorAll('.homepage-tabs-content .tabs-content-wrapper > .row'); const navItems = document.querySelectorAll('.p-side-navigation__item'); const images = [ 'https://assets.ubuntu.com/v1/216e92c6-jass_side_navigation.svg', @@ -550,24 +552,24 @@

Contact us

} function handlePrevious() { - if (currentTab > 0) { - currentTab--; - showTab(currentTab); + if (currentTab > 0) { + currentTab--; + showTab(currentTab); - const targetPanelLink = document.querySelector(`[data-js='panel-link'][href='#${tabs[currentTab].id}']`); - activatePanel(targetPanelLink); - } + const targetPanelLink = document.querySelector(`[data-js='panel-link'][href='#${tabs[currentTab].id}']`); + activatePanel(targetPanelLink); } + } function handleNext() { - if (currentTab < tabs.length - 1) { - currentTab++; - showTab(currentTab); + if (currentTab < tabs.length - 1) { + currentTab++; + showTab(currentTab); - const targetPanelLink = document.querySelector(`[data-js='panel-link'][href='#${tabs[currentTab].id}']`); - activatePanel(targetPanelLink); - } + const targetPanelLink = document.querySelector(`[data-js='panel-link'][href='#${tabs[currentTab].id}']`); + activatePanel(targetPanelLink); } + } function updateNavigation(index) { navItems.forEach(item => item.classList.remove('is-active')); @@ -586,6 +588,5 @@

Contact us

prevBtn.addEventListener('click', handlePrevious); nextBtn.addEventListener('click', handleNext); - {% endblock content %}