aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.html17
-rw-r--r--src/js/app.js2
2 files changed, 12 insertions, 7 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>
diff --git a/src/js/app.js b/src/js/app.js
index ed7b028..f95852d 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -6,7 +6,7 @@ import { api } from 'agl-js-api';
export function init() {
api.init();
init_bluetooth();
- // init_wifi();
+ init_wifi();
}
window.api = api; \ No newline at end of file