Sentry/assets/twig/cpu.twig
Gregory Ballantine fb1d0fc664
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added a CPU info page with some rudimentary CPU temperature polling
2022-05-25 16:23:42 -04:00

28 lines
640 B
Twig

{% extends 'layout.twig' %}
{% block scripts %}
<script src="./js/cpu.js" charset="utf-8"></script>
{% endblock %}
{% block content %}
<header class="row">
<div class="columns twelve u-text-center">
<h1>Sentry System Info</h1>
</div>
</header>
<section class="row">
<h5>CPU Model: <span id="cpuInfo">Random CPU</span></h5>
<p><span id="cpuCores">2</span>c/<span id="cpuThreads">4</span>t @ <span id="cpuClock">2.0</span>Ghz</p>
<p>CPU temperature: <span id="cpuTemp">12</span>&deg;C</p>
</section>
<section class="row">
<div class="columns twelve">
<a href="index.html">Back</a>
</div>
</section>
{% endblock %}