1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Changed About page

This commit is contained in:
krateng 2022-02-15 09:00:38 +01:00
parent 765ab493cb
commit 4c40fb0577

View File

@ -12,9 +12,34 @@
<td class="text">
<h1 class="headerwithextra">Maloja</h1>
<br/>
<span>Version {{ pkginfo.VERSION }}</span>
<span>Version {{ pkginfo.VERSION }}</span><br/>
{# {% if adminmode %}
<span>Python {{ platform.sys.version }}</span><br/>
<span>{{ platform.system() }} {{ platform.release() }} ({{ platform.machine() }})</span><br/>
<br/>
{% set pid = psutil.os.getpid() %}
{% set proc = psutil.Process(pid) %}
CPU:
{{ proc.cpu_percent() | int }}% Maloja,
{{ (psutil.getloadavg()[2]/psutil.os.cpu_count() * 100) | int }}% System
<br/>
RAM:
{{ (proc.memory_info().rss / (1024*1024)) | int }}MB Maloja ({{ proc.memory_percent() | int }}%),
{{ (psutil.virtual_memory().used / (1024*1024)) | int }}MB System ({{ psutil.virtual_memory().percent | int }}%)
{% endif %} #}
<p class="stats">
</p>
</td>
</tr>
</table>
Get your own Maloja server:
<br/><br/>
<a href="https://github.com/krateng/maloja" class="hidelink">
<img src="https://img.shields.io/github/v/tag/krateng/maloja?label=GitHub&style=for-the-badge" />
</a>
@ -24,11 +49,7 @@
<a href="https://hub.docker.com/r/krateng/maloja" class="hidelink">
<img src="https://img.shields.io/docker/v/krateng/maloja?label=Docker&style=for-the-badge" />
</a>
</p>
<br/><br/>
Maloja is released under the <a class='textlink' href='https://github.com/krateng/maloja/blob/master/LICENSE'>GNU General Public License v3.0</a>.
</td>
</tr>
</table>
{% endblock %}