Improvements to thumbnail generation and detail page

This commit is contained in:
Brett Williams
2022-12-12 21:45:46 -08:00
parent 9ac22a5555
commit 9a9b0304b9
11 changed files with 51 additions and 14 deletions

View File

@@ -61,8 +61,12 @@
{% for job in all_jobs %}
<tbody>
<tr>
<td style="padding: 0; margin: 0;"><img src="/ui/job/{{job.id}}/thumbnail"></td>
<td>{{job.name}}</td>
<td style="padding: 0; margin: 0;">
<a href="/ui/job/{{job.id}}/full_details">
<img src="/ui/job/{{job.id}}/thumbnail" width="300">
</a>
</td>
<td><a href="/ui/job/{{job.id}}/full_details">{{job.name}}</a></td>
<td>{{job.renderer}}-{{job.worker.renderer_version}}</td>
<td>{{job.priority}}</td>
<td>{{job.render_status().value}}</td>
@@ -70,7 +74,7 @@
<td>{{ '{0:0.0f}'.format(job.percent_complete() * 100) }}%</td>
<td>{{job.frame_count()}}</td>
<td>{{job.client}}</td>
<td>{{job.worker.last_output}}</td>
<td><a href="/api/job/{{job.id}}/logs">{{job.worker.last_output}}</a></td>
<td>
<div class="buttons are-small">
<button class="button is-info" onclick="window.location.href='/ui/job/{{job.id}}/full_details';">