From eef2aff22fbdf6a57c215a4653f82a09233a98c4 Mon Sep 17 00:00:00 2001 From: MinRK Date: Mon, 15 Sep 2014 01:44:32 -0700 Subject: [PATCH] simplify dialog HTML with template macros --- share/jupyter/templates/admin.html | 82 +++++++----------------------- share/jupyter/templates/page.html | 21 ++++++++ 2 files changed, 38 insertions(+), 65 deletions(-) diff --git a/share/jupyter/templates/admin.html b/share/jupyter/templates/admin.html index 3a8cd30e..52dcb2a2 100644 --- a/share/jupyter/templates/admin.html +++ b/share/jupyter/templates/admin.html @@ -36,75 +36,27 @@ +{% call modal('Delete User', btn_class='btn-danger delete-button') %} + Are you sure you want to delete user USER? + This operation cannot be undone. +{% endcall %} -