From b772e06cce74cf9c72676b342df9568cfbef12dd Mon Sep 17 00:00:00 2001
From: Unknown
Date: Mon, 14 Jan 2019 21:58:19 +0100
Subject: [PATCH] bootstrap+battery(add bootstr in angular.js)
---
src/app/header/header.component.html | 8 +-------
src/app/status-list/status-list.component.html | 12 ++++++------
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html
index 165f7ff..728d638 100644
--- a/src/app/header/header.component.html
+++ b/src/app/header/header.component.html
@@ -5,13 +5,7 @@
-
-
![battery](/assets/img/battery.png)
-
- 98
- %
-
-
+
diff --git a/src/app/status-list/status-list.component.html b/src/app/status-list/status-list.component.html
index 3c0c7c9..2b840a0 100644
--- a/src/app/status-list/status-list.component.html
+++ b/src/app/status-list/status-list.component.html
@@ -32,7 +32,7 @@
? "Zajęte"
: device.lastStatus == 0
? "Wolne"
- : "Brak połączenia z czujnikiem"
+ : "Rozładowana bateria"
}}
@@ -59,18 +59,18 @@
? "Zajęte"
: activeDevice.lastStatus == 0
? "Wolne"
- : "Brak połączenia z czujnikiem"
+ : "Rozładowana bateria"
}}
{{
activeDevice.lastStatus == 1
- ? "Zajęte"
+ ? "Zajęte od:"
: activeDevice.lastStatus == 0
- ? "Wolne"
- : "Brak połączenia z czujnikiem"
+ ? "Wolne od:"
+ : "Rozładowana bateria"
}}
- od:
+
{{ time > 60 ? this.Math.floor(time / 60) : this.Math.floor(time) }}
{{ time > 60 ? "min" : "sek" }}