Added stuff

This commit is contained in:
Zakary Timson 2019-01-01 17:47:12 -05:00
parent cec1e09bb0
commit 9ccab35558
5 changed files with 6 additions and 10 deletions

View File

@ -47,7 +47,8 @@ export class BatteryService {
this.last = new Date(); this.last = new Date();
let data = snap.data(); let data = snap.data();
this.relayMode = data.config.relayMode || null; this.relayMode = data.config.relayMode || null
;
this.batteries = Object.keys(data.modules).map(key => { this.batteries = Object.keys(data.modules).map(key => {
let last = data.modules[key].length - 1; let last = data.modules[key].length - 1;

View File

@ -1,3 +1 @@
<p> <h3 class="mt-3 text-center">Coming Soon</h3>
dashboard works!
</p>

View File

@ -1,3 +1 @@
<p> <h3 class="mt-3 text-center">Coming Soon</h3>
security works!
</p>

View File

@ -1,3 +1 @@
<p> <h3 class="mt-3 text-center">Coming Soon</h3>
settings works!
</p>

View File

@ -2,6 +2,7 @@
<!-- Current Weather --> <!-- Current Weather -->
<div class="my-5 d-flex flex-column align-items-center"> <div class="my-5 d-flex flex-column align-items-center">
<div> <div>
<h3 class="mb-0 text-center">London, ON</h3>
<h3>{{weatherService.weather?.currently.summary}}</h3> <h3>{{weatherService.weather?.currently.summary}}</h3>
</div> </div>
<div class="d-flex flex-column flex-md-row align-items-center justify-content-center"> <div class="d-flex flex-column flex-md-row align-items-center justify-content-center">