-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bugfix/GH-230-header-search-bar-font-size-in…
…consistent
- Loading branch information
Showing
3 changed files
with
26 additions
and
102 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
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
57 changes: 26 additions & 31 deletions
57
taccsite_cms/static/site_cms/css/src/_imports/trumps/s-portal-nav.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,42 +1,37 @@ | ||
<!-- FAQ: | ||
This is the markup of the #s-header, as of 2020-08-13, | ||
This is the markup of the #s-header, as of 2021-06, | ||
from https://frontera-portal.tacc.utexas.edu/. It has: | ||
- Bootstrap class names | ||
- Bootstrap attributes | ||
- illegally-nested markup (`ul > div > li`) | ||
- extra markup (`a > span`) | ||
--> | ||
<ul class="s-portal-nav navbar-nav"> | ||
<div class="navbar-nav"> | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" | ||
href="#" | ||
data-toggle="dropdown" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
> | ||
<span>Sections</span> | ||
<span class="sr-only">Toggle Dropdown</span> | ||
</a> | ||
<div class="dropdown-menu dropdown-menu-right"> | ||
<a class="dropdown-item" href="#"> | ||
<i class="nav-icon"></i> Section 1 | ||
</a> | ||
<a class="dropdown-item" href="#"> | ||
<i class="nav-icon"></i> Section 2 | ||
</a> | ||
<a class="dropdown-item" href="#"> | ||
<i class="nav-icon"></i> Section 3 | ||
</a> | ||
</div> | ||
</li> | ||
</div> | ||
|
||
<li class="nav-item"> | ||
<a class="nav-link" href="/login/"> | ||
<i class="nav-icon"></i> Log in | ||
<!-- When user is not logged in, there are zero dropdown(-*) classes --> | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" | ||
href="#" | ||
data-toggle="dropdown" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
> | ||
<i class="icon icon-user"></i> | ||
<span>username</span> | ||
<span class="sr-only">Toggle Dropdown</span> | ||
</a> | ||
<nav class="dropdown-menu dropdown-menu-right show"> | ||
<a class="dropdown-item" href="/workbench/dashboard"> | ||
<i class="icon icon-dashboard"></i> My Dashboard | ||
</a> | ||
<a class="dropdown-item" href="/workbench/onboarding/admin"> | ||
<i class="icon icon-approved-boxed"></i> Onboarding Admin | ||
</a> | ||
<a class="dropdown-item" href="/accounts/profile/"> | ||
<i class="icon icon-gear"></i> My Account | ||
</a> | ||
<a class="dropdown-item" href="/accounts/logout"> | ||
<i class="icon icon-user"></i> Log Out | ||
</a> | ||
</nav> | ||
</li> | ||
</ul> |