bootstrap+battery(add bootstr in angular.js)
This commit is contained in:
parent
ac833d8ab8
commit
b772e06cce
@ -5,13 +5,7 @@
|
||||
<img src="/assets/img/logo.png" routerLink="/" class="logo-img" alt="logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="battery col-md-3 col-xs-3">
|
||||
<img src="/assets/img/battery.png" class="battery-img" alt="battery">
|
||||
<div class="battery-percent">
|
||||
<span>98</span>
|
||||
<span>%</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
? "Zajęte"
|
||||
: device.lastStatus == 0
|
||||
? "Wolne"
|
||||
: "Brak połączenia z czujnikiem"
|
||||
: "Rozładowana bateria"
|
||||
}}</b>
|
||||
</div>
|
||||
</div>
|
||||
@ -59,18 +59,18 @@
|
||||
? "Zajęte"
|
||||
: activeDevice.lastStatus == 0
|
||||
? "Wolne"
|
||||
: "Brak połączenia z czujnikiem"
|
||||
: "Rozładowana bateria"
|
||||
}}</span>
|
||||
</p>
|
||||
<p class="machine-status2">
|
||||
{{
|
||||
activeDevice.lastStatus == 1
|
||||
? "Zajęte"
|
||||
? "Zajęte od:"
|
||||
: activeDevice.lastStatus == 0
|
||||
? "Wolne"
|
||||
: "Brak połączenia z czujnikiem"
|
||||
? "Wolne od:"
|
||||
: "Rozładowana bateria"
|
||||
}}
|
||||
od:
|
||||
|
||||
<span
|
||||
>{{ time > 60 ? this.Math.floor(time / 60) : this.Math.floor(time) }}
|
||||
{{ time > 60 ? "min" : "sek" }}
|
||||
|
Loading…
Reference in New Issue
Block a user