From 841ea1262f670f299b856db6a60d6110dae5f71f Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 9 Nov 2021 09:37:47 -0500 Subject: [PATCH] Added frontend form --- Instructor/static/js/user-list.js | 9 ++++++++ Instructor/templates/user_list.html | 33 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Instructor/static/js/user-list.js diff --git a/Instructor/static/js/user-list.js b/Instructor/static/js/user-list.js new file mode 100644 index 0000000..f03745e --- /dev/null +++ b/Instructor/static/js/user-list.js @@ -0,0 +1,9 @@ +function cleanupSubmitClick() { + $("#cleanupSpinner").toggleClass("d-none", false); + $("#cleanupSubmitText").toggleClass("d-none", true); + //$("#cleanupForm").submit(); +} + +$(document).ready(function (){ + $("#cleanupSubmitButton").click(cleanupSubmitClick); +}); \ No newline at end of file diff --git a/Instructor/templates/user_list.html b/Instructor/templates/user_list.html index e442d7d..419c482 100644 --- a/Instructor/templates/user_list.html +++ b/Instructor/templates/user_list.html @@ -7,6 +7,7 @@ {% block resources %} {% load static %} + {% endblock %} {% block pageHeader %}Edit Users{% endblock %} @@ -14,11 +15,43 @@ {% block containerClass %}container{% endblock %} {% block mainContent %} +
+ -- knotmirror 0.0.1