Add restart procesing button

This commit is contained in:
Carl Pearson
2024-09-11 08:44:50 -06:00
parent ca86caee85
commit 7bc8b10332

View File

@@ -47,6 +47,9 @@
<td>{{.Status}}</td> <td>{{.Status}}</td>
<td> <td>
{{if eq .Status "completed"}} {{if eq .Status "completed"}}
<form action="/video/{{.ID}}/process" method="post" style="display:inline;">
<button type="submit">Redo Processing</button>
</form>
{{else if eq .Status "failed"}} {{else if eq .Status "failed"}}
<form action="/video/{{.ID}}/restart" method="post" style="display:inline;"> <form action="/video/{{.ID}}/restart" method="post" style="display:inline;">
<button type="submit">Restart</button> <button type="submit">Restart</button>