Refactor css lists. Use well-list class
This commit is contained in:
parent
85d5f606f6
commit
8826077471
32 changed files with 87 additions and 252 deletions
|
@ -8,11 +8,11 @@
|
|||
= link_to new_admin_group_path, class: "btn very_small info" do
|
||||
%i.icon-plus
|
||||
New Group
|
||||
%ul.unstyled
|
||||
%ul.well-list
|
||||
- groups.each do |group|
|
||||
%li.wll
|
||||
%li
|
||||
= link_to group_path(id: group.path), class: dom_class(group) do
|
||||
%strong.group_name= truncate(group.name, length: 35)
|
||||
%strong.well-title= truncate(group.name, length: 35)
|
||||
%span.arrow
|
||||
→
|
||||
%span.last_activity
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
= nav_tab :scope, 'joined' do
|
||||
= link_to "Joined", dashboard_path(scope: 'joined')
|
||||
|
||||
%ul.unstyled
|
||||
%ul.well-list
|
||||
- projects.each do |project|
|
||||
%li.wll
|
||||
%li
|
||||
= link_to project_path(project), class: dom_class(project) do
|
||||
- if project.namespace
|
||||
= project.namespace.human_name
|
||||
\/
|
||||
%strong.project_name
|
||||
%strong.well-title
|
||||
= truncate(project.name, length: 25)
|
||||
%span.arrow
|
||||
→
|
||||
|
@ -31,6 +31,6 @@
|
|||
%strong Last activity:
|
||||
%span= project_last_activity(project)
|
||||
- if projects.blank?
|
||||
%li.wll
|
||||
%li
|
||||
%h3.nothing_here_message There are no projects here.
|
||||
.bottom= paginate projects, theme: "gitlab"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
%div.ui-box
|
||||
- @project = group[0]
|
||||
%h5= link_to_project @project
|
||||
%ul.unstyled.issues_table
|
||||
%ul.well-list.issues_table
|
||||
- group[1].each do |issue|
|
||||
= render(partial: 'issues/show', locals: {issue: issue})
|
||||
%hr
|
||||
|
|
|
@ -10,11 +10,12 @@
|
|||
.span9
|
||||
- if @merge_requests.any?
|
||||
- @merge_requests.group_by(&:project).each do |group|
|
||||
%ul.unstyled.ui-box
|
||||
.ui-box
|
||||
- @project = group[0]
|
||||
%h5= link_to_project @project
|
||||
- group[1].each do |merge_request|
|
||||
= render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
|
||||
%ul.well-list
|
||||
- group[1].each do |merge_request|
|
||||
= render(partial: 'merge_requests/merge_request', locals: {merge_request: merge_request})
|
||||
%hr
|
||||
= paginate @merge_requests, theme: "gitlab"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue