open-nomad/ui/app/templates/components/global-header.hbs
2018-08-06 11:21:53 -07:00

26 lines
805 B
Handlebars

<nav class="navbar is-primary">
<div class="navbar-brand">
<span class="gutter-toggle" aria-label="menu" onclick={{action onHamburgerClick}}>
{{partial "partials/hamburger-menu"}}
</span>
<span class="navbar-item is-logo">
{{partial "partials/nomad-logo"}}
</span>
</div>
<div class="navbar-end">
{{#if (eq config.environment "development")}}
{{#link-to "freestyle" class="navbar-item"}}Styleguide{{/link-to}}
{{/if}}
<a href="https://nomadproject.io/docs" class="navbar-item">Documentation</a>
{{#link-to "settings.tokens" class="navbar-item"}}ACL Tokens{{/link-to}}
</div>
</nav>
<div class="navbar is-secondary">
<div class="navbar-item is-gutter"></div>
<nav class="breadcrumb is-large">
<ul>
{{yield}}
</ul>
</nav>
</div>