2022-04-05 18:34:37 +00:00
|
|
|
<div
|
|
|
|
data-test-gutter-menu
|
|
|
|
class="page-column is-left {{if this.isOpen "is-open"}}"
|
2022-08-17 16:59:33 +00:00
|
|
|
{{did-insert this.keyboard.registerNav type="main"}}
|
2022-04-05 18:34:37 +00:00
|
|
|
>
|
2020-07-09 20:19:07 +00:00
|
|
|
<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}}
|
|
|
|
<ul class="menu-list">
|
2022-08-17 16:59:33 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "j") }}>
|
2022-04-05 18:34:37 +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")}}
|
2022-08-17 16:59:33 +00:00
|
|
|
<li
|
|
|
|
{{keyboard-shortcut
|
|
|
|
menuLevel=true
|
|
|
|
pattern=(array "g" "o")
|
|
|
|
action=(action this.transitionTo 'optimize')
|
|
|
|
}}
|
|
|
|
>
|
2022-04-05 18:34:37 +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}}
|
2022-08-17 16:59:33 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "r") }}>
|
2022-04-05 18:34:37 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="csi"
|
|
|
|
@activeClass="is-active"
|
|
|
|
data-test-gutter-link="storage"
|
|
|
|
>
|
2021-12-20 20:38:41 +00:00
|
|
|
Storage
|
2020-06-01 19:03:56 +00:00
|
|
|
</LinkTo>
|
2020-05-08 04:38:19 +00:00
|
|
|
</li>
|
2022-05-17 18:52:14 +00:00
|
|
|
{{#if (can "list variables")}}
|
2022-08-17 18:44:22 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "v") }}>
|
2022-05-17 18:52:14 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="variables"
|
|
|
|
@activeClass="is-active"
|
|
|
|
data-test-gutter-link="variables"
|
|
|
|
>
|
|
|
|
Variables
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
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">
|
2022-08-17 16:59:33 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "c") }}>
|
2022-04-05 18:34:37 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="clients"
|
|
|
|
@activeClass="is-active"
|
|
|
|
data-test-gutter-link="clients"
|
|
|
|
>
|
2021-12-20 20:38:41 +00:00
|
|
|
Clients
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2022-08-17 16:59:33 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "s") }}>
|
2022-04-05 18:34:37 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="servers"
|
|
|
|
@activeClass="is-active"
|
|
|
|
data-test-gutter-link="servers"
|
|
|
|
>
|
2021-12-20 20:38:41 +00:00
|
|
|
Servers
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2022-08-17 16:59:33 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "t") }}>
|
2022-04-05 18:34:37 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="topology"
|
|
|
|
@activeClass="is-active"
|
|
|
|
data-test-gutter-link="topology"
|
|
|
|
>
|
2021-12-20 20:38:41 +00:00
|
|
|
Topology
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
2017-09-19 14:47:10 +00:00
|
|
|
</ul>
|
2021-12-20 20:40:30 +00:00
|
|
|
<p class="menu-label">
|
|
|
|
Debugging
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2022-08-17 16:59:33 +00:00
|
|
|
<li {{keyboard-shortcut menuLevel=true pattern=(array "g" "e") }}>
|
2022-04-05 18:34:37 +00:00
|
|
|
<LinkTo
|
|
|
|
@route="evaluations"
|
|
|
|
@activeClass="is-active"
|
|
|
|
data-test-gutter-link="evaluations"
|
|
|
|
>
|
2021-12-20 20:40:30 +00:00
|
|
|
Evaluations
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-09-19 14:47:10 +00:00
|
|
|
</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}}
|
2022-04-14 18:56:04 +00:00
|
|
|
></div>
|