Skip to content

Commit

Permalink
added global nav and moved side navigation to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
chillkang committed Oct 4, 2023
1 parent 939c7dd commit 452ad4c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion templates/_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<script src="{{ versioned_static('js/navigation.js') }}"></script>
<script src="/static/js/src/libs/global-nav/global-nav.js"></script>
<script>
canonicalGlobalNav.createNav({ breakpoint: 900 });
initNavDropdowns(".p-navigation__item--dropdown-toggle");
</script>

Expand Down
2 changes: 1 addition & 1 deletion templates/jaasai/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h2>Add visibility, auditing and compliance controls to your Juju deployment</h2
<section class="p-section">
<div class="row">
<div class="col-4">
<div class="p-side-navigation homepage-tabs">
<div class="p-side-navigation homepage-tabs" style="margin-top: 0;">
<ul class="p-side-navigation__list">
<li class="p-side-navigation__item">
<a href="#view-models-and-controllers-details" class="p-side-navigation__link is-active" data-js="panel-link">View models and controllers details</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/shared/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</ul>
</li>
</ul>
<ul class="p-navigation__items p-navigation_login" role="menu">
<ul class="p-navigation__items p-navigation_login global-nav" role="menu">
<li class="p-navigation__item" role="menuitem">
<a class="p-navigation__link" href="/models">Your models</a>
</li>
Expand Down

0 comments on commit 452ad4c

Please sign in to comment.