Files
local-server/ui/js/Cluster.js
T

20 lines
616 B
JavaScript
Raw Normal View History

2026-01-22 17:54:31 +01:00
const Cluster = {
components: { ClusterAccess, ClusterCAs, GetCopy },
2023-02-07 21:29:19 +01:00
props: [ 'cluster', 'token', 'state' ],
template: `
<ClusterAccess :cluster="cluster" :token="token" :state="state" />
2026-01-22 17:54:31 +01:00
2025-06-29 00:12:12 +02:00
<h3>Tokens</h3>
2023-02-12 11:58:26 +01:00
<section class="links">
<GetCopy v-for="n in cluster.Tokens" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/tokens/'+n" />
</section>
2025-06-29 00:12:12 +02:00
<h3>Passwords</h3>
2023-02-12 11:58:26 +01:00
<section class="links">
<GetCopy v-for="n in cluster.Passwords" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/passwords/'+n" />
</section>
2025-06-29 00:12:12 +02:00
<ClusterCAs :cluster="cluster" :token="token" />
2023-02-07 21:29:19 +01:00
`
}