mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-04 14:05:56 +01:00
if disableClusterSelection is set, display info in cluster filter
- instead of undocumented unresponsive cluster name select
This commit is contained in:
parent
38569f55c7
commit
42135fd26c
@ -43,6 +43,10 @@
|
|||||||
<ModalBody>
|
<ModalBody>
|
||||||
{#if $initialized}
|
{#if $initialized}
|
||||||
<h4>Cluster</h4>
|
<h4>Cluster</h4>
|
||||||
|
{#if disableClusterSelection}
|
||||||
|
<Button color="info" class="w-100 mb-2" disabled><b>Info: Cluster Selection Disabled in This View</b></Button>
|
||||||
|
<Button outline color="primary" class="w-100 mb-2" disabled><b>Selected Cluster: {cluster}</b></Button>
|
||||||
|
{:else}
|
||||||
<ListGroup>
|
<ListGroup>
|
||||||
<ListGroupItem
|
<ListGroupItem
|
||||||
disabled={disableClusterSelection}
|
disabled={disableClusterSelection}
|
||||||
@ -64,6 +68,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</ListGroup>
|
</ListGroup>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
{#if $initialized && pendingCluster != null}
|
{#if $initialized && pendingCluster != null}
|
||||||
<br />
|
<br />
|
||||||
<h4>Partiton</h4>
|
<h4>Partiton</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user