Skip to content

Commit c1c3e32

Browse files
committed
added 24/7 tooltip
1 parent 896cb08 commit c1c3e32

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

frontend/src/components/ui/ModelCard.svelte

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ class="relative group flex flex-nowrap py-3 px-4 pr-10 rounded-lg border border-
8181
>
8282
Metrics
8383
</a>
84+
<span
85+
class="uptime-badge"
86+
title="This service is running on CSCS L2 Kubernetes"
87+
>
88+
24/7
89+
</span>
8490
{/if}
8591
{#if entry.data.instanceCount > 1}
8692
<span class="instance-count" title="Number of launched instances for higher throughput">
@@ -133,6 +139,17 @@ class="relative group flex flex-nowrap py-3 px-4 pr-10 rounded-lg border border-
133139
background-color: #15803d;
134140
}
135141
142+
.uptime-badge {
143+
background-color: #2563eb;
144+
color: white;
145+
font-weight: bold;
146+
font-size: 0.75em;
147+
padding: 0 6px;
148+
border-radius: 4px;
149+
flex-shrink: 0;
150+
cursor: help;
151+
}
152+
136153
@keyframes check-bounce {
137154
0% {
138155
transform: scale(1);

0 commit comments

Comments
 (0)