summaryrefslogtreecommitdiffstats
path: root/src/index.html
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-12-05 08:28:11 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:20:13 +0100
commit20e04b702f96bf05ff957a8e3c4296d76a2e7656 (patch)
tree2e54b8551b0e61bff963d7389741c747aa56cd37 /src/index.html
parent56514d2337ab5b1d2d8f3666c211e2e04f73bd68 (diff)
FUNCT Add wifi support
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/index.html b/src/index.html
index 6ec2e60..20de554 100644
--- a/src/index.html
+++ b/src/index.html
@@ -147,17 +147,22 @@
</h1>
<div id="WifiContainer" class="container"></div>
<script id="wifi-device-template" type="x-tmpl-mustache">
- <a href="#" class="entry">
+ <div class="entry" service="{{service}}">
<div class="icon">
- <span class="icon-wifi"></span>
+ <span class="fas fa-wifi"></span>
</div>
- <div class="label">
- {{ properties.name }}
+ <div class="label" onclick="window.manage_bluetooth('{{device}}', {{properties.paired}}, {{ properties.connected }})">
+ <div class="title">
+ {{ properties.name }}
+ </div>
+ <div class="subtitle">
+ {{ properties.ethernet.address }}
+ </div>
</div>
<div class="control">
- <span class="icon-clear"></span>
+ {{ properties.strength }}%
</div>
- </a>
+ </div>
</script>
</div>