Commit 1b1a408a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Convert span into col-md

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 447b46ca
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
You can manage projects, users and other GitLab data from here. You can manage projects, users and other GitLab data from here.
%hr %hr
.admin_dash.row .admin_dash.row
.span4 .col-md-4
.light-well .light-well
%h4 Projects %h4 Projects
.data .data
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%h1= Project.count %h1= Project.count
%hr %hr
= link_to 'New Project', new_project_path, class: "btn btn-new" = link_to 'New Project', new_project_path, class: "btn btn-new"
.span4 .col-md-4
.light-well .light-well
%h4 Users %h4 Users
.data .data
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
%h1= User.count %h1= User.count
%hr %hr
= link_to 'New User', new_admin_user_path, class: "btn btn-new" = link_to 'New User', new_admin_user_path, class: "btn btn-new"
.span4 .col-md-4
.light-well .light-well
%h4 Groups %h4 Groups
.data .data
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
= link_to 'New Group', new_admin_group_path, class: "btn btn-new" = link_to 'New Group', new_admin_group_path, class: "btn btn-new"
.row.prepend-top-10 .row.prepend-top-10
.span4 .col-md-4
%h4 Latest projects %h4 Latest projects
%hr %hr
- @projects.each do |project| - @projects.each do |project|
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
%span.light.pull-right %span.light.pull-right
#{time_ago_with_tooltip(project.created_at)} #{time_ago_with_tooltip(project.created_at)}
.span4 .col-md-4
%h4 Latest users %h4 Latest users
%hr %hr
- @users.each do |user| - @users.each do |user|
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
%span.light.pull-right %span.light.pull-right
#{time_ago_with_tooltip(user.created_at)} #{time_ago_with_tooltip(user.created_at)}
.span4 .col-md-4
%h4 Latest groups %h4 Latest groups
%hr %hr
- @groups.each do |group| - @groups.each do |group|
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
%br %br
.row .row
.span4 .col-md-4
%h4 Stats %h4 Stats
%hr %hr
%p %p
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
Milestones Milestones
%span.light.pull-right %span.light.pull-right
= Milestone.count = Milestone.count
.span4 .col-md-4
%h4 %h4
Features Features
%hr %hr
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
OmniAuth OmniAuth
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab.config.omniauth.enabled = boolean_to_icon Gitlab.config.omniauth.enabled
.span4 .col-md-4
%h4 Components %h4 Components
%hr %hr
%p %p
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
Edit Edit
%hr %hr
.row .row
.span6 .col-md-6
.ui-box .ui-box
.title .title
Group info: Group info:
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
%span.pull-right.light %span.pull-right.light
%span.monospace= project.path_with_namespace + ".git" %span.monospace= project.path_with_namespace + ".git"
.span6 .col-md-6
.ui-box .ui-box
.title .title
Add user(s) to the group: Add user(s) to the group:
......
.row .row
.span4 .col-md-4
.admin-filter .admin-filter
= form_tag admin_projects_path, method: :get, class: 'form-inline' do = form_tag admin_projects_path, method: :get, class: 'form-inline' do
.control-group .control-group
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
.form-actions .form-actions
= submit_tag "Search", class: "btn submit btn-primary" = submit_tag "Search", class: "btn submit btn-primary"
= link_to "Reset", admin_projects_path, class: "btn" = link_to "Reset", admin_projects_path, class: "btn"
.span8 .col-md-8
.ui-box .ui-box
.title .title
Projects (#{@projects.total_count}) Projects (#{@projects.total_count})
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Edit Edit
%hr %hr
.row .row
.span6 .col-md-6
.ui-box .ui-box
.title .title
Project info: Project info:
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
.controls .controls
= f.submit 'Transfer', class: 'btn btn-primary' = f.submit 'Transfer', class: 'btn btn-primary'
.span6 .col-md-6
- if @group - if @group
.ui-box .ui-box
.title .title
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
%fieldset %fieldset
%legend Access %legend Access
.row .row
.span8 .col-md-8
.control-group .control-group
= f.label :projects_limit = f.label :projects_limit
.controls= f.number_field :projects_limit .controls= f.number_field :projects_limit
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
= f.label :admin do = f.label :admin do
%strong.cred Administrator %strong.cred Administrator
.controls= f.check_box :admin .controls= f.check_box :admin
.span4 .col-md-4
- unless @user.new_record? - unless @user.new_record?
.alert.alert-error .alert.alert-error
- if @user.blocked? - if @user.blocked?
......
.row .row
.span3 .col-md-3
.admin-filter .admin-filter
= form_tag admin_users_path, method: :get, class: 'form-inline' do = form_tag admin_users_path, method: :get, class: 'form-inline' do
= search_field_tag :name, params[:name], placeholder: 'Name, email or username', class: 'input-xpadding span2' = search_field_tag :name, params[:name], placeholder: 'Name, email or username', class: 'input-xpadding span2'
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
%hr %hr
= link_to 'Reset', admin_users_path, class: "btn btn-cancel" = link_to 'Reset', admin_users_path, class: "btn btn-cancel"
.span9 .col-md-9
.ui-box .ui-box
.title .title
Users (#{@users.total_count}) Users (#{@users.total_count})
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
%hr %hr
.row .row
.span6 .col-md-6
.ui-box .ui-box
.title .title
Account: Account:
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
%strong #{@user.solo_owned_groups.map(&:name).join(', ')} %strong #{@user.solo_owned_groups.map(&:name).join(', ')}
= link_to 'Remove user', [:admin, @user], data: { confirm: "USER #{@user.name} WILL BE REMOVED! Are you sure?" }, method: :delete, class: "btn btn-remove" = link_to 'Remove user', [:admin, @user], data: { confirm: "USER #{@user.name} WILL BE REMOVED! Are you sure?" }, method: :delete, class: "btn btn-remove"
.span6 .col-md-6
- if @user.users_groups.present? - if @user.users_groups.present?
.ui-box .ui-box
.title Groups: .title Groups:
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%hr %hr
.row .row
.span3 .col-md-3
= render 'shared/filter', entity: 'issue' = render 'shared/filter', entity: 'issue'
.span9 .col-md-9
= render 'shared/issues' = render 'shared/issues'
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
List all merge requests from all project's you have access to. List all merge requests from all project's you have access to.
%hr %hr
.row .row
.span3 .col-md-3
= render 'shared/filter', entity: 'merge_request' = render 'shared/filter', entity: 'merge_request'
.span9 .col-md-9
= render 'shared/merge_requests' = render 'shared/merge_requests'
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
All projects you have access to are listed here. Public projects are not included here unless you are a member All projects you have access to are listed here. Public projects are not included here unless you are a member
%hr %hr
.row .row
.span3 .col-md-3
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
= nav_tab :scope, nil do = nav_tab :scope, nil do
= link_to projects_dashboard_filter_path(scope: nil) do = link_to projects_dashboard_filter_path(scope: nil) do
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
%i.icon-tag %i.icon-tag
= label.name = label.name
.span9 .col-md-9
%ul.bordered-list.my-projects.top-list %ul.bordered-list.my-projects.top-list
- @projects.each do |project| - @projects.each do |project|
%li.my-project-row %li.my-project-row
......
- if @has_authorized_projects - if @has_authorized_projects
.dashboard .dashboard
.activities.span8 .activities.col-md-8
= render 'activities' = render 'activities'
.side.span4 .side.col-md-4
= render 'sidebar' = render 'sidebar'
- else - else
......
.row .row
.span2 .col-md-2
%ul.nav.nav-pills.nav-stacked.nav-stacked-menu %ul.nav.nav-pills.nav-stacked.nav-stacked-menu
%li.active %li.active
= link_to '#tab-edit', 'data-toggle' => 'tab' do = link_to '#tab-edit', 'data-toggle' => 'tab' do
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%li %li
= link_to 'Remove', '#tab-remove', 'data-toggle' => 'tab' = link_to 'Remove', '#tab-remove', 'data-toggle' => 'tab'
.span10 .col-md-10
.tab-content .tab-content
.tab-pane.active#tab-edit .tab-pane.active#tab-edit
.ui-box .ui-box
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
%hr %hr
.row .row
.span3 .col-md-3
= render 'shared/filter', entity: 'issue' = render 'shared/filter', entity: 'issue'
.span9 .col-md-9
= render 'shared/issues' = render 'shared/issues'
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
group. To see all merge requests you should visit #{link_to 'dashboard', merge_requests_dashboard_path} page. group. To see all merge requests you should visit #{link_to 'dashboard', merge_requests_dashboard_path} page.
%hr %hr
.row .row
.span3 .col-md-3
= render 'shared/filter', entity: 'merge_request' = render 'shared/filter', entity: 'merge_request'
.span9 .col-md-9
= render 'shared/merge_requests' = render 'shared/merge_requests'
.dashboard .dashboard
.activities.span8 .activities.col-md-8
= render "events/event_last_push", event: @last_push = render "events/event_last_push", event: @last_push
= link_to dashboard_path, class: 'btn btn-tiny' do = link_to dashboard_path, class: 'btn btn-tiny' do
&larr; To dashboard &larr; To dashboard
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- else - else
%p.nothing_here_message Project activity will be displayed here %p.nothing_here_message Project activity will be displayed here
.loading.hide .loading.hide
.side.span4 .side.col-md-4
- if @group.description.present? - if @group.description.present?
.description-block .description-block
= @group.description = @group.description
......
.row .row
.span3 .col-md-3
.append-bottom-20 .append-bottom-20
= link_to help_path, class: 'btn btn-small' do = link_to help_path, class: 'btn btn-small' do
%i.icon-angle-left %i.icon-angle-left
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
%li{class: file == @category ? 'active' : nil} %li{class: file == @category ? 'active' : nil}
= link_to file.titleize, help_api_file_path(file) = link_to file.titleize, help_api_file_path(file)
.span9.pull-right .col-md-9.pull-right
= yield = yield
.row .row
.span3{:"data-spy" => 'affix'} .col-md-3{:"data-spy" => 'affix'}
%h3.page-title Help %h3.page-title Help
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
- links = {:"Workflow" => help_workflow_path, :"SSH Keys" => help_ssh_path, :"GitLab Markdown" => help_markdown_path, :"Permissions" => help_permissions_path, :"API" => help_api_path, :"Web Hooks" => help_web_hooks_path, :"Rake Tasks" => help_raketasks_path, :"System Hooks" => help_system_hooks_path, :"Public Access" => help_public_access_path, :"Security" => help_security_path} - links = {:"Workflow" => help_workflow_path, :"SSH Keys" => help_ssh_path, :"GitLab Markdown" => help_markdown_path, :"Permissions" => help_permissions_path, :"API" => help_api_path, :"Web Hooks" => help_web_hooks_path, :"Rake Tasks" => help_raketasks_path, :"System Hooks" => help_system_hooks_path, :"Public Access" => help_public_access_path, :"Security" => help_security_path}
...@@ -7,5 +7,5 @@ ...@@ -7,5 +7,5 @@
%li{class: current_page?(path) ? 'active' : nil} %li{class: current_page?(path) ? 'active' : nil}
= link_to title, path = link_to title, path
.span9.pull-right .col-md-9.pull-right
= yield = yield
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
Read more about GitLab at #{link_to "gitlab.org", "http://gitlab.org/", target: "_blank"}. Read more about GitLab at #{link_to "gitlab.org", "http://gitlab.org/", target: "_blank"}.
.row .row
.span4 .col-md-4
.ui-box .ui-box
.title .title
Quick help Quick help
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
Browse our Browse our
= link_to "issue tracker", "https://github.com/gitlabhq/gitlabhq/issues" = link_to "issue tracker", "https://github.com/gitlabhq/gitlabhq/issues"
.span4 .col-md-4
.ui-box .ui-box
.title .title
User documentation User documentation
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
%strong= link_to "Web Hooks", help_web_hooks_path %strong= link_to "Web Hooks", help_web_hooks_path
%p Let GitLab notify you when new code has been pushed to your project. %p Let GitLab notify you when new code has been pushed to your project.
.span4 .col-md-4
.ui-box .ui-box
.title .title
Admin documentation Admin documentation
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.container .container
.content .content
.row .row
.span2 .col-md-2
= render "projects/settings_nav" = render "projects/settings_nav"
.span10 .col-md-10
= yield = yield
.row .row
.span4 .col-md-4
.ui-box .ui-box
.title .title
SSH Key SSH Key
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%span.light Created on: %span.light Created on:
%strong= @key.created_at.stamp("Aug 21, 2011") %strong= @key.created_at.stamp("Aug 21, 2011")
.span8 .col-md-8
%p %p
%span.light Fingerprint: %span.light Fingerprint:
%strong= @key.fingerprint %strong= @key.fingerprint
......
%li %li
.row .row
.span4 .col-md-4
%span %span
= notification_icon(notification) = notification_icon(notification)
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= link_to membership.group.name, membership.group = link_to membership.group.name, membership.group
- else - else
= link_to_project(membership.project) = link_to_project(membership.project)
.span7 .col-md-7
= form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do = form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
= hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type') = hidden_field_tag :notification_type, type, id: dom_id(membership, 'notification_type')
= hidden_field_tag :notification_id, membership.id, id: dom_id(membership, 'notification_id') = hidden_field_tag :notification_id, membership.id, id: dom_id(membership, 'notification_id')
......
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
&ndash; You will receive all notifications from projects in which you participate &ndash; You will receive all notifications from projects in which you participate
.row .row
.span4 .col-md-4
%h4 %h4
= notification_icon(@notification) = notification_icon(@notification)
Global setting Global setting
.span7 .col-md-7
= form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do = form_tag profile_notifications_path, method: :put, remote: true, class: 'update-notifications' do
= hidden_field_tag :notification_type, 'global' = hidden_field_tag :notification_type, 'global'
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
- @user.errors.full_messages.each do |msg| - @user.errors.full_messages.each do |msg|
%li= msg %li= msg
.row .row
.span7 .col-md-7
.control-group .control-group
= f.label :name, class: "control-label" = f.label :name, class: "control-label"
.controls .controls
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
= f.text_area :bio, rows: 6, class: "input-xlarge", maxlength: 250 = f.text_area :bio, rows: 6, class: "input-xlarge", maxlength: 250
%span.help-block Tell us about yourself in fewer than 250 characters. %span.help-block Tell us about yourself in fewer than 250 characters.
.span5.pull-right .col-md-5.pull-right
.light-well .light-well
= image_tag avatar_icon(@user.email, 160), alt: '', class: 'avatar s160' = image_tag avatar_icon(@user.email, 160), alt: '', class: 'avatar s160'
......
- empty_repo = @project.empty_repo? - empty_repo = @project.empty_repo?
.project-home-panel{:class => ("empty-project" if empty_repo)} .project-home-panel{:class => ("empty-project" if empty_repo)}
.row .row
.span6 .col-md-6
%h4.project-home-title %h4.project-home-title
= @project.name_with_namespace = @project.name_with_namespace
%span.visibility-level-label %span.visibility-level-label
= visibility_level_icon(@project.visibility_level) = visibility_level_icon(@project.visibility_level)
= visibility_level_label(@project.visibility_level) = visibility_level_label(@project.visibility_level)
.span6 .col-md-6
- unless empty_repo - unless empty_repo
.project-home-dropdown .project-home-dropdown
= render "dropdown" = render "dropdown"
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
= render "shared/clone_panel" = render "shared/clone_panel"
.project-home-extra.clearfix.row .project-home-extra.clearfix.row
.project-home-desc.span8 .project-home-desc.col-md-8
- if @project.description.present? - if @project.description.present?
= @project.description = @project.description
- if can?(current_user, :admin_project, @project) - if can?(current_user, :admin_project, @project)
......
= render "projects/commits/head" = render "projects/commits/head"
.row .row
.span3 .col-md-3
= render "filter" = render "filter"
.span9 .col-md-9
- unless @branches.empty? - unless @branches.empty?
%ul.bordered-list.top-list %ul.bordered-list.top-list
- @branches.each do |branch| - @branches.each do |branch|
= render "projects/branches/branch", branch: branch = render "projects/branches/branch", branch: branch
= paginate @branches, theme: 'gitlab' = paginate @branches, theme: 'gitlab'
\ No newline at end of file
= render "projects/commits/head" = render "projects/commits/head"
.row .row
.span3 .col-md-3
= render "filter" = render "filter"
.span9 .col-md-9
%ul.bordered-list.top-list %ul.bordered-list.top-list
- @branches.each do |branch| - @branches.each do |branch|
= render "projects/branches/branch", branch: branch = render "projects/branches/branch", branch: branch
\ No newline at end of file
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits| - @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
.row.commits-row .row.commits-row
.span2 .col-md-2
%h4 %h4
%i.icon-calendar %i.icon-calendar
%span= day.stamp("28 Aug, 2010") %span= day.stamp("28 Aug, 2010")
%p= pluralize(commits.count, 'commit') %p= pluralize(commits.count, 'commit')
.span10 .col-md-10
%ul.well-list %ul.well-list
= render commits, project: @project = render commits, project: @project
%hr.lists-separator %hr.lists-separator
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%hr.clearfix %hr.clearfix
.row .row
.span5.enabled-keys .col-md-5.enabled-keys
%h5 %h5
%strong.cgreen Enabled deploy keys %strong.cgreen Enabled deploy keys
for this project for this project
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
- if @enabled_keys.blank? - if @enabled_keys.blank?
.light-well .light-well
%p.nothing_here_message Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one %p.nothing_here_message Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one
.span5.available-keys .col-md-5.available-keys
%h5 %h5
%strong Deploy keys %strong Deploy keys
from projects available to you from projects available to you
......
= render "head" = render "head"
.row .row
.span3 .col-md-3
= render 'shared/project_filter', project_entities_path: project_issues_path(@project) = render 'shared/project_filter', project_entities_path: project_issues_path(@project)
.span9.issues-holder .col-md-9.issues-holder
= render "issues" = render "issues"
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
Edit Edit
.pull-right .pull-right
.span3#votes= render 'votes/votes_block', votable: @issue .col-md-3#votes= render 'votes/votes_block', votable: @issue
.back-link .back-link
= link_to project_issues_path(@project) do = link_to project_issues_path(@project) do
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.merge-request-branches .merge-request-branches
.row .row
.span5 .col-md-5
.clearfix .clearfix
.pull-left .pull-left
= f.select(:source_project_id, [[@merge_request.source_project_path,@merge_request.source_project.id]] , {}, { class: 'source_project chosen span3', disabled: @merge_request.persisted? }) = f.select(:source_project_id, [[@merge_request.source_project_path,@merge_request.source_project.id]] , {}, { class: 'source_project chosen span3', disabled: @merge_request.persisted? })
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
&nbsp; &nbsp;
= f.select(:source_branch, @merge_request.source_project.repository.branch_names, { include_blank: "Select branch" }, {class: 'source_branch chosen span2'}) = f.select(:source_branch, @merge_request.source_project.repository.branch_names, { include_blank: "Select branch" }, {class: 'source_branch chosen span2'})
.mr_source_commit.prepend-top-10 .mr_source_commit.prepend-top-10
.span2 .col-md-2
%h2.merge-request-angle.light %h2.merge-request-angle.light
%i.icon-long-arrow-right %i.icon-long-arrow-right
.span5 .col-md-5
.clearfix .clearfix
.pull-left .pull-left
- projects = @project.forked_from_project.nil? ? [@project] : [ @project,@project.forked_from_project] - projects = @project.forked_from_project.nil? ? [@project] : [ @project,@project.forked_from_project]
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
.row .row
.span3 .col-md-3
= render 'shared/project_filter', project_entities_path: project_merge_requests_path(@project) = render 'shared/project_filter', project_entities_path: project_merge_requests_path(@project)
.span9 .col-md-9
.ui-box .ui-box
.title .title
.mr-filters .mr-filters
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
Edit Edit
.pull-right .pull-right
.span3#votes= render 'votes/votes_block', votable: @merge_request .col-md-3#votes= render 'votes/votes_block', votable: @merge_request
.back-link .back-link
= link_to project_merge_requests_path(@project) do = link_to project_merge_requests_path(@project) do
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- @milestone.errors.full_messages.each do |msg| - @milestone.errors.full_messages.each do |msg|
%li= msg %li= msg
.row .row
.span6 .col-md-6
.control-group .control-group
= f.label :title, "Title", class: "control-label" = f.label :title, "Title", class: "control-label"
.controls .controls
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
.controls .controls
= f.text_area :description, maxlength: 2000, class: "input-xlarge", rows: 10 = f.text_area :description, maxlength: 2000, class: "input-xlarge", rows: 10
%p.hint Milestones are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}. %p.hint Milestones are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
.span6 .col-md-6
.control-group .control-group
= f.label :due_date, "Due Date", class: "control-label" = f.label :due_date, "Due Date", class: "control-label"
.controls= f.hidden_field :due_date .controls= f.hidden_field :due_date
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
New Milestone New Milestone
.row .row
.span3 .col-md-3
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
%li{class: ("active" if (params[:f] == "active" || !params[:f]))} %li{class: ("active" if (params[:f] == "active" || !params[:f]))}
= link_to project_milestones_path(@project, f: "active") do = link_to project_milestones_path(@project, f: "active") do
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
%li{class: ("active" if params[:f] == "all")} %li{class: ("active" if params[:f] == "all")}
= link_to project_milestones_path(@project, f: "all") do = link_to project_milestones_path(@project, f: "all") do
All All
.span9 .col-md-9
.ui-box .ui-box
%ul.well-list %ul.well-list
= render @milestones = render @milestones
......
...@@ -72,22 +72,22 @@ ...@@ -72,22 +72,22 @@
.tab-content .tab-content
.tab-pane.active#tab-issues .tab-pane.active#tab-issues
.row .row
.span4 .col-md-4
= render('issues', title: 'Unstarted Issues (open and unassigned)', issues: @issues.opened.unassigned) = render('issues', title: 'Unstarted Issues (open and unassigned)', issues: @issues.opened.unassigned)
.span4 .col-md-4
= render('issues', title: 'Ongoing Issues (open and assigned)', issues: @issues.opened.assigned) = render('issues', title: 'Ongoing Issues (open and assigned)', issues: @issues.opened.assigned)
.span4 .col-md-4
= render('issues', title: 'Completed Issues (closed)', issues: @issues.closed) = render('issues', title: 'Completed Issues (closed)', issues: @issues.closed)
.tab-pane#tab-merge-requests .tab-pane#tab-merge-requests
.row .row
.span6 .col-md-6
.ui-box .ui-box
.title Open .title Open
%ul.well-list %ul.well-list
- @merge_requests.opened.each do |merge_request| - @merge_requests.opened.each do |merge_request|
= render 'merge_request', merge_request: merge_request = render 'merge_request', merge_request: merge_request
.span6 .col-md-6
.ui-box .ui-box
.title Closed .title Closed
%ul.well-list %ul.well-list
......
= render "projects/commits/head" = render "projects/commits/head"
.row .row
.span3 .col-md-3
= render "projects/branches/filter" = render "projects/branches/filter"
.span9 .col-md-9
.alert.alert-info .alert.alert-info
%p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}. %p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, class: "vlink"}.
%p This ability allows: %p This ability allows:
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
.entry.clearfix .entry.clearfix
= f.label :name, "Branch" = f.label :name, "Branch"
.span3 .col-md-3
= f.select(:name, @project.open_branches.map { |br| [br.name, br.name] } , {include_blank: "Select branch"}, {class: "chosen span3"}) = f.select(:name, @project.open_branches.map { |br| [br.name, br.name] } , {include_blank: "Select branch"}, {class: "chosen span3"})
&nbsp; &nbsp;
= f.submit 'Protect', class: "btn-create btn" = f.submit 'Protect', class: "btn-create btn"
......
= render "projects/commits/head" = render "projects/commits/head"
.row .row
.span6 .col-md-6
%div#activity-chart.chart %div#activity-chart.chart
%hr %hr
%p %p
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
%span= @stats.authors_count %span= @stats.authors_count
.span6 .col-md-6
%h4 Top 50 Committers: %h4 Top 50 Committers:
%ol.styled %ol.styled
- @stats.authors[0...50].each do |author| - @stats.authors[0...50].each do |author|
......
= render "home_panel" = render "home_panel"
.row .row
.span9 .col-md-9
= render "events/event_last_push", event: @last_push = render "events/event_last_push", event: @last_push
= render 'shared/event_filter' = render 'shared/event_filter'
.content_list .content_list
.loading.hide .loading.hide
.span3.project-side .col-md-3.project-side
.clearfix .clearfix
- if @project.archived? - if @project.archived?
.alert .alert
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%hr %hr
.row .row
.span3 .col-md-3
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
= nav_tab :scope, nil do = nav_tab :scope, nil do
= link_to user_snippets_path(@user) do = link_to user_snippets_path(@user) do
...@@ -29,6 +29,6 @@ ...@@ -29,6 +29,6 @@
%span.pull-right %span.pull-right
= @user.snippets.public.count = @user.snippets.public.count
.span9.my-snippets .col-md-9.my-snippets
= render 'snippets' = render 'snippets'
.row .row
.span8 .col-md-8
%h3.page-title %h3.page-title
= image_tag avatar_icon(@user.email, 90), class: "avatar s90", alt: '' = image_tag avatar_icon(@user.email, 90), class: "avatar s90", alt: ''
= @user.name = @user.name
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
%hr %hr
%h4 User Activity: %h4 User Activity:
= render @events = render @events
.span4 .col-md-4
= render 'profile', user: @user = render 'profile', user: @user
= render 'projects', user: @user = render 'projects', user: @user
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment