2020-07-09 20:19:07 +00:00
|
|
|
<div data-test-gutter-menu class="page-column is-left {{if this.isOpen "is-open"}}">
|
|
|
|
<div class="gutter {{if this.isOpen "is-open"}}">
|
|
|
|
<header class="collapsed-menu {{if this.isOpen "is-open"}}">
|
2021-12-20 20:38:41 +00:00
|
|
|
<span
|
|
|
|
data-test-gutter-gutter-toggle
|
|
|
|
class="gutter-toggle"
|
|
|
|
aria-label="menu"
|
|
|
|
onclick={{action this.onHamburgerClick}}
|
|
|
|
>
|
2020-07-09 16:37:00 +00:00
|
|
|
<HamburgerMenu />
|
2018-07-26 18:59:50 +00:00
|
|
|
</span>
|
|
|
|
<span class="logo-container">
|
2020-07-09 16:37:00 +00:00
|
|
|
<NomadLogo />
|
2018-07-26 18:59:50 +00:00
|
|
|
</span>
|
|
|
|
</header>
|
2017-09-19 14:47:10 +00:00
|
|
|
<aside class="menu">
|
2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.system.shouldShowRegions}}
|
2018-08-06 21:16:34 +00:00
|
|
|
<div class="collapsed-only">
|
|
|
|
<p class="menu-label">
|
2021-12-20 20:38:41 +00:00
|
|
|
Region
|
|
|
|
{{if this.system.shouldShowNamespaces "& Namespace"}}
|
2018-08-06 21:16:34 +00:00
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li>
|
|
|
|
<div class="menu-item is-wide">
|
2020-06-01 19:03:56 +00:00
|
|
|
<RegionSwitcher />
|
2018-08-06 21:16:34 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-03-25 12:51:26 +00:00
|
|
|
{{/if}}
|
|
|
|
<p class="menu-label">
|
|
|
|
Workload
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2020-05-08 04:38:19 +00:00
|
|
|
<li>
|
2021-12-20 20:38:41 +00:00
|
|
|
<LinkTo @route="jobs" @activeClass="is-active" data-test-gutter-link="jobs">
|
2020-05-08 04:38:19 +00:00
|
|
|
Jobs
|
2020-06-01 19:03:56 +00:00
|
|
|
</LinkTo>
|
2020-05-08 04:38:19 +00:00
|
|
|
</li>
|
2020-10-29 12:46:42 +00:00
|
|
|
{{#if (can "accept recommendation")}}
|
|
|
|
<li>
|
2021-12-20 20:38:41 +00:00
|
|
|
<LinkTo @route="optimize" @activeClass="is-active" data-test-gutter-link="optimize">
|
2020-10-29 12:46:42 +00:00
|
|
|
Optimize
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2017-09-19 14:47:10 +00:00
|
|
|
</ul>
|
2020-03-25 12:51:26 +00:00
|
|
|
<p class="menu-label is-minor">
|
|
|
|
Integrations
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2020-05-08 04:38:19 +00:00
|
|
|
<li>
|
2021-12-20 20:38:41 +00:00
|
|
|
<LinkTo @route="csi" @activeClass="is-active" data-test-gutter-link="storage">
|
|
|
|
Storage
|
|
|
|
<span class="tag is-small">
|
|
|
|
Beta
|
|
|
|
</span>
|
2020-06-01 19:03:56 +00:00
|
|
|
</LinkTo>
|
2020-05-08 04:38:19 +00:00
|
|
|
</li>
|
2020-03-25 12:51:26 +00:00
|
|
|
</ul>
|
2017-09-19 14:47:10 +00:00
|
|
|
<p class="menu-label">
|
|
|
|
Cluster
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2021-12-20 20:38:41 +00:00
|
|
|
<li>
|
|
|
|
<LinkTo @route="clients" @activeClass="is-active" data-test-gutter-link="clients">
|
|
|
|
Clients
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<LinkTo @route="servers" @activeClass="is-active" data-test-gutter-link="servers">
|
|
|
|
Servers
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<LinkTo @route="topology" @activeClass="is-active" data-test-gutter-link="topology">
|
|
|
|
Topology
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2017-09-19 14:47:10 +00:00
|
|
|
</ul>
|
|
|
|
</aside>
|
2021-06-11 21:15:26 +00:00
|
|
|
{{#if this.system.agent.version}}
|
2021-12-20 20:38:41 +00:00
|
|
|
<footer class="gutter-footer">
|
|
|
|
<span class="is-faded">
|
|
|
|
v
|
|
|
|
{{this.system.agent.version}}
|
|
|
|
</span>
|
|
|
|
</footer>
|
2021-06-11 21:15:26 +00:00
|
|
|
{{/if}}
|
2017-09-19 14:47:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-31 17:23:41 +00:00
|
|
|
<div data-test-page-content class="page-column is-right">
|
2017-09-19 14:47:10 +00:00
|
|
|
{{yield}}
|
|
|
|
</div>
|
2021-12-20 20:38:41 +00:00
|
|
|
<div
|
|
|
|
data-test-gutter-backdrop
|
|
|
|
class="gutter-backdrop {{if this.isOpen "is-open"}}"
|
|
|
|
onclick={{action this.onHamburgerClick}}
|
|
|
|
></div>
|