mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
remove type badge from light controls
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||||
<title>Multi Roomba Rover</title>
|
<title>Multi Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-D5R4QPMU.js"></script>
|
<script type="module" crossorigin src="/assets/index-D8Pr9nif.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-BTAtpc9C.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-BTAtpc9C.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ function EntityRow({ entity, connected, onToggle }) {
|
|||||||
<div className="min-w-0">
|
<div className="min-w-0">
|
||||||
<div className="flex items-center gap-1 text-sm">
|
<div className="flex items-center gap-1 text-sm">
|
||||||
<span className="truncate font-semibold text-white">{entity.name || entity.id}</span>
|
<span className="truncate font-semibold text-white">{entity.name || entity.id}</span>
|
||||||
<StatusBadge label={entity.type === 'light' ? 'Light' : 'Switch'} />
|
{/* <StatusBadge label={entity.type === 'light' ? 'Light' : 'Switch'} /> */}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-1 text-xs text-slate-400">
|
<div className="flex items-center gap-1 text-xs text-slate-400">
|
||||||
<StatusBadge label={statusLabel} tone={statusTone} />
|
<StatusBadge label={statusLabel} tone={statusTone} />
|
||||||
|
|||||||
Reference in New Issue
Block a user