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: Fix some styles to be consistent
Date Tue, 04 Jul 2017 01:45:26 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 9ff1590  Fix some styles to be consistent
9ff1590 is described below

commit 9ff1590a51195aecc03ec2d208563b07194a5f1a
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Mon Jul 3 21:45:21 2017 -0400

    Fix some styles to be consistent
---
 www/roster/views/committees.html.rb | 67 ++++++++++++++++++-------------------
 www/roster/views/groups.html.rb     |  1 -
 2 files changed, 32 insertions(+), 36 deletions(-)

diff --git a/www/roster/views/committees.html.rb b/www/roster/views/committees.html.rb
index f2ba861..c9a89ff 100644
--- a/www/roster/views/committees.html.rb
+++ b/www/roster/views/committees.html.rb
@@ -12,48 +12,45 @@ _html do
       committee: 'committee/'
     }
   ) do
-    _whimsy_panel_table(
-      title: 'Summary List of Apache PMCs',
-      helpblock: -> {
-        _ 'A full list of Apache PMCs; click on the name for a detail page about that PMC.
 Non-PMC groups of various kinds '
-        _a href: '/roster/group/' do
-          _span.glyphicon.glyphicon_lock :aria_hidden, class: 'text-primary', aria_label:
'ASF Members Private'
-          _ 'are listed privately.'
-        end
-      }
-    ) do
-      _table.table.table_hover do
-        _thead do
-          _tr do
-            _th 'Name'
-            _th 'Chair(s)'
-            _th 'Description'
-          end
+    _p do
+      _ 'A full list of Apache PMCs; click on the name for a detail page about that PMC.
 Non-PMC groups of various kinds '
+      _a href: '/roster/group/' do
+        _span.glyphicon.glyphicon_lock :aria_hidden, class: 'text-primary', aria_label: 'ASF
Members Private'
+        _ 'are listed privately.'
+      end
+    end
+
+    _table.table.table_hover do
+      _thead do
+        _tr do
+          _th 'Name'
+          _th 'Chair(s)'
+          _th 'Description'
         end
+      end
 
-        @committees.sort_by {|pmc| pmc.display_name.downcase}.each do |pmc|
-          _tr_ do
-            _td do
-              _a pmc.display_name, href: "committee/#{pmc.name}"
-            end
+      @committees.sort_by {|pmc| pmc.display_name.downcase}.each do |pmc|
+        _tr_ do
+          _td do
+            _a pmc.display_name, href: "committee/#{pmc.name}"
+          end
 
-            _td do
-              pmc.chairs.each_with_index do |chair, index|
-                _span ', ' unless index == 0
+          _td do
+            pmc.chairs.each_with_index do |chair, index|
+              _span ', ' unless index == 0
 
-                if @members.include? chair[:id]
-                  _b! {_a chair[:name], href: "committer/#{chair[:id]}"}
-                else
-                  _a chair[:name], href: "committer/#{chair[:id]}"
-                end
+              if @members.include? chair[:id]
+                _b! {_a chair[:name], href: "committer/#{chair[:id]}"}
+              else
+                _a chair[:name], href: "committer/#{chair[:id]}"
               end
             end
+          end
 
-            if not pmc.established
-              _td.issue 'Not in committee-info.txt'
-            else
-              _td pmc.description
-            end
+          if not pmc.established
+            _td.issue 'Not in committee-info.txt'
+          else
+            _td pmc.description
           end
         end
       end
diff --git a/www/roster/views/groups.html.rb b/www/roster/views/groups.html.rb
index 4e962b5..5c68993 100644
--- a/www/roster/views/groups.html.rb
+++ b/www/roster/views/groups.html.rb
@@ -4,7 +4,6 @@
 
 _html do
   _base href: '..'
-  _title 
   _link rel: 'stylesheet', href: 'stylesheets/app.css'
 
   _banner breadcrumbs: {

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

Mime
View raw message