open-nomad/ui/app/templates/clients/client/monitor.hbs
2020-06-24 20:37:12 -07:00

13 lines
348 B
Handlebars

{{title "Client " (or model.name model.shortId)}}
<ClientSubnav @client={{model}} />
<section class="section is-full-width">
{{#if (can "read agent")}}
<AgentMonitor
@level={{level}}
@client={{model}}
@onLevelChange={{action (mut level)}} />
{{else}}
<ForbiddenMessage @permission="agent:read" />
{{/if}}
</section>