hanze/muizenval

swapped icons (e1971798d76d55094ef250c1643d6bdf2d18ee2d)
Repositories

commit e1971798d76d55094ef250c1643d6bdf2d18ee2d
parent 641da657266058001c84a498e19bb794a5493e1b
Author: Friedel Schön <[email protected]>
Date:   Thu, 30 Jun 2022 01:53:27 +0200

swapped icons

Diffstat:
Mremote.py2+-
Mserver/static/trap.js2+-
Mserver/templates/trap.html2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/remote.py b/remote.py @@ -15,7 +15,7 @@ import websockets WEBSOCKET_PORT = 1612 -client = HTTPConnection('localhost', 5000) +client = HTTPConnection('muizenval.tk', 80) remote = Remote(115200) token: Optional[str] = None diff --git a/server/static/trap.js b/server/static/trap.js @@ -65,7 +65,7 @@ function addTrap(trap) { else if (trap.temperature < -10) (tempIcon = 'temperature-low'), (statusString += ', onderkoeld'); if (tempIcon) statusIcons += `<i class='fas fa-${tempIcon}'></i>`; - if (trap.locationSearch) (statusIcons += '<i class="fas fa-location"></i>'), (statusString += ', zoekt naar locatie'); + if (trap.locationSearch) (statusIcons += '<i class="fas fa-satellite"></i>'), (statusString += ', zoekt naar locatie'); } clone.querySelector('a.update').onclick = function () { diff --git a/server/templates/trap.html b/server/templates/trap.html @@ -23,7 +23,7 @@ <p><b><span class="status"></span></b></p> <p><i class="fas fa-face-smile"></i> geregistreerd sinds <span class="owned-date"></p> <p><i class="fas fa-wave-square"></i> laaste update om <span class="last-status"></span></p> - <p class="accuracy"><i class="fas fa-satellite"></i> nauwkeurigheid: <span class="accuracy"></span>% + <p class="accuracy"><i class="fas fa-location"></i> nauwkeurigheid: <span class="accuracy"></span>% met <span class="satellites"></span> satelliet(en)</p> <p><i class="fas fa-temperature-half"></i> temperatuur: <span class="temperature"></span>&deg;C</p> <p class="battery"><i class="fas fa-battery-half"></i> batterij: <span class="battery"></span>%</p>