2017-09-19 14:47:10 +00:00
|
|
|
<div class="page-column is-left">
|
|
|
|
<div class="gutter">
|
|
|
|
<aside class="menu">
|
|
|
|
<p class="menu-label">
|
|
|
|
Workload
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2017-10-23 17:26:48 +00:00
|
|
|
{{#if system.shouldShowNamespaces}}
|
2017-10-10 17:54:23 +00:00
|
|
|
<li>
|
|
|
|
<div class="menu-item">
|
|
|
|
{{#power-select
|
2017-10-11 17:10:27 +00:00
|
|
|
options=sortedNamespaces
|
2017-10-10 17:54:23 +00:00
|
|
|
selected=system.activeNamespace
|
|
|
|
searchField="name"
|
2017-10-11 17:10:27 +00:00
|
|
|
searchEnabled=(gt sortedNamespaces.length 10)
|
2017-10-10 17:54:23 +00:00
|
|
|
onchange=(action (queue
|
|
|
|
(action (mut system.activeNamespace))
|
|
|
|
(action onNamespaceChange)
|
|
|
|
))
|
2017-10-11 17:10:27 +00:00
|
|
|
tagName="div"
|
|
|
|
class="namespace-switcher"
|
2017-10-10 17:54:23 +00:00
|
|
|
as |namespace|}}
|
|
|
|
{{#if (eq namespace.name "default")}}
|
|
|
|
Default Namespace
|
|
|
|
{{else}}
|
|
|
|
{{namespace.name}}
|
|
|
|
{{/if}}
|
|
|
|
{{/power-select}}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2017-09-19 14:47:10 +00:00
|
|
|
<li>{{#link-to "jobs" activeClass="is-active"}}Jobs{{/link-to}}</li>
|
|
|
|
</ul>
|
|
|
|
<p class="menu-label">
|
|
|
|
Cluster
|
|
|
|
</p>
|
|
|
|
<ul class="menu-list">
|
2017-10-28 01:23:41 +00:00
|
|
|
<li>{{#link-to "clients" activeClass="is-active"}}Clients{{/link-to}}</li>
|
2017-09-19 14:47:10 +00:00
|
|
|
<li>{{#link-to "servers" activeClass="is-active"}}Servers{{/link-to}}</li>
|
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="page-column is-right">
|
|
|
|
{{yield}}
|
|
|
|
</div>
|