显示功率和功耗

This commit is contained in:
zogodo
2020-04-22 10:33:07 +08:00
parent cb8fbf65ae
commit eb9c7de92d
2 changed files with 9 additions and 0 deletions

View File

@@ -165,6 +165,12 @@
<div id="ct-chart-par" class="page page1 mdl-card__supporting-text mdl-shadow--2dp mdl-cell mdl-cell--6-col"
style="height:300px;overflow-x:scroll;overflow-y:hidden;">
<table class="pw">
<tr>
<td>P: <span id="p" class="success">0</span> W</td>
<td>W: <span id="w" class="error">0</span> kW·h</td>
</tr>
</table>
<div id="ct-chart" class="ct-chart ct-perfect-fourth" style="height:280px;"></div>
</div>