summaryrefslogtreecommitdiffstats
path: root/src/templates/wifi.template.html
blob: a2203c320c035e192085460617b9b1c2773f7dba (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
<div class="container">
    <h2 class="my-5">
        <div class="row">
            <div class="col-1" onclick="wifi.hide()">
                <i class="fas fa-chevron-left"></i>
            </div>
            <div class="col-10">
                Wifi
            </div>
            <div class="col-1" onclick="wifi.show()">
                <i class="fas fa-sync"></i>               
            </div> 
        </div>
    </h2>
    <div class="list-group scrollable">
            {{ #devices }}
                <div class="row border-bottom py-3 list-group-action">
                    <div class="col-1">
                        <i class="fas fa-wifi"></i>
                    </div>
                    <div class="col-9">
                        <div>
                            {{ properties.name }}
                        </div>
                        <div class="badge badge-secondary">
                            {{ properties.ethernet.address}}
                        </div>
                    </div>
                    <div class="col-2 text-right">
                        {{ properties.strength }}%
                    </div>
                </div>
            {{ /devices }}
        </div>
    </div>