better wifi images

This commit is contained in:
Matt Hill
2021-10-18 12:48:34 -06:00
committed by Aiden McClelland
parent 516ce9672c
commit 09d4736044
5 changed files with 4 additions and 9 deletions

View File

@@ -54,15 +54,10 @@
<ion-icon *ngIf="ssid === wifi.connected" slot="start" size="large" name="checkmark" color="success"></ion-icon>
<ion-label>{{ ssid }}</ion-label>
<ng-container *ngIf="ssid === wifi.connected && wifi['signal-strength'] as strength">
<ng-container *ngIf="strength < 33">
<img slot="end" src="assets/img/icons/wifi-1.png" style="max-width: 32px;" />
</ng-container>
<ng-container *ngIf="strength > 33 && strength <= 66">
<img slot="end" src="assets/img/icons/wifi-2.png" style="max-width: 32px;" />
</ng-container>
<ng-container *ngIf="strength > 66">
<img slot="end" src="assets/img/icons/wifi-3.png" style="max-width: 32px;" />
</ng-container>
<img *ngIf="strength < 5" slot="end" src="assets/img/icons/wifi-1.png" style="max-width: 32px;" />
<img *ngIf="strength >= 5 && strength < 50" slot="end" src="assets/img/icons/wifi-1.png" style="max-width: 32px;" />
<img *ngIf="strength >= 50 && strength < 90" slot="end" src="assets/img/icons/wifi-2.png" style="max-width: 32px;" />
<img *ngIf="strength >= 90" slot="end" src="assets/img/icons/wifi-3.png" style="max-width: 32px;" />
</ng-container>
</ion-item>
</ng-container>

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 186 KiB