whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Insensitive sort on name; move table out of panel
Date Tue, 25 Apr 2017 13:01:06 GMT
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 <asf@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" <commits@whimsical.apache.org>'].

Mime
View raw message