From 4b87b0a19696e95fdf115be09dfbd7f4c1bedc43 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Wed, 17 May 2017 18:59:06 +0100 Subject: [PATCH] Add some visual indicators that authorisations have been submitted. This will show teccies and clients that RIGS is processing emails which can take a short while. Should prevent duplicate sending. --- RIGS/static/js/interaction.js | 2 +- RIGS/templates/RIGS/eventauthorisation_form.html | 9 ++++++++- .../RIGS/eventauthorisation_request.html | 15 +++++++++++++-- templates/base_ajax.html | 2 +- templates/base_client.html | 16 ++++++++++++++++ 5 files changed, 39 insertions(+), 5 deletions(-) diff --git a/RIGS/static/js/interaction.js b/RIGS/static/js/interaction.js index e7d023e1..56f04dec 100644 --- a/RIGS/static/js/interaction.js +++ b/RIGS/static/js/interaction.js @@ -136,4 +136,4 @@ $("#item-table tbody").sortable({ }); } -}); \ No newline at end of file +}); diff --git a/RIGS/templates/RIGS/eventauthorisation_form.html b/RIGS/templates/RIGS/eventauthorisation_form.html index 0809b29a..9182df41 100644 --- a/RIGS/templates/RIGS/eventauthorisation_form.html +++ b/RIGS/templates/RIGS/eventauthorisation_form.html @@ -7,7 +7,14 @@ {% endblock %} diff --git a/RIGS/templates/RIGS/eventauthorisation_request.html b/RIGS/templates/RIGS/eventauthorisation_request.html index 9c31f1fe..6067b3fe 100644 --- a/RIGS/templates/RIGS/eventauthorisation_request.html +++ b/RIGS/templates/RIGS/eventauthorisation_request.html @@ -22,7 +22,9 @@
-
{% csrf_token %} + + {% csrf_token %}
{% include 'form_errors.html' %} @@ -38,11 +40,20 @@
- +
+ + {% endblock %} diff --git a/templates/base_ajax.html b/templates/base_ajax.html index 298ca314..79b934d3 100644 --- a/templates/base_ajax.html +++ b/templates/base_ajax.html @@ -22,4 +22,4 @@ }); - \ No newline at end of file + diff --git a/templates/base_client.html b/templates/base_client.html index b8cd614b..824e9f88 100644 --- a/templates/base_client.html +++ b/templates/base_client.html @@ -71,6 +71,22 @@ + +