53 lines
1.4 KiB
Handlebars
53 lines
1.4 KiB
Handlebars
<nav class="navbar is-primary" title="navigation">
|
|
<div class="navbar-brand">
|
|
<span
|
|
data-test-header-gutter-toggle
|
|
class="gutter-toggle"
|
|
aria-label="menu"
|
|
onclick={{action this.onHamburgerClick}}
|
|
>
|
|
<HamburgerMenu />
|
|
</span>
|
|
<LinkTo @route="jobs" class="navbar-item is-logo" aria-label="Home">
|
|
<NomadLogo />
|
|
</LinkTo>
|
|
</div>
|
|
{{#if this.system.fuzzySearchEnabled}}
|
|
{{#unless (media "isMobile")}}
|
|
<GlobalSearch::Control />
|
|
{{/unless}}
|
|
{{/if}}
|
|
<div class="navbar-end">
|
|
{{#if this.config.APP.showStorybookLink}}
|
|
<a href="/storybook/" class="navbar-item">
|
|
Storybook
|
|
</a>
|
|
{{/if}}
|
|
{{#if this.agent.config.UI.Consul.BaseUrl}}
|
|
<a href={{this.agent.config.UI.Consul.BaseUrl}} class="navbar-item">
|
|
Consul
|
|
</a>
|
|
{{/if}}
|
|
{{#if this.agent.config.UI.Vault.BaseUrl}}
|
|
<a href={{this.agent.config.UI.Vault.BaseUrl}} class="navbar-item">
|
|
Vault
|
|
</a>
|
|
{{/if}}
|
|
<a href="https://nomadproject.io/docs" class="navbar-item">
|
|
Documentation
|
|
</a>
|
|
<LinkTo @route="settings.tokens" class="navbar-item">
|
|
ACL Tokens
|
|
</LinkTo>
|
|
</div>
|
|
</nav>
|
|
<div class="navbar is-secondary">
|
|
<div class="navbar-item is-gutter">
|
|
<RegionSwitcher @decoration="is-outlined" />
|
|
</div>
|
|
<nav class="breadcrumb is-large" title="breadcrumb navigation">
|
|
<ul>
|
|
{{yield}}
|
|
</ul>
|
|
</nav>
|
|
</div> |