aboutsummaryrefslogtreecommitdiff
path: root/src/views/pages/dashboard/devices.pug
blob: 995352822a32317e1c383438c7104baca83e706f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
doctype html

html

    head

        include ../../components/head.pug

        link(href="/public/css/dashboard.css" rel="stylesheet")

        title Devices | Home Control

    body

        main

            section.heading

                h1 Devices

                input(type="checkbox")

            if !devices || devices.length < 1
            
                p No devices :(

            else

                section.devices

                    each device in devices

                        include ../../components/dashboard/device.pug

        include ../../components/dashboard/sidebar.pug

        script(src="/public/js/devices.js")