summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-12-05 13:10:59 +0100
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:20:13 +0100
commitadf54e211279a4efd6231b3396fbb28c7267258c (patch)
tree2e73b4ffaa54f89d62f3b7dc04eb7c49b8e34181 /src/templates
parent32fce57b92a010f94bb22c1afe3e50e8a2b1f282 (diff)
FUNCT Add strength to wifi
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/wifi.template.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/templates/wifi.template.html b/src/templates/wifi.template.html
index a2203c3..72b93b4 100644
--- a/src/templates/wifi.template.html
+++ b/src/templates/wifi.template.html
@@ -18,7 +18,7 @@
<div class="col-1">
<i class="fas fa-wifi"></i>
</div>
- <div class="col-9">
+ <div class="col-6">
<div>
{{ properties.name }}
</div>
@@ -26,8 +26,10 @@
{{ properties.ethernet.address}}
</div>
</div>
- <div class="col-2 text-right">
- {{ properties.strength }}%
+ <div class="col-5 text-right">
+ <div class="progress">
+ <div class="progress-bar" role="progressbar" style="width: {{properties.strength}}%;" aria-valuenow="{{properties.strength}}" aria-valuemin="0" aria-valuemax="100"></div>
+ </div>
</div>
</div>
{{ /devices }}