mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-31 02:46:16 +01:00
move public dash close button
This commit is contained in:
@@ -338,7 +338,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Card style="height: 98vh;">
|
<Card style="height: 98vh;">
|
||||||
<CardBody class="align-content-center">
|
<CardBody class="align-content-center p-1">
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
<Refresher
|
<Refresher
|
||||||
@@ -354,11 +354,6 @@
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
<Col class="d-flex justify-content-end">
|
|
||||||
<Button outline class="mb-1" size="sm" color="light" href="/">
|
|
||||||
<Icon name="x"/>
|
|
||||||
</Button>
|
|
||||||
</Col>
|
|
||||||
</Row>
|
</Row>
|
||||||
{#if $statusQuery.fetching || $statesTimed.fetching}
|
{#if $statusQuery.fetching || $statesTimed.fetching}
|
||||||
<Row class="justify-content-center">
|
<Row class="justify-content-center">
|
||||||
@@ -368,6 +363,13 @@
|
|||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
{:else if $statusQuery.error || $statesTimed.error}
|
{:else if $statusQuery.error || $statesTimed.error}
|
||||||
|
<Row class="mb-2">
|
||||||
|
<Col class="d-flex justify-content-end">
|
||||||
|
<Button color="secondary" href="/">
|
||||||
|
<Icon name="x"/>
|
||||||
|
</Button>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
<Row cols={{xs:1, md:2}}>
|
<Row cols={{xs:1, md:2}}>
|
||||||
{#if $statusQuery.error}
|
{#if $statusQuery.error}
|
||||||
<Col>
|
<Col>
|
||||||
@@ -385,8 +387,17 @@
|
|||||||
<Row cols={{xs:1, md:2}}>
|
<Row cols={{xs:1, md:2}}>
|
||||||
<Col> <!-- General Cluster Info Card -->
|
<Col> <!-- General Cluster Info Card -->
|
||||||
<Card class="h-100">
|
<Card class="h-100">
|
||||||
<CardHeader class="text-center">
|
<CardHeader>
|
||||||
|
<Row>
|
||||||
|
<Col xs="11" class="text-center">
|
||||||
<h2 class="mb-0">Cluster {presetCluster.charAt(0).toUpperCase() + presetCluster.slice(1)}</h2>
|
<h2 class="mb-0">Cluster {presetCluster.charAt(0).toUpperCase() + presetCluster.slice(1)}</h2>
|
||||||
|
</Col>
|
||||||
|
<Col xs="1" class="d-flex justify-content-end">
|
||||||
|
<Button color="light" href="/">
|
||||||
|
<Icon name="x"/>
|
||||||
|
</Button>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardBody>
|
<CardBody>
|
||||||
<h4>CPU(s)</h4><p><strong>{[...clusterInfo?.processorTypes].join(', ')}</strong></p>
|
<h4>CPU(s)</h4><p><strong>{[...clusterInfo?.processorTypes].join(', ')}</strong></p>
|
||||||
|
|||||||
Reference in New Issue
Block a user