summaryrefslogtreecommitdiffstats
path: root/src/templates/wifi.template.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/wifi.template.html')
-rw-r--r--src/templates/wifi.template.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/templates/wifi.template.html b/src/templates/wifi.template.html
new file mode 100644
index 0000000..a2203c3
--- /dev/null
+++ b/src/templates/wifi.template.html
@@ -0,0 +1,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> \ No newline at end of file