open-nomad/ui/app/templates/components/attributes-table.hbs
Michael Schurter 35d65c7c7e
Dynamic Node Metadata (#15844)
Fixes #14617
Dynamic Node Metadata allows Nomad users, and their jobs, to update Node metadata through an API. Currently Node metadata is only reloaded when a Client agent is restarted.

Includes new UI for editing metadata as well.

---------

Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-02-07 14:42:25 -08:00

16 lines
382 B
Handlebars

<table class="table is-striped is-fixed is-compact is-darkened no-mobile-condense" ...attributes>
<thead>
<tr>
<th class="is-one-third">Name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<AttributesSection @attributes={{@attributePairs}}
@editable={{@editable}}
@onKVEdit={{@onKVEdit}}
@onKVSave={{@onKVSave}}
/>
</tbody>
</table>