[Xfce4-commits] <moka:master> Align table a bit.

Nick Schermer noreply at xfce.org
Thu Nov 24 19:54:01 CET 2011


Updating branch refs/heads/master
         to d3f636c73af3092320a4e129647742e3e61d6a4e (commit)
       from 7ade0ef23c2947f10eb728210f76ea34eda8e71f (commit)

commit d3f636c73af3092320a4e129647742e3e61d6a4e
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Nov 24 19:52:14 2011 +0100

    Align table a bit.

 lib/views/maintainer.haml |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/lib/views/maintainer.haml b/lib/views/maintainer.haml
index ed31899..3faf2cd 100644
--- a/lib/views/maintainer.haml
+++ b/lib/views/maintainer.haml
@@ -1,11 +1,11 @@
 %h2 Inactive Maintainers
 %p Account for maintainers that have not been activated yet.
 
-%table
+%table{:width => '70%'}
   %tr
-    %th Username
-    %th Real Name
-    %th Email
+    %th{:width => '33%'} Username
+    %th{:width => '33%'} Real Name
+    %th{:width => '33%'} Email
   - for maintainer in Maintainer.all(:active => false).sort
     %tr
       %td
@@ -47,12 +47,12 @@
   %b Bold
   users have administration permission.
 
-%table
+%table{:width => '100%'}
   %tr
-    %th Username
-    %th Real Name
-    %th Email
-    %th # Projects
+    %th{:width => '25%'} Username
+    %th{:width => '25%'} Real Name
+    %th{:width => '25%'} Email
+    %th{:width => '25%'} # Projects
   - for maintainer in Maintainer.all(:active => true).sort
     %tr{:class => maintainer.is_admin ? "admin" : ""}
       %td


More information about the Xfce4-commits mailing list