Skip to content

Commit 7287f00

Browse files
committed
merge development
2 parents b16aca2 + eb11c2e commit 7287f00

1 file changed

Lines changed: 70 additions & 15 deletions

File tree

packages/playground/src/components/node_details.vue

Lines changed: 70 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
transition="dialog-bottom-transition"
55
hide-overlay
66
attach="#modals"
7-
@update:model-value="(val:boolean) => closeDialog(val)"
7+
min-height="95%"
8+
@update:model-value="(val: boolean) => closeDialog(val)"
89
@click:outside="() => $emit('close-dialog', false)"
910
>
1011
<v-toolbar color="primary">
1112
<div class="d-flex justify-center">
12-
<v-btn icon dark @click="() => $emit('close-dialog', false)">
13+
<v-btn
14+
icon
15+
dark
16+
@click="() => $emit('close-dialog', false)"
17+
>
1318
<v-icon color="anchor">
1419
mdi-close
1520
</v-icon>
@@ -27,37 +32,87 @@
2732
<template v-else-if="isError">
2833
<v-card class="d-flex justify-center align-center h-screen">
2934
<div class="text-center w-100 pa-3">
30-
<v-icon variant="tonal" color="error" style="font-size: 50px" icon="mdi-close-circle-outline" />
35+
<v-icon
36+
variant="tonal"
37+
color="error"
38+
style="font-size: 50px"
39+
icon="mdi-close-circle-outline"
40+
/>
3141
<p class="mt-4 mb-4 font-weight-bold text-error">
3242
{{ errorMessage }}
3343
</p>
34-
<v-btn class="mr-4" text="Try Again" @click="requestNode" />
35-
<v-btn color="error" text="Cancel" @click="(val:boolean) => closeDialog(val)" />
44+
<v-btn
45+
class="mr-4"
46+
text="Try Again"
47+
@click="requestNode"
48+
/>
49+
<v-btn
50+
color="error"
51+
text="Cancel"
52+
@click="(val: boolean) => closeDialog(val)"
53+
/>
3654
</div>
3755
</v-card>
3856
</template>
3957

4058
<template v-else>
4159
<v-card>
42-
<node-resources-charts :node="node" :is-live-stats="isLiveStats" :hint-message="errorLoadingStatsMessage" />
43-
<v-row class="pa-8 mt-5" justify-md="start" justify-sm="center">
44-
<v-col cols="12" md="6" sm="12">
60+
<node-resources-charts
61+
:node="node"
62+
:is-live-stats="isLiveStats"
63+
:hint-message="errorLoadingStatsMessage"
64+
/>
65+
<v-row
66+
class="pa-8 mt-5"
67+
justify-md="start"
68+
justify-sm="center"
69+
>
70+
<v-col
71+
cols="12"
72+
md="6"
73+
sm="12"
74+
>
4575
<node-details-card :node="node" />
46-
<farm-details-card class="mt-5" :node="node" />
47-
<interfaces-details-card class="mt-5" :node="node" />
76+
<farm-details-card
77+
class="mt-5"
78+
:node="node"
79+
/>
80+
<interfaces-details-card
81+
class="mt-5"
82+
:node="node"
83+
/>
4884
<public-config-details-card
4985
v-if="node.publicConfig && node.publicConfig.domain"
5086
class="mt-5"
5187
:node="node"
5288
/>
5389

54-
<cpu-benchmark-card v-if="hasActiveProfile && node.healthy" class="mt-5" :node="node" />
90+
<cpu-benchmark-card
91+
v-if="hasActiveProfile && node.healthy"
92+
class="mt-5"
93+
:node="node"
94+
/>
5595
</v-col>
56-
<v-col cols="12" md="6" sm="12">
96+
<v-col
97+
cols="12"
98+
md="6"
99+
sm="12"
100+
>
57101
<country-details-card :node="node" />
58-
<twin-details-card class="mt-3" :node="node" />
59-
<gpu-details-card v-if="node.gpus?.length" class="mt-3" :node="node" />
60-
<i-perf-card v-if="hasActiveProfile && node.healthy" class="mt-3" :node="node" />
102+
<twin-details-card
103+
class="mt-3"
104+
:node="node"
105+
/>
106+
<gpu-details-card
107+
v-if="node.gpus?.length"
108+
class="mt-3"
109+
:node="node"
110+
/>
111+
<i-perf-card
112+
v-if="hasActiveProfile && node.healthy"
113+
class="mt-3"
114+
:node="node"
115+
/>
61116
</v-col>
62117
</v-row>
63118
</v-card>

0 commit comments

Comments
 (0)