You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/09/12 15:39:55 UTC
[whimsy] branch master updated: update header to reflect processing
status
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 3cf9a2a update header to reflect processing status
3cf9a2a is described below
commit 3cf9a2a28eb184a681d903af03d18303c6548939
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Sep 12 11:39:39 2016 -0400
update header to reflect processing status
---
www/secmail/public/tasklist.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/secmail/public/tasklist.js b/www/secmail/public/tasklist.js
index ba6b207..28647c5 100644
--- a/www/secmail/public/tasklist.js
+++ b/www/secmail/public/tasklist.js
@@ -72,8 +72,12 @@ function nexttask(proceed) {
spinner.remove();
if (tasks.length) {
+ $('h1').removeClass('bg-info').addClass('bg-danger').
+ text('Processing Aborted');
message = {status: 'aborted'}
} else {
+ $('h1').removeClass('bg-info').addClass('bg-success').
+ text('Processing Complete');
message = {status: 'complete'}
}
@@ -82,6 +86,8 @@ function nexttask(proceed) {
};
$('button').click(function(event) {
+ $('h1').removeClass('bg-warning').addClass('bg-info').
+ text('Request Status');
$(this).prop('disabled', true);
nexttask(true);
});
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].