open-nomad/ui/app/templates/components/global-header.hbs

28 lines
906 B
Handlebars
Raw Normal View History

<nav class="navbar is-primary">
<div class="navbar-brand">
<span data-test-header-gutter-toggle class="gutter-toggle" aria-label="menu" onclick={{action onHamburgerClick}}>
2018-07-26 18:58:38 +00:00
{{partial "partials/hamburger-menu"}}
2018-07-26 00:06:39 +00:00
</span>
{{#link-to "jobs" class="navbar-item is-logo"}}
2018-07-26 18:58:38 +00:00
{{partial "partials/nomad-logo"}}
{{/link-to}}
2017-09-19 14:47:10 +00:00
</div>
<div class="navbar-end">
2017-09-19 14:47:10 +00:00
{{#if (eq config.environment "development")}}
{{#link-to "freestyle" class="navbar-item"}}Styleguide{{/link-to}}
2017-09-19 14:47:10 +00:00
{{/if}}
<a href="https://nomadproject.io/docs" class="navbar-item">Documentation</a>
{{#link-to "settings.tokens" class="navbar-item"}}ACL Tokens{{/link-to}}
2017-09-19 14:47:10 +00:00
</div>
</nav>
<div class="navbar is-secondary">
2018-08-03 17:11:47 +00:00
<div class="navbar-item is-gutter">
{{region-switcher decoration="is-outlined"}}
2018-08-03 17:11:47 +00:00
</div>
<nav class="breadcrumb is-large">
<ul>
2017-09-19 14:47:10 +00:00
{{yield}}
</ul>
</nav>
</div>