-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a45c19a
commit 03d65f0
Showing
20 changed files
with
407 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
angular-client/src/components/brake-pressure-display/brake-pressure-display.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
<info-background svgIcon="back_hand" title="Brake Pressure"> | ||
<div style="height: 80%; display: flex; justify-content: center; align-items: center"> | ||
<typography variant="info-value" [content]="brakePressure.toString()"></typography> | ||
<div | ||
style=" | ||
height: 80%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
" | ||
> | ||
<typography variant="info-value" [content]="brakePressure.toString()" /> | ||
<typography variant="info-unit" content="psi" /> | ||
</div> | ||
</info-background> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 32 additions & 27 deletions
59
angular-client/src/components/motor-info/motor-info.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
<info-background svgIcon="electric_car" title="Motor"> | ||
<hstack style="width: 100%; height: 100%"> | ||
<vstack style="padding-left: 20px"> | ||
<hstack spacing="5px"> | ||
<typography variant="info-value" [content]="motorTemp.toString() + '°'" /> | ||
<div class="thermometer-container"> | ||
<thermometer [temperature]="motorTemp" [min]="-15" [max]="30" /> | ||
</div> | ||
</hstack> | ||
<typography variant="info-subtitle" content="Motor Temp" /> | ||
</vstack> | ||
<div style="display: flex; flex-direction: row; width: 100%; height: 150px"> | ||
<hstack> | ||
<vstack style="padding-left: 20px"> | ||
<hstack spacing="5px"> | ||
<typography | ||
variant="info-value" | ||
[content]="motorTemp.toString() + '°'" | ||
/> | ||
<div class="thermometer-container"> | ||
<thermometer [temperature]="motorTemp" [min]="-15" [max]="30" /> | ||
</div> | ||
</hstack> | ||
<typography variant="info-subtitle" content="Motor Temp" /> | ||
</vstack> | ||
|
||
<divider></divider> | ||
<divider style="height: 78px" /> | ||
|
||
<vstack> | ||
<hstack spacing="0px"> | ||
<vstack spacing="0px"> | ||
<div class="usage-container"> | ||
<typography variant="info-value" [content]="getTotalUsage([motorUsage, coolUsage]).toString()" /> | ||
<typography variant="info-unit" [content]="'kWh'" /> | ||
</div> | ||
<span class="subsubtitle">Total Consumption</span> | ||
</vstack> | ||
<pie-chart style="width: 100%" [data]="piechartData" /> | ||
</hstack> | ||
<div style="display: flex; justify-content: center; align-items: center"> | ||
<typography variant="info-subtitle" content="Motor Power Consumption" /> | ||
</div> | ||
</vstack> | ||
</hstack> | ||
<vstack> | ||
<hstack spacing="0px"> | ||
<vstack spacing="0px"> | ||
<div class="usage-container"> | ||
<typography | ||
variant="info-value" | ||
[content]="getTotalUsage([motorUsage, coolUsage]).toString()" | ||
/> | ||
<typography variant="info-unit" [content]="'kWh'" /> | ||
</div> | ||
<span class="subsubtitle">Total Consumption</span> | ||
</vstack> | ||
</hstack> | ||
</vstack> | ||
</hstack> | ||
<pie-chart style="margin-top: -15px" [data]="piechartData" /> | ||
</div> | ||
</info-background> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 12 additions & 4 deletions
16
...r-client/src/pages/charging-page/charging-page-mobile/charging-page-mobile.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.