Skip to content
Snippets Groups Projects
Commit 88260774 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Refactor css lists. Use well-list class

parent 85d5f606
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,7 +6,7 @@
.row
.span7= paginate @issues, remote: true, theme: "gitlab"
.span3.right
%span.cgray.right
%span.cgray.right
%span.issue_counter #{@issues.total_count}
issues for this filter
- else
Loading
Loading
%li.wll{ id: dom_id(issue), class: issue_css_classes(issue), url: project_issue_path(issue.project, issue) }
%li{ id: dom_id(issue), class: issue_css_classes(issue), url: project_issue_path(issue.project, issue) }
- if controller.controller_name == 'issues'
.issue_check
= check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, class: "selected_issue", disabled: !can?(current_user, :modify_issue, issue)
Loading
Loading
Loading
Loading
@@ -55,7 +55,7 @@
= hidden_field_tag :f, params[:f]
.clearfix
 
%ul#issues-table.unstyled.issues_table
%ul#issues-table.well-list.issues_table
= render "issues"
 
#new_issue_dialog
Loading
Loading
%li.wll
%li
%strong
%i.icon-tag
= label.name
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@
Labels
%br
%div.ui-box
%ul.unstyled.labels-table
%ul.well-list.labels-table
- @labels.each do |label|
= render 'label', label: label
 
Loading
Loading
%li.wll{ class: mr_css_classes(merge_request) }
%li{ class: mr_css_classes(merge_request) }
.right
.left
- if merge_request.merged?
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@
= hidden_field_tag :f, params[:f]
.clearfix
 
%ul.unstyled
%ul.well-list
= render @merge_requests
- if @merge_requests.blank?
%li
Loading
Loading
Loading
Loading
@@ -5,19 +5,19 @@
Commits (#{@commits.count})
.merge-request-commits
- if @commits.count > 8
%ul.first_mr_commits.unstyled
%ul.first_mr_commits.well-list
- @commits.first(8).each do |commit|
= render "commits/commit", commit: commit
%li.bottom
8 of #{@commits.count} commits displayed.
%strong
%a.mr_show_all_commits Click here to show all
%ul.all_mr_commits.hide.unstyled
%ul.all_mr_commits.hide.well-list
- @commits.each do |commit|
= render "commits/commit", commit: commit
 
- else
%ul.unstyled
%ul.well-list
- @commits.each do |commit|
= render "commits/commit", commit: commit
 
Loading
Loading
Loading
Loading
@@ -18,7 +18,7 @@
= link_to project_milestones_path(@project, f: "all") do
All
 
%ul.unstyled
%ul.well-list
= render @milestones
 
- if @milestones.present?
Loading
Loading
Loading
Loading
@@ -2,8 +2,8 @@
%h3.page_title Services
%br
 
%ul.unstyled.ui-box
%li.wll
%ul.ui-box.well-list
%li
%h4.cgreen
= link_to edit_project_service_path(@project, :gitlab_ci) do
GitLab CI
Loading
Loading
@@ -17,14 +17,14 @@
%small.cgray
%i.icon-off
Disabled
%li.wll
%h4.cgray
%li.disabled
%h4
Jenkins CI
%small An extendable open source continuous integration server
.right
%small Not implemented yet
%li.wll
%h4.cgray
%li.disabled
%h4
Campfire
%small Web-based group chat tool
.right
Loading
Loading
- user = member.user
- allow_admin = can? current_user, :admin_project, @project
%li.wll{id: dom_id(member), class: "team_member_row user_#{user.id}"}
%li{id: dom_id(member), class: "team_member_row user_#{user.id}"}
.row
.span6
= link_to project_team_member_path(@project, member), title: user.name, class: "dark" do
Loading
Loading
- grouper_project_members(@project).each do |access, members|
%fieldset
%legend
.ui-box
%h5
= Project.access_options.key(access).pluralize
%small= members.size
%ul.unstyled
%ul.well-list
- members.sort_by(&:user_name).each do |up|
= render(partial: 'team_members/show', locals: {member: up})
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment