Skip to content
Sections
Fiesta

job-status

Display The small pieces of vocabulary a screen is assembled from: status, identity, progress, data tables and charts, and the one alert shape.

A background job's progress: a spinner, a line of text and a bar. The data-poll attributes say where a page could fetch a fresh copy and how often. Fiesta ships no script that does that, so wire it up yourself, and leave the attributes off once the job is done.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Running

The data-poll attributes are where a script would fetch a fresh copy from, and how often. Nothing in Fiesta does, so on this page it stays running.

Preview

<div rst-job data-poll="/jobs/1/fragment" data-poll-every="2">
  <span rst-spin aria-hidden="true"></span> <bdi><strong>Import</strong></bdi> is running: <bdi>128 of 400</bdi>…
  <progress rst-job-bar value="32" min="0" max="100" aria-hidden="true"></progress>
</div>

Finished

Preview

<div rst-job>
  <bdi><strong>Import</strong></bdi> finished.
</div>

Failed

Preview

<div rst-job>
  <bdi><strong>Import</strong></bdi> failed: <bdi>row 91: no such column &#34;published&#34;</bdi>
</div>