From 5a2696cdb150070ef21f40e7d28096eeed7edca5 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 5 Jun 2019 17:23:31 +0100 Subject: Make the modal modular --- app/templates/admin/manage_datasets.html | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'app/templates/admin/manage_datasets.html') diff --git a/app/templates/admin/manage_datasets.html b/app/templates/admin/manage_datasets.html index c7df06e..7de6592 100644 --- a/app/templates/admin/manage_datasets.html +++ b/app/templates/admin/manage_datasets.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% import "_partials/modals.html" as modals %} + {% block styles %} {{ super() }} @@ -21,23 +23,8 @@ - - +{{ modals.confirm("delete", "Delete Dataset", "You are about to delete the +dataset and all associated tasks and annotations. Are you sure?") }}

Task Completion Overview

-- cgit v1.2.3