Slight style update.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@770 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-09-27 19:56:33 +00:00
parent e1bb4a5baa
commit 05e27d0d83
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %> <% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %>
<% perms_by_module.keys.sort.each do |mod| %> <% perms_by_module.keys.sort.each do |mod| %>
<% unless mod.blank? %> <% unless mod.blank? %>
<tr><%= content_tag('th', mod.humanize, :colspan => (@roles.size + 1)) %></th></tr> <tr><%= content_tag('th', mod.humanize, :colspan => (@roles.size + 1), :align => 'left') %></tr>
<% end %> <% end %>
<% perms_by_module[mod].each do |permission| %> <% perms_by_module[mod].each do |permission| %>
<tr class="<%= cycle('odd', 'even') %>"> <tr class="<%= cycle('odd', 'even') %>">

View File

@ -68,7 +68,7 @@ a img{ border: 0; }
/***** Tables *****/ /***** Tables *****/
table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
table.list tbody th { text-align: left; padding: 0px; } table.list tbody th { padding: 0px; }
table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;} table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;}
table.list tbody tr:hover { background-color:#ffffdd; } table.list tbody tr:hover { background-color:#ffffdd; }
table td {padding:2px;} table td {padding:2px;}