From 7300a7ad3b2430c0c27447762ae613e54b012862 Mon Sep 17 00:00:00 2001 From: Char2sGu Date: Tue, 17 Sep 2024 12:39:06 -0400 Subject: [PATCH] refactor(client): migrate to self-closed tags in templates --- .../src/app/context/app-context.component.html | 6 +++--- ...acceleration-over-time-display.component.html | 3 +-- .../graph-dialog/graph-dialog.component.html | 2 +- .../half-gauge/half-gauge.component.html | 2 +- .../src/components/hstack/hstack.component.html | 2 +- .../info-background.component.html | 8 ++++---- .../info-graph/info-graph.component.html | 2 +- .../loading-page/loading-page.component.html | 2 +- .../pie-chart/pie-chart.component.html | 2 +- .../raspberry-pi-desktop.component.html | 6 +++--- .../raspberry-pi-mobile.component.html | 6 +++--- .../raspberry-pi/raspberry-pi.component.html | 4 ++-- .../sidebar-chip/sidebar-chip.component.html | 2 +- .../sidebar-toggle/sidebar-toggle.component.html | 2 +- .../speed-display/speed-display.component.html | 2 +- .../speed-over-time-display.component.html | 3 +-- .../src/components/vstack/vstack.component.html | 2 +- .../battery-info-display.html | 4 ++-- .../cell-temp-display.component.html | 2 +- .../cell-temp-graph.component.html | 3 +-- .../high-low-cell-display.component.html | 2 +- .../high-low-cell-graph.component.html | 3 +-- .../pack-voltage-display.component.html | 2 +- .../pack-voltage-graph.component.html | 3 +-- .../graph-caption/graph-caption.component.html | 4 ++-- .../run-selector/run-selector.component.html | 2 +- .../graph-sidebar-desktop.component.html | 2 +- .../landing-page-mobile.component.html | 16 ++++++++-------- .../landing-page/landing-page.component.html | 4 ++-- angular-client/src/pages/map/map.component.html | 6 +++--- 30 files changed, 52 insertions(+), 57 deletions(-) diff --git a/angular-client/src/app/context/app-context.component.html b/angular-client/src/app/context/app-context.component.html index b13e1248..089c26c0 100644 --- a/angular-client/src/app/context/app-context.component.html +++ b/angular-client/src/app/context/app-context.component.html @@ -1,3 +1,3 @@ - - - + + + diff --git a/angular-client/src/components/acceleration-over-time-display/acceleration-over-time-display.component.html b/angular-client/src/components/acceleration-over-time-display/acceleration-over-time-display.component.html index 153e91df..afaf32c4 100644 --- a/angular-client/src/components/acceleration-over-time-display/acceleration-over-time-display.component.html +++ b/angular-client/src/components/acceleration-over-time-display/acceleration-over-time-display.component.html @@ -4,5 +4,4 @@ icon="speed" title="Acceleration Over Time" color="purple" -> - +/> diff --git a/angular-client/src/components/graph-dialog/graph-dialog.component.html b/angular-client/src/components/graph-dialog/graph-dialog.component.html index 7d47a412..28ee8054 100644 --- a/angular-client/src/components/graph-dialog/graph-dialog.component.html +++ b/angular-client/src/components/graph-dialog/graph-dialog.component.html @@ -5,5 +5,5 @@ [data]="data" [title]="title" [color]="color" - > + /> diff --git a/angular-client/src/components/half-gauge/half-gauge.component.html b/angular-client/src/components/half-gauge/half-gauge.component.html index 15ec3c29..4fb6f9d5 100644 --- a/angular-client/src/components/half-gauge/half-gauge.component.html +++ b/angular-client/src/components/half-gauge/half-gauge.component.html @@ -7,5 +7,5 @@ [plotOptions]="chartOptions.plotOptions" [labels]="chartOptions.labels" [fill]="chartOptions.fill" - > + /> diff --git a/angular-client/src/components/hstack/hstack.component.html b/angular-client/src/components/hstack/hstack.component.html index 4b21ab7c..c2de18de 100644 --- a/angular-client/src/components/hstack/hstack.component.html +++ b/angular-client/src/components/hstack/hstack.component.html @@ -1,3 +1,3 @@
- +
diff --git a/angular-client/src/components/info-background/info-background.component.html b/angular-client/src/components/info-background/info-background.component.html index 76814958..3ff7766f 100644 --- a/angular-client/src/components/info-background/info-background.component.html +++ b/angular-client/src/components/info-background/info-background.component.html @@ -1,12 +1,12 @@
- - + +
- +
- +
diff --git a/angular-client/src/components/info-graph/info-graph.component.html b/angular-client/src/components/info-graph/info-graph.component.html index 0bc5c7f4..e0bca76d 100644 --- a/angular-client/src/components/info-graph/info-graph.component.html +++ b/angular-client/src/components/info-graph/info-graph.component.html @@ -5,5 +5,5 @@ [data]="data" [title]="subTitle" [color]="color" - > + /> diff --git a/angular-client/src/components/loading-page/loading-page.component.html b/angular-client/src/components/loading-page/loading-page.component.html index 09d24ed0..c284e2e3 100644 --- a/angular-client/src/components/loading-page/loading-page.component.html +++ b/angular-client/src/components/loading-page/loading-page.component.html @@ -1,3 +1,3 @@
- +
diff --git a/angular-client/src/components/pie-chart/pie-chart.component.html b/angular-client/src/components/pie-chart/pie-chart.component.html index 92b53fde..9026a172 100644 --- a/angular-client/src/components/pie-chart/pie-chart.component.html +++ b/angular-client/src/components/pie-chart/pie-chart.component.html @@ -8,4 +8,4 @@ [legend]="chartOptions.legend" [dataLabels]="chartOptions.dataLabels" [fill]="chartOptions.fill" -> +/> diff --git a/angular-client/src/components/raspberry-pi/raspberry-pi-desktop-content/raspberry-pi-desktop.component.html b/angular-client/src/components/raspberry-pi/raspberry-pi-desktop-content/raspberry-pi-desktop.component.html index ac03e314..e2326815 100644 --- a/angular-client/src/components/raspberry-pi/raspberry-pi-desktop-content/raspberry-pi-desktop.component.html +++ b/angular-client/src/components/raspberry-pi/raspberry-pi-desktop-content/raspberry-pi-desktop.component.html @@ -1,6 +1,6 @@ - + @@ -19,7 +19,7 @@ - +
@@ -31,7 +31,7 @@
- + dBM
diff --git a/angular-client/src/components/raspberry-pi/raspberry-pi-mobile-content/raspberry-pi-mobile.component.html b/angular-client/src/components/raspberry-pi/raspberry-pi-mobile-content/raspberry-pi-mobile.component.html index 8be027eb..474f21d5 100644 --- a/angular-client/src/components/raspberry-pi/raspberry-pi-mobile-content/raspberry-pi-mobile.component.html +++ b/angular-client/src/components/raspberry-pi/raspberry-pi-mobile-content/raspberry-pi-mobile.component.html @@ -1,7 +1,7 @@ - + @@ -29,7 +29,7 @@ - +
@@ -41,7 +41,7 @@
- + dBM
diff --git a/angular-client/src/components/raspberry-pi/raspberry-pi.component.html b/angular-client/src/components/raspberry-pi/raspberry-pi.component.html index 9bac895c..3179ebd5 100644 --- a/angular-client/src/components/raspberry-pi/raspberry-pi.component.html +++ b/angular-client/src/components/raspberry-pi/raspberry-pi.component.html @@ -7,7 +7,7 @@ [ramUsage]="ramUsage" [wifiRSSI]="wifiRSSI" [mcs]="mcs" - > + /> + /> diff --git a/angular-client/src/components/sidebar-chip/sidebar-chip.component.html b/angular-client/src/components/sidebar-chip/sidebar-chip.component.html index 0fa59288..7dba1e02 100644 --- a/angular-client/src/components/sidebar-chip/sidebar-chip.component.html +++ b/angular-client/src/components/sidebar-chip/sidebar-chip.component.html @@ -1,4 +1,4 @@
- +
diff --git a/angular-client/src/components/sidebar-toggle/sidebar-toggle.component.html b/angular-client/src/components/sidebar-toggle/sidebar-toggle.component.html index ae6806fb..f898dffa 100644 --- a/angular-client/src/components/sidebar-toggle/sidebar-toggle.component.html +++ b/angular-client/src/components/sidebar-toggle/sidebar-toggle.component.html @@ -1 +1 @@ - + diff --git a/angular-client/src/components/speed-display/speed-display.component.html b/angular-client/src/components/speed-display/speed-display.component.html index c9b9cdd8..34838a60 100644 --- a/angular-client/src/components/speed-display/speed-display.component.html +++ b/angular-client/src/components/speed-display/speed-display.component.html @@ -1,3 +1,3 @@ - + diff --git a/angular-client/src/components/speed-over-time-display/speed-over-time-display.component.html b/angular-client/src/components/speed-over-time-display/speed-over-time-display.component.html index 6e19fa9e..c23b7357 100644 --- a/angular-client/src/components/speed-over-time-display/speed-over-time-display.component.html +++ b/angular-client/src/components/speed-over-time-display/speed-over-time-display.component.html @@ -1,2 +1 @@ - - + diff --git a/angular-client/src/components/vstack/vstack.component.html b/angular-client/src/components/vstack/vstack.component.html index 457c1679..17da9548 100644 --- a/angular-client/src/components/vstack/vstack.component.html +++ b/angular-client/src/components/vstack/vstack.component.html @@ -1,3 +1,3 @@
- +
diff --git a/angular-client/src/pages/charging-page/components/battery-info-display/battery-info-display.html b/angular-client/src/pages/charging-page/components/battery-info-display/battery-info-display.html index 7da4098b..59471bfa 100644 --- a/angular-client/src/pages/charging-page/components/battery-info-display/battery-info-display.html +++ b/angular-client/src/pages/charging-page/components/battery-info-display/battery-info-display.html @@ -7,7 +7,7 @@ [dischargeCurrentLimit]="dischargeCurrentLimit" [packTemp]="packTemp" [stateOfCharge]="stateOfCharge" - > + /> + /> diff --git a/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-display/cell-temp-display.component.html b/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-display/cell-temp-display.component.html index eb1110cd..33bee114 100644 --- a/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-display/cell-temp-display.component.html +++ b/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-display/cell-temp-display.component.html @@ -19,6 +19,6 @@ - +
diff --git a/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-graph/cell-temp-graph.component.html b/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-graph/cell-temp-graph.component.html index 5a79bf4b..1e24b534 100644 --- a/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-graph/cell-temp-graph.component.html +++ b/angular-client/src/pages/charging-page/components/cell-temp/cell-temp-graph/cell-temp-graph.component.html @@ -4,5 +4,4 @@ icon="speed" title="Voltage Over Time" color="#ffffff" -> - +/> diff --git a/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-display/high-low-cell-display.component.html b/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-display/high-low-cell-display.component.html index 74aa31c0..c0b8caa9 100644 --- a/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-display/high-low-cell-display.component.html +++ b/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-display/high-low-cell-display.component.html @@ -27,6 +27,6 @@ - +
diff --git a/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-graph/high-low-cell-graph.component.html b/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-graph/high-low-cell-graph.component.html index 98fbe951..3b192a3c 100644 --- a/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-graph/high-low-cell-graph.component.html +++ b/angular-client/src/pages/charging-page/components/high-low-cell/high-low-cell-graph/high-low-cell-graph.component.html @@ -7,5 +7,4 @@ [data2]="lowVoltsData" graphContainerId="highLowCellGraph" icon="speed" -> - +/> diff --git a/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-display/pack-voltage-display.component.html b/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-display/pack-voltage-display.component.html index 29d4324c..ef1ad26c 100644 --- a/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-display/pack-voltage-display.component.html +++ b/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-display/pack-voltage-display.component.html @@ -3,6 +3,6 @@ - +
diff --git a/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-graph/pack-voltage-graph.component.html b/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-graph/pack-voltage-graph.component.html index 6eb1718e..b1141483 100644 --- a/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-graph/pack-voltage-graph.component.html +++ b/angular-client/src/pages/charging-page/components/pack-voltage/pack-voltage-graph/pack-voltage-graph.component.html @@ -1,2 +1 @@ - - + diff --git a/angular-client/src/pages/graph-page/graph-caption/graph-caption.component.html b/angular-client/src/pages/graph-page/graph-caption/graph-caption.component.html index d657143d..52734a50 100644 --- a/angular-client/src/pages/graph-page/graph-caption/graph-caption.component.html +++ b/angular-client/src/pages/graph-page/graph-caption/graph-caption.component.html @@ -31,13 +31,13 @@ [onClick]="onClearDataType" label="Clear Data Type" additionalStyles="background-color: #323232; border: 1.4px solid #027bd7" - > + />
+ />
diff --git a/angular-client/src/pages/graph-page/graph-caption/run-selector/run-selector.component.html b/angular-client/src/pages/graph-page/graph-caption/run-selector/run-selector.component.html index d68519b3..3234433f 100644 --- a/angular-client/src/pages/graph-page/graph-caption/run-selector/run-selector.component.html +++ b/angular-client/src/pages/graph-page/graph-caption/run-selector/run-selector.component.html @@ -1 +1 @@ - + diff --git a/angular-client/src/pages/graph-page/graph-sidebar/graph-sidebar-desktop/graph-sidebar-desktop.component.html b/angular-client/src/pages/graph-page/graph-sidebar/graph-sidebar-desktop/graph-sidebar-desktop.component.html index d8eae964..43bcda4f 100644 --- a/angular-client/src/pages/graph-page/graph-sidebar/graph-sidebar-desktop/graph-sidebar-desktop.component.html +++ b/angular-client/src/pages/graph-page/graph-sidebar/graph-sidebar-desktop/graph-sidebar-desktop.component.html @@ -3,7 +3,7 @@
diff --git a/angular-client/src/pages/landing-page/landing-page-mobile/landing-page-mobile.component.html b/angular-client/src/pages/landing-page/landing-page-mobile/landing-page-mobile.component.html index 3c7b1343..225cf458 100644 --- a/angular-client/src/pages/landing-page/landing-page-mobile/landing-page-mobile.component.html +++ b/angular-client/src/pages/landing-page/landing-page-mobile/landing-page-mobile.component.html @@ -3,16 +3,16 @@ - + - - + + - + - + - - - + + + diff --git a/angular-client/src/pages/landing-page/landing-page.component.html b/angular-client/src/pages/landing-page/landing-page.component.html index fdddfc5d..b57c37ad 100644 --- a/angular-client/src/pages/landing-page/landing-page.component.html +++ b/angular-client/src/pages/landing-page/landing-page.component.html @@ -14,7 +14,7 @@ - + @@ -37,7 +37,7 @@ - + diff --git a/angular-client/src/pages/map/map.component.html b/angular-client/src/pages/map/map.component.html index 4b7dfd9c..8f24e6ad 100644 --- a/angular-client/src/pages/map/map.component.html +++ b/angular-client/src/pages/map/map.component.html @@ -1,14 +1,14 @@
- +
- +
- +