Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mmachatschek committed Apr 5, 2024
1 parent 22698cc commit 1f5db02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/js/screens/batches/preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

<button class="btn btn-primary" v-if="failedJobs.length > 0" v-on:click.prevent="retry(batch.id)">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="icon" fill="currentColor" :class="{spin: retrying}">
<path fill-rule="evenodd" d="M15.312 11.424a5.5 5.5 0 01-9.201 2.466l-.312-.311h2.433a.75.75 0 000-1.5H3.989a.75.75 0 00-.75.75v4.242a.75.75 0 001.5 0v-2.43l.31.31a7 7 0 0011.712-3.138.75.75 0 00-1.449-.39zm1.23-3.723a.75.75 0 00.219-.53V2.929a.75.75 0 00-1.5 0V5.36l-.31-.31A7 7 0 003.239 8.188a.75.75 0 101.448.389A5.5 5.5 0 0113.89 6.11l.311.31h-2.432a.75.75 0 000 1.5h4.243a.75.75 0 00.53-.219z" clip-rule="evenodd" />
<path fill-rule="evenodd" d="M15.312 11.424a5.5 5.5 0 01-9.201 2.466l-.312-.311h2.433a.75.75 0 000-1.5H3.989a.75.75 0 00-.75.75v4.242a.75.75 0 001.5 0v-2.43l.31.31a7 7 0 0011.712-3.138.75.75 0 00-1.449-.39zm1.23-3.723a.75.75 0 00.219-.53V2.929a.75.75 0 00-1.5 0V5.36l-.31-.31A7 7 0 003.239 8.188a.75.75 0 101.448.389A5.5 5.5 0 0113.89 6.11l.311.31h-2.432a.75.75 0 000 1.5h4.243a.75.75 0 00.53-.219z" clip-rule="evenodd" />
</svg>

Retry Failed Jobs
Expand Down Expand Up @@ -134,7 +134,7 @@
</div>
<div class="row mb-2" v-if="batch.finishedAt">
<div class="col-md-2 text-muted">Finished</div>
<div class="col">{{ formatDateIso(batch.finishedAt).format('YYYY-MM-DD HH:mm:ss')}}</div>
<div class="col">{{ formatDateIso(batch.finishedAt).format('YYYY-MM-DD HH:mm:ss') }}</div>
</div>
<div class="row mb-2" v-if="batch.cancelledAt">
<div class="col-md-2 text-muted">Cancelled</div>
Expand All @@ -153,7 +153,7 @@
<div class="col">{{batch.failedJobs}}</div>
</div>
<div class="row">
<div class="col-md-2 text-muted">Processed Jobs<br /><small>(Including Failed)</small></div>
<div class="col-md-2 text-muted">Processed Jobs<br><small>(Including Failed)</small></div>
<div class="col">{{ (batch.processedJobs) }} ({{batch.progress}}%)</div>
</div>
</div>
Expand Down Expand Up @@ -183,7 +183,7 @@
</td>

<td class="text-end text-muted table-fit">
<span>{{ failedJob.failed_at && failedJob.reserved_at ? String (( failedJob.failed_at - failedJob.reserved_at ).toFixed(2)) + 's' : '-' }}</span>
<span>{{ failedJob.failed_at && failedJob.reserved_at ? String(( failedJob.failed_at - failedJob.reserved_at ).toFixed(2))+'s' : '-' }}</span>
</td>

<td class="text-end text-muted table-fit">
Expand Down

0 comments on commit 1f5db02

Please sign in to comment.