From b2a2296d98aa3f13afa972e3b7ce06632438e958 Mon Sep 17 00:00:00 2001
From: legop3 ae?(q.sortIndex=Z,s(g,q),l(x)===null&&q===l(g)&&(M?(N(D),D=-1):M=!0,H(O,Z-ae))):(q.sortIndex=ue,s(x,q),C||E||(C=!0,X||(X=!0,ee()))),q},n.unstable_shouldYield=$,n.unstable_wrapCallback=function(q){var L=S;return function(){var Z=S;S=L;try{return q.apply(this,arguments)}finally{S=Z}}}})(Iu)),Iu}var b0;function by(){return b0||(b0=1,Zu.exports=vy()),Zu.exports}var Ju={exports:{}},Bt={};var y0;function yy(){if(y0)return Bt;y0=1;var n=Vd();function s(x){var g="https://react.dev/errors/"+x;if(1
d(ne,Z))se
Try again in {cooldownSeconds}s.
+About {cooldownSeconds}s remaining.
) : null} @@ -106,7 +106,7 @@ export default function VipLiftCard({ lift, onUp, onDown, fullWidth = false }) { type="button" disabled={!canRun} onClick={() => run('down', onDown)} - className={`rounded-md px-1 py-0.75 text-base font-semibold transition disabled:opacity-50 ${position === 'down' || activeTarget === 'down' ? 'bg-sky-600 text-white' : 'bg-slate-700 text-slate-100 hover:bg-slate-600'}`} + className={`button-dark w-full text-sm disabled:opacity-50 ${position === 'down' || activeTarget === 'down' ? 'bg-emerald-500 text-white hover:bg-emerald-500' : ''}`} > {working === 'down' || activeTarget === 'down' ? 'Lowering...' : 'Down'} @@ -114,7 +114,7 @@ export default function VipLiftCard({ lift, onUp, onDown, fullWidth = false }) { type="button" disabled={!canRun} onClick={() => run('up', onUp)} - className={`rounded-md px-1 py-0.75 text-base font-semibold transition disabled:opacity-50 ${position === 'up' || activeTarget === 'up' ? 'bg-emerald-600 text-white' : 'bg-slate-700 text-slate-100 hover:bg-slate-600'}`} + className={`button-dark w-full text-sm disabled:opacity-50 ${position === 'up' || activeTarget === 'up' ? 'bg-emerald-500 text-white hover:bg-emerald-500' : ''}`} > {working === 'up' || activeTarget === 'up' ? 'Raising...' : 'Up'} diff --git a/webui/src/components/vip/VipNeatoCard.jsx b/webui/src/components/vip/VipNeatoCard.jsx index ba92348f..a560a665 100644 --- a/webui/src/components/vip/VipNeatoCard.jsx +++ b/webui/src/components/vip/VipNeatoCard.jsx @@ -24,14 +24,13 @@ function metricToneClass(tone) { if (tone === 'good') return 'bg-emerald-600 text-white'; if (tone === 'warn') return 'bg-amber-500 text-slate-900'; if (tone === 'danger') return 'bg-rose-600 text-white'; - if (tone === 'info') return 'bg-sky-600 text-white'; return 'bg-slate-700 text-slate-100'; } -function StatusTile({ label, value, tone = 'muted', valueClass = '' }) { +function StatusTile({ label, value, tone = 'muted', valueClass = '', hideLabel = false }) { return (Controls
+ + +Power status
+Robot Status
+