open-nomad/ui/app/templates/clients/client/monitor.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
459 B
Handlebars
Raw Normal View History

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
~}}
{{page-title "Client " (or this.model.name this.model.shortId)}}
<ClientSubnav @client={{this.model}} />
2020-06-25 03:37:12 +00:00
<section class="section is-full-width">
{{#if (can "read agent")}}
<AgentMonitor
@level={{this.level}}
@client={{this.model}}
@onLevelChange={{action (mut this.level)}} />
{{else}}
<ForbiddenMessage @permission="agent:read" />
{{/if}}
2020-06-13 03:59:33 +00:00
</section>