Files
local-server/ui/js/Host.js

15 lines
396 B
JavaScript
Raw Permalink Normal View History

const Host = {
2023-02-07 21:29:19 +01:00
components: { Downloads },
props: [ 'host', 'token', 'state' ],
template: `
2025-06-29 00:12:12 +02:00
<p>Cluster: {{ host.Cluster }}<template v-if="host.Template"> ({{ host.Template }})</template></p>
<p>IPs:
<code v-for="ip in host.IPs">
{{ ip }}{{" "}}
</code>
</p>
<h3>Downloads</h3>
<Downloads :token="token" :state="state" kind="host" :name="host.Name" />
2023-02-07 21:29:19 +01:00
`
}