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 fcd2058 explicitly show status when request is sent to server
fcd2058 is described below
commit fcd2058272aa7fbbf1c219d005b8d8d41744bfee
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sun Aug 7 11:23:50 2016 -0400
explicitly show status when request is sent to server
---
www/roster/public/stylesheets/app.css | 2 ++
www/roster/views/group.js.rb | 1 +
www/roster/views/pmc/confirm.js.rb | 1 +
3 files changed, 4 insertions(+)
diff --git a/www/roster/public/stylesheets/app.css b/www/roster/public/stylesheets/app.css
index c78e879..12ac41c 100644
--- a/www/roster/public/stylesheets/app.css
+++ b/www/roster/public/stylesheets/app.css
@@ -19,6 +19,8 @@ table.wide {color: #000; border-collapse: separate; font-size: 100%}
.member {font-weight: bold}
.editable td:first-child {color: blue}
+.status {font-weight: bold; float: left; color: green}
+
thead:hover th.sorting-desc:after {content: ' \25bc'}
thead:hover th.sorting-asc:after {content: ' \25b2'}
diff --git a/www/roster/views/group.js.rb b/www/roster/views/group.js.rb
index eaef951..660de19 100644
--- a/www/roster/views/group.js.rb
+++ b/www/roster/views/group.js.rb
@@ -181,6 +181,7 @@ class GroupConfirm < React
end
_div.modal_footer do
+ _span.status 'Processing request...' if @disabled
_button.btn.btn_default 'Cancel', data_dismiss: 'modal',
disabled: @disabled
_button.btn @button, class: @color, onClick: self.post,
diff --git a/www/roster/views/pmc/confirm.js.rb b/www/roster/views/pmc/confirm.js.rb
index b33e5f0..c43c479 100644
--- a/www/roster/views/pmc/confirm.js.rb
+++ b/www/roster/views/pmc/confirm.js.rb
@@ -24,6 +24,7 @@ class PMCConfirm < React
end
_div.modal_footer do
+ _span.status 'Processing request...' if @disabled
_button.btn.btn_default 'Cancel', data_dismiss: 'modal',
disabled: @disabled
_button.btn @button, class: @color, onClick: self.post,
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].
|