mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 19:30:11 +00:00
Display temp only if it exists
This commit is contained in:
parent
3ce2692812
commit
90a1b1d5f0
|
@ -262,6 +262,7 @@
|
|||
<div class="app_status"></div>
|
||||
<div class="app_contents"><div class="drive_usage">{{ram_usage}}</div></div>
|
||||
</div>
|
||||
{% if device_temp != '...' %}
|
||||
<div class="app_tile">
|
||||
<div class="app_status_icon"></div>
|
||||
<div class="app_logo"><img class="app_logo_icon" src="{{ url_for('static', filename="images/temperature.png")}}"/></div>
|
||||
|
@ -269,6 +270,7 @@
|
|||
<div class="app_status"></div>
|
||||
<div class="app_contents"><div class="drive_usage">{{device_temp}} °C</div></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!--
|
||||
<div class="app_tile">
|
||||
<div class="app_status_icon"></div>
|
||||
|
|
|
@ -394,10 +394,12 @@
|
|||
<td>RAM</td>
|
||||
<td style="padding-left: 20px;">{{ram_usage}}</td>
|
||||
</tr>
|
||||
{% if device_temp != '...' %}
|
||||
<tr>
|
||||
<td>Temperature</td>
|
||||
<td style="padding-left: 20px;">{{device_temp}} °C</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td>Uptime</td>
|
||||
<td style="padding-left: 20px;">{{uptime}}</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user