You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2017/04/25 13:01:06 UTC
[whimsy] branch master updated: Insensitive sort on name;
move table out of panel
This is an automated email from the ASF dual-hosted git repository.
curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 4e2e3aa Insensitive sort on name; move table out of panel
4e2e3aa is described below
commit 4e2e3aa2594a8429b92543b8b9ff8170a18ef085
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Tue Apr 25 09:01:01 2017 -0400
Insensitive sort on name; move table out of panel
---
www/test/site-check.cgi | 47 +++++++++++++++++++++++------------------------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/www/test/site-check.cgi b/www/test/site-check.cgi
index 4517295..afa62c6 100755
--- a/www/test/site-check.cgi
+++ b/www/test/site-check.cgi
@@ -45,34 +45,33 @@ _html do
_a 'raw JSON data', href: DATAURI
_ ". Last crawl time: #{crawl_time}."
end
-
- _table.table.table_condensed.table_striped do
- _thead do
- _tr do
- _th! 'Project', data_sort: 'string'
- cols.each do |c|
- _th! c.capitalize, data_sort: 'string'
- end
+ end
+ _table.table.table_condensed.table_striped do
+ _thead do
+ _tr do
+ _th! 'Project', data_sort: 'string-ins'
+ cols.each do |c|
+ _th! c.capitalize, data_sort: 'string'
end
end
+ end
- _tbody do
- sites.each do |n, links|
- _tr do
- _td do
- _a! "#{links['display_name']}", href: links['uri']
- end
- cols.each do |c|
- if not links[c]
- _td ''
- elsif links[c] =~ /^http/
- _td do
- _a links[c].sub(/https?:\/\//, '').
- sub(/(www\.)?apache\.org/i, 'a.o'), href: links[c]
- end
- else
- _td links[c]
+ _tbody do
+ sites.each do |n, links|
+ _tr do
+ _td do
+ _a! "#{links['display_name']}", href: links['uri']
+ end
+ cols.each do |c|
+ if not links[c]
+ _td ''
+ elsif links[c] =~ /^http/
+ _td do
+ _a links[c].sub(/https?:\/\//, '').
+ sub(/(www\.)?apache\.org/i, 'a.o'), href: links[c]
end
+ else
+ _td links[c]
end
end
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].