aboutsummaryrefslogtreecommitdiff
path: root/src/views/pages/dashboard/devices.pug
blob: a7253f89df0ec2e6806b52647a4eb2e64aa19418 (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
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