improve remote job details and server status
Test, build, and deploy ComfyUI Jobs / test-build (push) Successful in 3m54s
Test, build, and deploy ComfyUI Jobs / deploy (push) Successful in 15s

This commit is contained in:
2026-10-02 22:58:00 +00:00
parent eb2ba4d19d
commit b834f55581
5 changed files with 33 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
<section class="jobs"><div class="heading"><div><div class="eyebrow">REMOTE JOBS</div><h1>Job monitor</h1><p>Read-only view of the remote ComfyUI queue and history.</p></div><button class="refresh" type="button" (click)="reload()">Refresh</button></div><div class="notice" *ngIf="error">{{error}}</div><div class="loading" *ngIf="loading">Loading remote jobs…</div><div class="empty" *ngIf="!loading&&!error&&!jobs.length">No remote jobs were returned.</div><div class="grid"><article class="job" *ngFor="let job of jobs"><div class="jobhead"><h2>{{job.title}}</h2><span [class]="'status '+job.status">{{job.status}}</span></div><div class="meta"><span>ID {{job.promptId}}</span><span>{{job.outputCount}} output{{job.outputCount===1?'':'s'}}</span></div><div class="assets" *ngIf="job.assets.length"><span *ngFor="let asset of job.assets">{{asset.filename}}</span></div></article></div></section>
<section class="jobs"><div class="heading"><div><div class="eyebrow">REMOTE JOBS</div><h1>Job monitor</h1><p>Read-only view of the remote ComfyUI queue and history.</p></div><button class="refresh" type="button" (click)="reload()">Refresh</button></div><section class="server-card"><div class="server-heading"><div><div class="eyebrow">SERVER</div><h2>ComfyUI status</h2></div><span class="connection" [class.offline]="!server">{{server?'Connected':'Unavailable'}}</span></div><div class="server-error" *ngIf="serverError">{{serverError}}</div><div class="server-info" *ngIf="server"><div><span>Version</span><strong>{{server.version || 'Unknown'}}</strong></div><div><span>Operating system</span><strong>{{server.os || 'Unknown'}}</strong></div><div><span>Python</span><strong>{{server.pythonVersion || 'Unknown'}}</strong></div></div><div class="devices" *ngIf="server?.devices?.length"><div class="device" *ngFor="let device of server?.devices || []"><strong>{{device.name}}</strong><span>{{device.type}} · {{formatBytes(device.vramFree)}} free of {{formatBytes(device.vramTotal)}}</span></div></div></section><div class="notice" *ngIf="error">{{error}}</div><div class="loading" *ngIf="loading">Loading remote jobs…</div><div class="empty" *ngIf="!loading&&!error&&!jobs.length">No remote jobs were returned.</div><div class="grid"><article class="job" *ngFor="let job of jobs"><div class="jobhead"><h2>{{job.title}}</h2><span [class]="'status '+job.status">{{job.status}}</span></div><div class="meta"><span>ID {{job.promptId}}</span><span>{{job.outputCount}} output{{job.outputCount===1?'':'s'}}</span><span>Duration {{formatDuration(job.durationMs)}}</span></div><div class="models" *ngIf="job.models.length"><strong>Models</strong><span *ngFor="let model of job.models" [title]="model.type">{{model.name}}</span></div><div class="assets" *ngIf="job.assets.length"><figure *ngFor="let asset of job.assets"><a [href]="asset.url" target="_blank" rel="noopener"><img *ngIf="!isVideo(asset)" [src]="asset.url" [alt]="asset.filename" loading="lazy"><video *ngIf="isVideo(asset)" [src]="asset.url" controls preload="metadata"></video></a><figcaption>{{asset.filename}}</figcaption></figure></div><div class="no-assets" *ngIf="!job.assets.length">No output assets</div></article></div></section>