You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/03/12 19:05:15 UTC
[whimsy] branch master updated: Reduce scrolling
This is an automated email from the ASF dual-hosted git repository.
sebb 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 eeb6e74 Reduce scrolling
eeb6e74 is described below
commit eeb6e7439a7936598c1c36f449dd595894b7adfb
Author: Sebb <se...@apache.org>
AuthorDate: Tue Mar 12 19:05:05 2019 +0000
Reduce scrolling
---
www/members/security-subs.cgi | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/www/members/security-subs.cgi b/www/members/security-subs.cgi
index 5f42ed7..f958fb8 100755
--- a/www/members/security-subs.cgi
+++ b/www/members/security-subs.cgi
@@ -33,14 +33,21 @@ _html do
if path == ''
_table.table.table_responsive do
_tr do
- _th.text_right.col_xs_1 'count'
- _th 'project'
+ _th.col_xs_1.text_right 'count'
+ _th.col_xs_3 'project'
+ _th.col_xs_1.text_right 'count'
+ _th.col_xs_3 'project'
+ _th.col_xs_1.text_right 'count'
+ _th.col_xs_3 'project'
+ # cols must add up to twelve
end
- lists.each do |dom, subs|
+ lists.each_slice(3) do |slice|
_tr do
- _td.text_right subs.length
- _td do
- _a dom, href: dom
+ slice.each do |dom, subs|
+ _td.text_right subs.length
+ _td do
+ _a dom, href: dom
+ end
end
end
end