Add ability to generate thumbnails

This commit is contained in:
Brett Williams
2022-12-11 17:52:56 -08:00
parent 9f291a1282
commit d945d51e56
5 changed files with 81 additions and 18 deletions

View File

@@ -37,20 +37,20 @@
</nav>
<div class="table-container">
<table class="table is-bordered is-striped is-hoverable is-fullwidth is-narrow">
<table class="table is-bordered is-striped is-hoverable is-fullwidth is-narrow" style="text-align: center; vertical-align: middle;">
<thead>
<tr>
<th>Preview</th>
<th>Name</th>
<th>Renderer</th>
<th>Priority</th>
<th>Status</th>
<th>Time Elapsed</th>
<th>%</th>
<th>Frame Count</th>
<th>Client</th>
<th>Last Output</th>
<th>Commands</th>
<th style="text-align: center;">Preview</th>
<th style="text-align: center;">Name</th>
<th style="text-align: center;">Renderer</th>
<th style="text-align: center;">Priority</th>
<th style="text-align: center;">Status</th>
<th style="text-align: center;">Time Elapsed</th>
<th style="text-align: center;">%</th>
<th style="text-align: center;">Frame Count</th>
<th style="text-align: center;">Client</th>
<th style="text-align: center;">Last Output</th>
<th style="text-align: center;">Commands</th>
</tr>
</thead>
@@ -61,7 +61,7 @@
{% for job in all_jobs %}
<tbody>
<tr>
<td>Image Here</td>
<td style="padding: 0; margin: 0;"><img src="/ui/job/{{job.id}}/thumbnail"></td>
<td>{{job.name}}</td>
<td>{{job.renderer}}-{{job.worker.renderer_version}}</td>
<td>{{job.priority}}</td>