-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nimbus): add documentation links to new nimbus ui
Because * We need to show the documentation links in the left sidebar * We want to show the new header with the title and timeline on every page This commit * Adds documentation links to the sidebar * Improves the styling of the sidebar * Moves the new header to the base template so it appears on all pages fixes #11924
- Loading branch information
1 parent
1f475c7
commit 709e20a
Showing
7 changed files
with
451 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,3 +118,7 @@ | |
} | ||
} | ||
} | ||
|
||
.nav-link-hover:hover { | ||
background-color: var(--bs-secondary-bg); | ||
} |
13 changes: 6 additions & 7 deletions
13
experimenter/experimenter/nimbus_ui_new/templates/common/sidebar_link.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<li class="nav-item fw-semibold"> | ||
<a href="{{ link }}" | ||
class="nav-link {% if disabled %}disabled{% endif %}"> | ||
<i class="{{ icon }}"></i> | ||
<span>{{ title }}</span> | ||
</a> | ||
</li> | ||
<a {% if external %}target="_blank"{% endif %} | ||
class="nav-link mb-2 {% if request.path == link %}active{% endif %} nav-link-hover {% if disabled %}disabled{% endif %}" | ||
href="{{ link }}"> | ||
<i class="{{ icon }} col-2"></i> | ||
{{ title }} | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.