mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-31 09:23:51 -05:00
87 lines
3.3 KiB
HTML
87 lines
3.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="row py-2">
|
|
<div class="col-12">
|
|
<h4 class="page-header text-white">
|
|
<b>System Info</b>
|
|
</h4>
|
|
</div>
|
|
</div>
|
|
<div class="row content">
|
|
<div class="col-12">
|
|
|
|
<table class="table mb-5">
|
|
<thead class="table-borderless">
|
|
<tr>
|
|
<th class="text-secondary font-weight-normal" scope="col" style="width: 20%">Option</th>
|
|
<th class="text-secondary font-weight-normal" scope="col">Value</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th scope="row">Load Average</th>
|
|
<td>{{ context.loadavg }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Free Space</th>
|
|
<td>{{ context.free_space }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Memory</th>
|
|
<td>
|
|
Total: <strong>{{ context.memory.total }}</strong> /
|
|
Used: <strong>{{ context.memory.used }}</strong> /
|
|
Free: <strong>{{ context.memory.free }}</strong> /
|
|
Shared: <strong>{{ context.memory.shared }}</strong> /
|
|
Buff: <strong>{{ context.memory.buff }}</strong> /
|
|
Available: <strong>{{ context.memory.available }}</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Uptime</th>
|
|
<td>{{ context.uptime.days }} days and {{ (context.uptime.seconds / 3600)|round(2) }} hours</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th scope="row">Display Power (CEC)</th>
|
|
<td>{{ context.display_power }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Raspberry Pi Model</th>
|
|
<td>{{ context.raspberry_pi_model }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Anthias Version</th>
|
|
<td>{{ context.version }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">MAC Address</th>
|
|
<td>{{ context.mac_address }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<section>
|
|
<h4><b>Latest Viewer Logs</b></h4>
|
|
<hr>
|
|
</section>
|
|
|
|
{% if context.viewlog %}
|
|
<table class="table table-borderless">
|
|
{% for line in context.viewlog %}
|
|
<tr>
|
|
<td>{{ line }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<p>There are no recent log messages.</p>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|