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/07/04 01:56:23 UTC

[whimsy] branch master updated: Use columns for summary info

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 105c23a  Use columns for summary info
105c23a is described below

commit 105c23a27f9b2cb71c71c7024c2ca28d9e313680
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Mon Jul 3 21:56:17 2017 -0400

    Use columns for summary info
---
 www/roster/views/groups.html.rb | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/www/roster/views/groups.html.rb b/www/roster/views/groups.html.rb
index 5c68993..26f71b0 100644
--- a/www/roster/views/groups.html.rb
+++ b/www/roster/views/groups.html.rb
@@ -21,22 +21,26 @@ _html do
       # ********************************************************************
       # *                             Summary                              *
       # ********************************************************************
-      _whimsy_panel_table(
-        title: 'Summary - Count of non-PMC Groups',
-        helpblock: -> {
-          _ 'This data is for non-PMC groups, including unix groups and other LDAP groups; many of which are '
-          _span.glyphicon.glyphicon_lock :aria_hidden, class: 'text-primary', aria_label: 'ASF Members Private'
-          _ ' private to the ASF.'
-        }
-      ) do
-        _table.counts do
-          @groups.group_by(&:last).sort.each do |name, list|
-            _tr do
-              _td list.count
-              _td name
+      _div.row do
+        _div.col_md_5 do
+          _div.well.well_sm do
+            _table.counts do
+              @groups.group_by(&:last).sort.each do |name, list|
+                _tr do
+                  _td list.count
+                  _td name
+                end
+              end
             end
           end
         end
+        _div.col_md_6 do
+          _p do
+            _ 'This data is for non-PMC groups, including unix groups and other LDAP groups; many of which are '
+            _span.glyphicon.glyphicon_lock :aria_hidden, class: 'text-primary', aria_label: 'ASF Members Private'
+            _ ' private to the ASF.'
+          end
+        end
       end
 
       # ********************************************************************

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].