improved some parsing to show relevant info

This commit is contained in:
Russel Yasol
2024-05-10 11:29:22 +08:00
parent d9879a4d4e
commit 97be66cfe7

View File

@@ -187,7 +187,15 @@
</tr> </tr>
<tr> <tr>
<th scope="row">PCI</th> <th scope="row">PCI</th>
<td x-text="pcc_pci + ', ' + scc_pci"></td> <td
x-show="scc_pci != '-'"
x-text="pcc_pci + ', ' + scc_pci"
></td>
<td
x-show="scc_pci == '-'"
x-text="pcc_pci"
></td>
</tr> </tr>
<tr> <tr>
<th scope="row">IPv<sup>4</sup></th> <th scope="row">IPv<sup>4</sup></th>
@@ -243,7 +251,8 @@
</tr> </tr>
<tr> <tr>
<th scope="row">CSQ</th> <th scope="row">CSQ</th>
<td x-text="csq"></td> <td x-show="csq != '-'" x-text="csq"></td>
<td x-show="csq == '-'" class="fst-italic">NR-SA Mode</td>
</tr> </tr>
<tr> <tr>
<th scope="row">CELL ID</th> <th scope="row">CELL ID</th>
@@ -259,7 +268,8 @@
</tr> </tr>
<tr> <tr>
<th scope="row">RSSI</th> <th scope="row">RSSI</th>
<td x-text="rssi"></td> <td x-show="rssi != '-'" x-text="rssi"></td>
<td x-show="rssi == '-'" class="fst-italic">NR-SA Mode</td>
</tr> </tr>
<tr> <tr>
<th scope="row">SS_RSRQ<sup>4G</sup></th> <th scope="row">SS_RSRQ<sup>4G</sup></th>
@@ -342,6 +352,9 @@
x-show="rsrqNRPercentage == '0'" x-show="rsrqNRPercentage == '0'"
x-text="rsrqNR" x-text="rsrqNR"
></span> ></span>
<span x-show="rsrqNR == '-'" class="fst-italic">
None
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -430,6 +443,9 @@
x-show="rsrpNRPercentage == '0'" x-show="rsrpNRPercentage == '0'"
x-text="rsrpNR" x-text="rsrpNR"
></span> ></span>
<span x-show="rsrpNR == '-'" class="fst-italic">
None
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -518,6 +534,9 @@
x-text="sinrNR" x-text="sinrNR"
x-show="sinrNRPercentage == '0'" x-show="sinrNRPercentage == '0'"
></span> ></span>
<span x-show="sinrNR == '-'" class="fst-italic">
None
</span>
</td> </td>
</tr> </tr>
</tbody> </tbody>