diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-30 13:29:31 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-30 13:29:31 +0100 |
| commit | da15e439e64c8314825ad5f28073fbcbd436946f (patch) | |
| tree | 62b40c9be838316fc1c0e1a5372d7bf8fbdc496b /app/templates/admin/manage_datasets.html | |
| parent | Add database migration for cp_index (diff) | |
| download | AnnotateChange-da15e439e64c8314825ad5f28073fbcbd436946f.tar.gz AnnotateChange-da15e439e64c8314825ad5f28073fbcbd436946f.zip | |
Initial version of demo
This commit introduces the demo functionality.
The task assignment has been removed at the moment,
as this will be changed in a future commit.
Diffstat (limited to 'app/templates/admin/manage_datasets.html')
| -rw-r--r-- | app/templates/admin/manage_datasets.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/app/templates/admin/manage_datasets.html b/app/templates/admin/manage_datasets.html index f14fe81..f68259f 100644 --- a/app/templates/admin/manage_datasets.html +++ b/app/templates/admin/manage_datasets.html @@ -42,18 +42,20 @@ <thead class="thead-dark"> <th scope="col">ID</th> <th scope="col">Name</th> - <th scope="col">Assigned Tasks</th> - <th scope="col">Completed Tasks</th> - <th scope="col">Percentage</th> + <th scope="col">Demo</th> + <th scope="col">Assigned Tasks</th> + <th scope="col">Completed Tasks</th> + <th scope="col">Percentage</th> </thead> {% for entry in overview %} <tr> - <th scope="row">{{ entry['id'] }}</th> - <td>{{ entry['name'] }}</td> - <td>{{ entry['assigned'] }}</td> - <td>{{ entry['completed'] }}</td> - <td>{{ entry['percentage'] }}</td> - </tr> + <th scope="row">{{ entry['id'] }}</th> + <td>{{ entry['name'] }}</td> + <td>{% if entry['demo'] %}Yes{% else %}No{% endif %}</td> + <td>{{ entry['assigned'] }}</td> + <td>{{ entry['completed'] }}</td> + <td>{{ entry['percentage'] }}</td> + </tr> {% endfor %} </tr> </table> |
