From 04bfb5881c510aff5544f276e5a37d9316bbf249 Mon Sep 17 00:00:00 2001 From: Autumn Date: Sat, 16 May 2026 08:12:51 +0100 Subject: [pages] added styling & improved components --- src/views/components/dashboard/device.pug | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/views/components/dashboard/device.pug (limited to 'src/views/components/dashboard/device.pug') diff --git a/src/views/components/dashboard/device.pug b/src/views/components/dashboard/device.pug new file mode 100644 index 0000000..099a54b --- /dev/null +++ b/src/views/components/dashboard/device.pug @@ -0,0 +1,12 @@ +article.device + + div + p= device.name + + div + + if device.type == "light" + button Toggle + + - let location = `/devices/${device.id}` + a(href=location) View -- cgit v1.3