Commit 9b038076eb0017fcb5be14d9bc1334e803a5131f
1 parent
ed088d0b
Exists in
master
and in
29 other branches
users-list-css: minor improvements
Showing
2 changed files
with
15 additions
and
3 deletions
Show diff stats
app/views/users/_users_list.rhtml
@@ -5,6 +5,10 @@ | @@ -5,6 +5,10 @@ | ||
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <table> | 7 | <table> |
8 | + <colgroup> | ||
9 | + <col width="80%"> | ||
10 | + <col width="20%"> | ||
11 | + </colgroup> | ||
8 | <tr> | 12 | <tr> |
9 | <th><%= _('Member') %></th> | 13 | <th><%= _('Member') %></th> |
10 | <th><%= _('Actions') %></th> | 14 | <th><%= _('Actions') %></th> |
@@ -12,7 +16,7 @@ | @@ -12,7 +16,7 @@ | ||
12 | <% @collection.each do |p| %> | 16 | <% @collection.each do |p| %> |
13 | <tr title="<%= p.name %>"> | 17 | <tr title="<%= p.name %>"> |
14 | <td><%= link_to_profile p.short_name, p.identifier, :title => p.name %> </td> | 18 | <td><%= link_to_profile p.short_name, p.identifier, :title => p.name %> </td> |
15 | - <td> | 19 | + <td class='actions'> |
16 | <div class="members-buttons-cell"> | 20 | <div class="members-buttons-cell"> |
17 | <% if p.is_admin? %> | 21 | <% if p.is_admin? %> |
18 | <%= button_without_text :'reset-admin-role', _('Reset admin role'), :action => 'reset_admin_role', :id => p, :q => @q, :filter => @filter %> | 22 | <%= button_without_text :'reset-admin-role', _('Reset admin role'), :action => 'reset_admin_role', :id => p, :q => @q, :filter => @filter %> |
public/stylesheets/application.css
@@ -4180,8 +4180,16 @@ h1#agenda-title { | @@ -4180,8 +4180,16 @@ h1#agenda-title { | ||
4180 | } | 4180 | } |
4181 | 4181 | ||
4182 | /* ==> public/stylesheets/controller_environment_users.css <== */ | 4182 | /* ==> public/stylesheets/controller_environment_users.css <== */ |
4183 | -.controller-environment_users table { | ||
4184 | - text-align: left; | 4183 | +.controller-users td.actions { |
4184 | + text-align: center; | ||
4185 | +} | ||
4186 | + | ||
4187 | +.controller-users .search-field #q { | ||
4188 | + width: 85%; | ||
4189 | +} | ||
4190 | + | ||
4191 | +.controller-users .search-field input[type='submit'] { | ||
4192 | + float: right; | ||
4185 | } | 4193 | } |
4186 | 4194 | ||
4187 | #environment-users-search form { | 4195 | #environment-users-search form { |