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

18 lines
440 B
JavaScript
Raw Normal View History

2023-02-07 21:29:19 +01:00
import Downloads from './Downloads.js';
export default {
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
`
}