mobile formatting
This commit is contained in:
		@@ -1,14 +1,15 @@
 | 
				
			|||||||
<div class="fill-height p-3" style="background-color: #b52e3c !important;">
 | 
					<div class="fill-height p-3" style="background-color: #b52e3c !important;">
 | 
				
			||||||
    <div style="max-width: 1000px;">
 | 
					    <div style="max-width: 1000px;">
 | 
				
			||||||
        <div class="d-flex justify-content-between mb-4">
 | 
					        <div class="d-flex flex-column flex-md-row justify-content-between">
 | 
				
			||||||
            <div>
 | 
					            <div class="mb-3">
 | 
				
			||||||
                <h1 class="mb-0">Powerwall: {{batteryService.charge | number : '1.1-1'}} V</h1>
 | 
					                <h1 class="mb-0">Powerwall: {{batteryService.charge | number : '1.1-1'}} V</h1>
 | 
				
			||||||
                <h6>Last Updated At: {{batteryService.lastUpdate | date: 'short'}}</h6>
 | 
					                <h6>Last Updated At: {{batteryService.lastUpdate | date: 'short'}}</h6>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <div class="d-flex flex-column align-content-center">
 | 
					            <div class="d-flex flex-column align-content-center mb-3">
 | 
				
			||||||
                <div>
 | 
					                <div>
 | 
				
			||||||
                    <h5><mat-icon *ngIf="locked" class="mr-1">lock</mat-icon>Cooling Fans</h5>
 | 
					                    <h5><mat-icon *ngIf="locked" class="mr-1">lock</mat-icon>Cooling Fans</h5>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
 | 
					                <div>
 | 
				
			||||||
                    <mat-button-toggle-group class="mb-3" [ngModel]="batteryService.relayMode"
 | 
					                    <mat-button-toggle-group class="mb-3" [ngModel]="batteryService.relayMode"
 | 
				
			||||||
                                             (change)="batteryService.setRelayMode($event.value)" [disabled]="locked">
 | 
					                                             (change)="batteryService.setRelayMode($event.value)" [disabled]="locked">
 | 
				
			||||||
                        <mat-button-toggle value="null">Auto</mat-button-toggle>
 | 
					                        <mat-button-toggle value="null">Auto</mat-button-toggle>
 | 
				
			||||||
@@ -17,6 +18,7 @@
 | 
				
			|||||||
                    </mat-button-toggle-group>
 | 
					                    </mat-button-toggle-group>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
        <mat-card class="mt-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">
 | 
				
			||||||
                <div class="d-flex flex-grow-1 align-items-center">
 | 
					                <div class="d-flex flex-grow-1 align-items-center">
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user