Re implement header with new topbar
This commit is contained in:
parent
7dc746c7e1
commit
524ecae363
@ -1,35 +1,11 @@
|
|||||||
<header class="usa-header usa-header-basic" role="banner">
|
<header class="topbar">
|
||||||
<div class="usa-nav-container">
|
<nav class="topbar__navigation">
|
||||||
<div class="usa-navbar">
|
<a href="/" class="topbar__link topbar__link--primary">
|
||||||
<div class="usa-logo" id="basic-logo">
|
<span>JEDI</span>
|
||||||
<em class="usa-logo-text">
|
</a>
|
||||||
<a href="/" title="Home" aria-label="Home">JEDI</a>
|
|
||||||
</em>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<nav role="navigation" class="usa-nav">
|
<a href="/" class="topbar__link topbar__link--secondary">
|
||||||
<ul class="usa-nav-primary usa-accordion">
|
<span>Tech Lead</span>
|
||||||
{% for item in [
|
</a>
|
||||||
['home', 'Home'],
|
</nav>
|
||||||
['workspaces', 'Workspaces'],
|
|
||||||
['requests', 'Requests'],
|
|
||||||
['users', 'Users' ],
|
|
||||||
['reports', 'Reports' ],
|
|
||||||
]
|
|
||||||
%}
|
|
||||||
<li>
|
|
||||||
{% if item[0]==page %}
|
|
||||||
<a class="usa-nav-link usa-current" href='{{ reverse_url(item[0]) }}'><span>{{ item[1] }}</span></a>
|
|
||||||
{% else %}
|
|
||||||
<a class="usa-nav-link" href='{{ reverse_url(item[0]) }}'><span>{{ item[1] }}</span></a>
|
|
||||||
{% end %}
|
|
||||||
</li>
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
<li>Tech Lead</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user