Refactor css lists. Use well-list class

This commit is contained in:
Dmitriy Zaporozhets 2012-12-18 06:14:05 +03:00
parent 85d5f606f6
commit 8826077471
32 changed files with 87 additions and 252 deletions

View file

@ -8,13 +8,13 @@
= link_to new_project_path(namespace_id: @group.id), class: "btn very_small info" do
%i.icon-plus
New Project
%ul.unstyled
%ul.well-list
- if projects.blank?
%p.nothing_here_message This groups has no projects yet
- projects.each do |project|
%li.wll
%li
= link_to project_path(project), class: dom_class(project) do
%strong.project_name= truncate(project.name, length: 25)
%strong.well-title= truncate(project.name, length: 25)
%span.arrow
→
%span.last_activity

View file

@ -10,7 +10,7 @@
%div.ui-box
- @project = group[0]
%h5= @project.name
%ul.unstyled.issues_table
%ul.well-list.issues_table
- group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue})
%hr

View file

@ -6,7 +6,7 @@
%br
- if @merge_requests.any?
- @merge_requests.group_by(&:project).each do |group|
%ul.unstyled.ui-box
%ul.well-list.ui-box
- @project = group[0]
%h5= @project.name
- group[1].each do |merge_request|

View file

@ -9,9 +9,9 @@
Team
%small
(#{@users.size})
%ul.unstyled
%ul.well-list
- @users.each do |user|
%li.wll
%li
= image_tag gravatar_icon(user.email, 16), class: "avatar s16"
%strong= user.name
%span.cgray= user.email