- page_head block on machines, machine, events, errors, users, networks, network and uploadnet - networks: remove stray ')' in the Hash header onclick, replace inline icon colours with classes - network: close the two unclosed <select> elements - uploadnet: close the form with </form>
56 lines
2.7 KiB
HTML
56 lines
2.7 KiB
HTML
{% extends "OpenBench/base.html" %}
|
|
|
|
{% load mytags %}
|
|
|
|
{% block style %}
|
|
{% load static %}
|
|
{% endblock %}
|
|
|
|
{% block page_head %}<div><h1 class="page-title">Machine {{ machine.id }}</h1><p class="page-sub">{{ machine.info.machine_name }}</p></div><div class="page-actions"><a class="anchorbutton btn-start" href="/machines"><i class="fa-solid fa-arrow-left fa-fw"></i> All machines</a></div>{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div id="config" class="card">
|
|
|
|
<table class="test-config left-align wrappable">
|
|
|
|
<tr><td class="td-label">User</td><td>{{machine.user.username}}</td></tr>
|
|
<tr><td class="td-label">Machine Name</td><td>{{machine.info.machine_name}}</td></tr>
|
|
<tr><td class="td-label">Client Version</td><td>{{machine.info.client_ver}}</td></tr>
|
|
<tr><td class="td-label">Python Version</td><td>{{machine.info.python_ver}}</td></tr>
|
|
<tr><td class="td-label">System Version</td><td>{{machine.info.os_name}} {{machine.info.os_ver}}</td></tr>
|
|
<tr><td class="td-label">Last Seen</td><td class="timestamp">{{machine.updated|date:'U'}}</td>
|
|
|
|
<tr><td class="td-label"></td><td><br></td></tr>
|
|
|
|
<tr><td class="td-label">CPU Name</td><td>{{machine.info.cpu_name}}</td></tr>
|
|
<tr><td class="td-label">CPU Flags</td><td><pre>{{machine|cpuflagsBlock}}</pre></td></tr>
|
|
<tr><td class="td-label">Logical Cores</td><td>{{machine.info.logical_cores}}</td></tr>
|
|
<tr><td class="td-label">Physical Cores</td><td>{{machine.info.physical_cores}}</td></tr>
|
|
<tr><td class="td-label">Total RAM (MB)</td><td>{{machine.info.ram_total_mb}}</td></tr>
|
|
<tr><td class="td-label">Syzygy WDL</td><td>{{machine.info.syzygy_max}}-Man</td></tr>
|
|
<tr><td class="td-label">Init Args</td><td>--threads {{machine.info.concurrency}} --nsockets {{machine.info.sockets}} --focus {{machine.info.focus}}</td></tr>
|
|
|
|
<tr><td class="td-label"></td><td><br></td></tr>
|
|
|
|
{% if machine.info.tokens|length > 0 %}
|
|
<tr><td class="td-label">Tokens</td><td>{{machine.info.tokens|join:" "}}</td></tr>
|
|
{% endif %}
|
|
|
|
{% if machine.info.compilers|length > 0 %}
|
|
<tr><td class="td-label">Compilers</td><td><pre>{{machine|compilerBlock}}</pre></td></tr>
|
|
{% endif %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
system_info = {
|
|
'compilers' : SYSTEM_COMPILERS, # Key: Engine, Value: (Compiler, Version)
|
|
'tokens' : SYSTEM_GIT_TOKENS, # Key: Engine, Value: True, for tokens we have
|
|
'cpu_flags' : SYSTEM_CPU_FLAGS, # List of CPU flags found in the Client or Server
|
|
}
|