#648: updated styles, added icons for filters

This commit is contained in:
Vokhmin Alexey V 2012-09-24 22:36:02 +04:00
parent 768f4b1dfb
commit 1e468b5073
4 changed files with 9 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

View File

@ -707,6 +707,12 @@ div.toolbar, table.dataTable {
.group { background: image-url('group16.png') no-repeat 0 0 transparent; }
}
.div-filter-labels {
.group { background: image-url('group16b.png') no-repeat 0 0 transparent; }
.user { background: image-url('user16b.png') no-repeat 0 0 transparent; }
.user, .group { padding-left: 20px; }
}
.root {
width: 100%;
text-align: center;

View File

@ -9,10 +9,11 @@ module ProjectsHelper
:selected => false,
:check_box_name => class_name.downcase.pluralize,
:check_box_value => o.id,
:name => o.uname,
:name => content_tag(:div, content_tag(:span, o.uname, :class => class_name.downcase)),
:uname => o.uname, # only for sorting
:count => all_projects.where(:owner_id => o, :owner_type => class_name).count
}
end.sort_by{ |f| f[:name] }
end.sort_by{ |f| f[:uname] }
end
def git_repo_url(name)