download set with c= to match every host of a cluster

This commit is contained in:
Mikaël Cluseau
2026-06-17 22:20:48 +02:00
parent d975836adf
commit f6b301c9a0
6 changed files with 54 additions and 27 deletions
+19
View File
@@ -0,0 +1,19 @@
const Cluster = {
components: { ClusterAccess, ClusterCAs, GetCopy },
props: [ 'cluster', 'token', 'state' ],
template: `
<ClusterAccess :cluster="cluster" :token="token" :state="state" />
<ClusterCAs :cluster="cluster" :token="token" />
<h3>Secrets</h3>
<h4>Tokens</h4>
<section class="links">
<GetCopy v-for="n in cluster.Tokens" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/tokens/'+n" />
</section>
<h4>Passwords</h4>
<section class="links">
<GetCopy v-for="n in cluster.Passwords" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/passwords/'+n" />
</section>
`
}