fix: repair photo worker broken code; add pending queue view
- Fix runAiEnhance missing return/closing brace from previous commit - Remove duplicate code fragments in worker.js - Add renderPhotoPending() to show pending/processing jobs in worker dashboard - New pending queue table in worker.html photo section
This commit is contained in:
@@ -106,6 +106,16 @@
|
||||
<button class="btn-link" id="photoRequeueBtn" type="button" title="Вернуть задания с ошибкой в очередь">Повторить ошибки фото</button>
|
||||
</div>
|
||||
<div class="worker-counts" id="photoCounts" style="margin-bottom:10px"></div>
|
||||
<p class="hint">В очереди (<span id="photoPendingCount">0</span>)</p>
|
||||
<div class="audit-wrap" style="margin-bottom:14px">
|
||||
<table class="audit-table" id="photoPendingTable">
|
||||
<thead>
|
||||
<tr><th>Задание</th><th>Запись</th><th>Действие</th><th>Поставлено</th></tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
<div class="empty" id="photoPendingEmpty" style="display:none">Очередь пуста.</div>
|
||||
</div>
|
||||
<div class="audit-wrap">
|
||||
<table class="audit-table" id="photoTable">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user