Reformatting and exposed new ip-field

Signed-off-by: simonmicro <simon@simonmicro.de>
This commit is contained in:
simonmicro 2025-12-06 20:36:20 +01:00
parent 00339f69cc
commit bd63e88335
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6

View file

@ -57,6 +57,7 @@ th {
<th>Application ID</th> <th>Application ID</th>
<th><abbr title="Stock Keeping Unit">SKU</abbr> ID</th> <th><abbr title="Stock Keeping Unit">SKU</abbr> ID</th>
<th>License Status</th> <th>License Status</th>
<th>Last Address</th>
<th>Last Seen</th> <th>Last Seen</th>
<th>KMS <abbr title="Enhanced Privacy ID">EPID</abbr></th> <th>KMS <abbr title="Enhanced Privacy ID">EPID</abbr></th>
<th>Seen Count</th> <th>Seen Count</th>
@ -65,7 +66,9 @@ th {
<tbody> <tbody>
{% for client in clients %} {% for client in clients %}
<tr> <tr>
<th><pre class="clientMachineId">{{ client.clientMachineId }}</pre></th> <th>
<pre class="clientMachineId">{{ client.clientMachineId }}</pre>
</th>
<td class="machineName"> <td class="machineName">
{% if client.machineName | length > 16 %} {% if client.machineName | length > 16 %}
<abbr title="{{ client.machineName }}">{{ client.machineName | truncate(16, True, '...') }}</abbr> <abbr title="{{ client.machineName }}">{{ client.machineName | truncate(16, True, '...') }}</abbr>
@ -76,6 +79,7 @@ th {
<td>{{ client.applicationId }}</td> <td>{{ client.applicationId }}</td>
<td>{{ client.skuId }}</td> <td>{{ client.skuId }}</td>
<td>{{ client.licenseStatus }}</td> <td>{{ client.licenseStatus }}</td>
<td>{{ client.lastRequestIP or "N/A" }}</td>
<td class="convert_timestamp">{{ client.lastRequestTime }}</td> <td class="convert_timestamp">{{ client.lastRequestTime }}</td>
<td> <td>
{% if client.kmsEpid | length > 16 %} {% if client.kmsEpid | length > 16 %}
@ -95,7 +99,8 @@ th {
<p>Whoops?</p> <p>Whoops?</p>
</div> </div>
<div class="message-body"> <div class="message-body">
This page seems to be empty, because no clients are available. Try to use the server with a compartible client to add it to the database. This page seems to be empty, because no clients are available. Try to use the server with a compartible client
to add it to the database.
</div> </div>
</article> </article>
{% endif %} {% endif %}