UI Fix on Task overview
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{% extends "admin.html" %}
|
{% extends "admin.html" %}
|
||||||
{% block admin_content %}
|
{% block admin_content %}
|
||||||
<div class="container mt-5">
|
<div class="">
|
||||||
<table class="table">
|
<table class="table ">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Task Name</th>
|
<th>Task Name</th>
|
||||||
@@ -15,6 +15,9 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<h4>Unlock blocked tasks</h4>
|
||||||
<div>
|
<div>
|
||||||
<form hx-post="/unlock_key" hx-swap="outerHTML" hx-target="#empty">
|
<form hx-post="/unlock_key" hx-swap="outerHTML" hx-target="#empty">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% for task_name, task in tasks.items() %}
|
{% for task_name, task in tasks.items() %}
|
||||||
<tr id="task-row-{{ task_name }}">
|
<tr id="task-row-{{ task_name }}">
|
||||||
<td>{{ task_name }}</td>
|
<td class="w-25">{{ task_name }}</td>
|
||||||
<td>{{ task.state }}</td>
|
<td class="w-50">{{ task.state }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if task.info.percent %}
|
{% if task.info.percent %}
|
||||||
<div class="progress" style="height: 20px;">
|
<div class="progress" style="height: 20px;">
|
||||||
|
|||||||
Reference in New Issue
Block a user