ui: rename device group to devices
This commit is contained in:
parent
128c28ff7d
commit
08ff0f1909
@ -23,7 +23,7 @@
|
|||||||
const navItems: NavItem[] = [
|
const navItems: NavItem[] = [
|
||||||
{ name: 'Dashboard', href: '/', Icon: IconHome },
|
{ name: 'Dashboard', href: '/', Icon: IconHome },
|
||||||
{ name: 'Map and Zones', href: '/map', Icon: IconMap },
|
{ name: 'Map and Zones', href: '/map', Icon: IconMap },
|
||||||
{ name: 'Device Groups', href: '/device-groups', Icon: IconCpuChip },
|
{ name: 'Devices', href: '/devices', Icon: IconCpuChip },
|
||||||
{ name: 'Fault', href: '/fault', Icon: IconExclamationTriangle },
|
{ name: 'Fault', href: '/fault', Icon: IconExclamationTriangle },
|
||||||
{ name: 'Notifications', href: '/notifications', Icon: IconBell },
|
{ name: 'Notifications', href: '/notifications', Icon: IconBell },
|
||||||
{ name: 'Admin', href: '/admin', Icon: IconUser },
|
{ name: 'Admin', href: '/admin', Icon: IconUser },
|
||||||
|
@ -4,8 +4,16 @@
|
|||||||
|
|
||||||
<div class="sm:col-span-4 flex gap-2 items-center">
|
<div class="sm:col-span-4 flex gap-2 items-center">
|
||||||
<label for="website" class="block text-sm font-medium leading-6 text-gray-900">Zone ID:</label>
|
<label for="website" class="block text-sm font-medium leading-6 text-gray-900">Zone ID:</label>
|
||||||
<div class="flex rounded-md shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-inset focus-within:ring-indigo-600 sm:max-w-md">
|
<div
|
||||||
<input type="text" name="website" id="website" class="block flex-1 border-0 bg-transparent py-1.5 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm sm:leading-6" placeholder="zone-001">
|
class="flex rounded-md shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-inset focus-within:ring-indigo-600 sm:max-w-md"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
name="website"
|
||||||
|
id="website"
|
||||||
|
class="block flex-1 border-0 bg-transparent py-1.5 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm sm:leading-6"
|
||||||
|
placeholder="zone-001"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
class="inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
|
class="inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
|
||||||
@ -15,16 +23,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Table
|
<Table
|
||||||
addLink="/device-groups/1/add"
|
addLink="/devices/1/add"
|
||||||
deleteLink="/device-groups/1/delete"
|
deleteLink="/devices/1/delete"
|
||||||
description="List of devices in group #001"
|
description="List of devices in group #001"
|
||||||
title="Devices in group #001"
|
title="Devices in group #001"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="mt-10">
|
<div class="mt-10">
|
||||||
<Table
|
<Table
|
||||||
addLink="/device-groups/1/add"
|
addLink="/devices/1/add"
|
||||||
deleteLink="/device-groups/1/delete"
|
deleteLink="/devices/1/delete"
|
||||||
description="When to turn on/off devices"
|
description="When to turn on/off devices"
|
||||||
title="Schedules"
|
title="Schedules"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user