Powerwall page reformatted
This commit is contained in:
parent
d388e8b73d
commit
31f0399e35
@ -1,18 +1,12 @@
|
||||
<div class="desktop-height p-3" style="background-color: #b52e3c !important;">
|
||||
<div style="max-width: 1000px;">
|
||||
<div class="d-flex mb-3">
|
||||
<div class="d-flex flex-grow-1 align-items-center">
|
||||
<h3 class="mb-0 text-white">Powerwall: {{batteryService.charge | round}} V</h3>
|
||||
</div>
|
||||
<div class="d-flex flex-grow-1 align-content-center justify-content-end">
|
||||
<h1 class="text-white">Powerwall: {{batteryService.charge | round}} V</h1>
|
||||
<mat-button-toggle-group [(ngModel)]="batteryService.relayMode" (change)="batteryService.setRelayMode($event.value)">
|
||||
<mat-button-toggle [value]="null" checked>Auto</mat-button-toggle>
|
||||
<mat-button-toggle [value]="true">On</mat-button-toggle>
|
||||
<mat-button-toggle [value]="false">Off</mat-button-toggle>
|
||||
</mat-button-toggle-group>
|
||||
</div>
|
||||
</div>
|
||||
<mat-card class="mb-2" *ngFor="let battery of batteryService.batteries; let i = index">
|
||||
<mat-card class="mt-2" *ngFor="let battery of batteryService.batteries; let i = index">
|
||||
<div class="d-flex">
|
||||
<div class="d-flex flex-grow-1 align-items-center">
|
||||
<h5 class="mb-0">{{battery.name}}</h5>
|
||||
|
@ -12,7 +12,7 @@ export class BatteryComponent implements OnInit {
|
||||
name: 'cool',
|
||||
selectable: true,
|
||||
group: 'Ordinal',
|
||||
domain: ['#a8385d', '#7aa3e5', '#a27ea8', '#aae3f5', '#adcded', '#a95963', '#8796c0', '#7ed3ed', '#50abcc', '#ad6886']
|
||||
domain: ['#2830a8']
|
||||
};
|
||||
selected;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user