Commit 78c12922 authored by Clement Ho's avatar Clement Ho

Merge remote-tracking branch 'gitlab-ce/master' into ce-to-ee-bootstrap4

parents aeed5f36 50c8ed2b
...@@ -184,7 +184,7 @@ gl.issueBoards.IssueCardInner = Vue.extend({ ...@@ -184,7 +184,7 @@ gl.issueBoards.IssueCardInner = Vue.extend({
v-if="showLabelFooter" v-if="showLabelFooter"
> >
<button <button
class="label color-label has-tooltip" class="badge color-label has-tooltip"
v-for="label in issue.labels" v-for="label in issue.labels"
type="button" type="button"
v-if="showLabel(label)" v-if="showLabel(label)"
......
...@@ -41,10 +41,17 @@ gl.issueBoards.ModalEmptyState = Vue.extend({ ...@@ -41,10 +41,17 @@ gl.issueBoards.ModalEmptyState = Vue.extend({
template: ` template: `
<section class="empty-state"> <section class="empty-state">
<div class="row"> <div class="row">
<<<<<<< HEAD
<div class="col-12 col-sm-6 col-sm-last"> <div class="col-12 col-sm-6 col-sm-last">
<aside class="svg-content"><img :src="emptyStateSvg"/></aside> <aside class="svg-content"><img :src="emptyStateSvg"/></aside>
</div> </div>
<div class="col-12 col-sm-6 col-sm-first"> <div class="col-12 col-sm-6 col-sm-first">
=======
<div class="col-xs-12 col-sm-6 order-sm-last">
<aside class="svg-content"><img :src="emptyStateSvg"/></aside>
</div>
<div class="col-xs-12 col-sm-6 order-sm-first">
>>>>>>> gitlab-ce/master
<div class="text-content"> <div class="text-content">
<h4>{{ contents.title }}</h4> <h4>{{ contents.title }}</h4>
<p v-html="contents.content"></p> <p v-html="contents.content"></p>
......
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
<clipboard-button <clipboard-button
:text="ingressExternalIp" :text="ingressExternalIp"
:title="s__('ClusterIntegration|Copy Ingress IP Address to clipboard')" :title="s__('ClusterIntegration|Copy Ingress IP Address to clipboard')"
class="js-clipboard-btn" class="input-group-text js-clipboard-btn"
/> />
</span> </span>
</div> </div>
......
...@@ -54,7 +54,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = ( ...@@ -54,7 +54,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = (
.attr('href', '#') .attr('href', '#')
.addClass(ref === selected ? 'is-active' : '') .addClass(ref === selected ? 'is-active' : '')
.text(ref) .text(ref)
.attr('data-ref', escape(ref)); .attr('data-ref', ref);
return $('<li />').append(link); return $('<li />').append(link);
} }
}, },
......
...@@ -61,8 +61,8 @@ export default class CreateMergeRequestDropdown { ...@@ -61,8 +61,8 @@ export default class CreateMergeRequestDropdown {
} }
available() { available() {
this.availableButton.classList.remove('hide'); this.availableButton.classList.remove('hidden');
this.unavailableButton.classList.add('hide'); this.unavailableButton.classList.add('hidden');
} }
bindEvents() { bindEvents() {
...@@ -232,7 +232,7 @@ export default class CreateMergeRequestDropdown { ...@@ -232,7 +232,7 @@ export default class CreateMergeRequestDropdown {
} }
hide() { hide() {
this.wrapperEl.classList.add('hide'); this.wrapperEl.classList.add('hidden');
} }
init() { init() {
...@@ -406,8 +406,8 @@ export default class CreateMergeRequestDropdown { ...@@ -406,8 +406,8 @@ export default class CreateMergeRequestDropdown {
} }
unavailable() { unavailable() {
this.availableButton.classList.add('hide'); this.availableButton.classList.add('hidden');
this.unavailableButton.classList.remove('hide'); this.unavailableButton.classList.remove('hidden');
} }
updateBranchName(suggestedBranchName) { updateBranchName(suggestedBranchName) {
......
...@@ -73,7 +73,9 @@ export default { ...@@ -73,7 +73,9 @@ export default {
<form <form
slot="body" slot="body"
@submit.prevent="createEntryInStore" @submit.prevent="createEntryInStore"
class="form-group row append-bottom-0"
> >
<<<<<<< HEAD
<label class="label-light col-form-label col-sm-3 ide-new-modal-label"> <label class="label-light col-form-label col-sm-3 ide-new-modal-label">
{{ __('Name') }} {{ __('Name') }}
</label> </label>
...@@ -85,6 +87,21 @@ export default { ...@@ -85,6 +87,21 @@ export default {
ref="fieldName" ref="fieldName"
/> />
</div> </div>
=======
<fieldset class="form-group append-bottom-0">
<label class="label-light col-form-label col-sm-3 ide-new-modal-label">
{{ __('Name') }}
</label>
<div class="col-sm-9">
<input
type="text"
class="form-control"
v-model="entryName"
ref="fieldName"
/>
</div>
</fieldset>
>>>>>>> gitlab-ce/master
</form> </form>
</deprecated-modal> </deprecated-modal>
</template> </template>
...@@ -48,7 +48,11 @@ export default { ...@@ -48,7 +48,11 @@ export default {
return `${this.job.runner.description} (#${this.job.runner.id})`; return `${this.job.runner.description} (#${this.job.runner.id})`;
}, },
retryButtonClass() { retryButtonClass() {
<<<<<<< HEAD
let className = 'js-retry-button float-right btn btn-retry d-none d-md-block d-lg-block d-xl-block'; let className = 'js-retry-button float-right btn btn-retry d-none d-md-block d-lg-block d-xl-block';
=======
let className = 'js-retry-button pull-right btn btn-retry d-none d-md-block d-lg-block d-xl-block';
>>>>>>> gitlab-ce/master
className += className +=
this.job.status && this.job.recoverable this.job.status && this.job.recoverable
? ' btn-primary' ? ' btn-primary'
...@@ -104,8 +108,13 @@ export default { ...@@ -104,8 +108,13 @@ export default {
<button <button
type="button" type="button"
:aria-label="__('Toggle Sidebar')" :aria-label="__('Toggle Sidebar')"
<<<<<<< HEAD
class="btn btn-blank gutter-toggle float-right class="btn btn-blank gutter-toggle float-right
d-block d-md-none js-sidebar-build-toggle" d-block d-md-none js-sidebar-build-toggle"
=======
class="btn btn-blank gutter-toggle pull-right
d-block d-sm-block d-md-none js-sidebar-build-toggle"
>>>>>>> gitlab-ce/master
> >
<i <i
aria-hidden="true" aria-hidden="true"
......
...@@ -362,7 +362,7 @@ export default class MergeRequestTabs { ...@@ -362,7 +362,7 @@ export default class MergeRequestTabs {
// //
// status - Boolean, true to show, false to hide // status - Boolean, true to show, false to hide
toggleLoading(status) { toggleLoading(status) {
$('.mr-loading-status .loading').toggle(status); $('.mr-loading-status .loading').toggleClass('hidden', status);
} }
diffViewType() { diffViewType() {
......
...@@ -1231,8 +1231,8 @@ export default class Notes { ...@@ -1231,8 +1231,8 @@ export default class Notes {
const isForced = forceShow === true || forceShow === false; const isForced = forceShow === true || forceShow === false;
const showNow = forceShow === true || (!isCurrentlyShown && !isForced); const showNow = forceShow === true || (!isCurrentlyShown && !isForced);
targetRow.toggle(showNow); targetRow.toggleClass('hide', !showNow);
notesContent.toggle(showNow); notesContent.toggleClass('hide', !showNow);
} }
if (addForm) { if (addForm) {
......
...@@ -181,7 +181,7 @@ export default class UserTabs { ...@@ -181,7 +181,7 @@ export default class UserTabs {
toggleLoading(status) { toggleLoading(status) {
return this.$parentEl.find('.loading-status .loading') return this.$parentEl.find('.loading-status .loading')
.toggle(status); .toggleClass('hidden', status);
} }
setCurrentAction(source) { setCurrentAction(source) {
......
...@@ -4,6 +4,6 @@ export default () => { ...@@ -4,6 +4,6 @@ export default () => {
$('.js-fork-thumbnail').on('click', function forkThumbnailClicked() { $('.js-fork-thumbnail').on('click', function forkThumbnailClicked() {
if ($(this).hasClass('disabled')) return false; if ($(this).hasClass('disabled')) return false;
return $('.js-fork-content').toggle(); return $('.js-fork-content').toggleClass('hidden');
}); });
}; };
...@@ -18,10 +18,17 @@ export default { ...@@ -18,10 +18,17 @@ export default {
<template> <template>
<div class="mr-widget-body mr-widget-empty-state"> <div class="mr-widget-body mr-widget-empty-state">
<div class="row"> <div class="row">
<<<<<<< HEAD
<div class="artwork col-sm-5 order-md-last col-12 text-center"> <div class="artwork col-sm-5 order-md-last col-12 text-center">
<span v-html="emptyStateSVG"></span> <span v-html="emptyStateSVG"></span>
</div> </div>
<div class="text col-sm-7 order-md-first col-12"> <div class="text col-sm-7 order-md-first col-12">
=======
<div class="artwork col-md-5 order-md-last col-12 text-center">
<span v-html="emptyStateSVG"></span>
</div>
<div class="text col-md-7 order-md-first col-12">
>>>>>>> gitlab-ce/master
<span> <span>
Merge requests are a place to propose changes you have made to a project Merge requests are a place to propose changes you have made to a project
and discuss those changes with others. and discuss those changes with others.
......
...@@ -53,6 +53,11 @@ export default { ...@@ -53,6 +53,11 @@ export default {
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<slot name="header"> <slot name="header">
<h4 class="modal-title">
<slot name="title">
{{ headerTitleText }}
</slot>
</h4>
<button <button
type="button" type="button"
class="close js-modal-close-action" class="close js-modal-close-action"
...@@ -62,11 +67,6 @@ export default { ...@@ -62,11 +67,6 @@ export default {
> >
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
<h4 class="modal-title">
<slot name="title">
{{ headerTitleText }}
</slot>
</h4>
</slot> </slot>
</div> </div>
......
...@@ -209,7 +209,11 @@ ...@@ -209,7 +209,11 @@
} }
.dropdown-menu, .dropdown-menu,
<<<<<<< HEAD
.dropdown-menu { .dropdown-menu {
=======
.dropdown-menu-nav {
>>>>>>> gitlab-ce/master
display: none; display: none;
position: absolute; position: absolute;
width: auto; width: auto;
...@@ -328,7 +332,11 @@ ...@@ -328,7 +332,11 @@
} }
.badge.badge-pill + span:not(.badge.badge-pill) { .badge.badge-pill + span:not(.badge.badge-pill) {
<<<<<<< HEAD
// Expects up to 3 digits on the .badge.badge-pill // Expects up to 3 digits on the .badge.badge-pill
=======
// Expects up to 3 digits on the badge
>>>>>>> gitlab-ce/master
margin-right: 40px; margin-right: 40px;
} }
} }
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
display: none; display: none;
} }
.page { .page-item {
display: none; display: none;
&.active { &.active {
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
padding: 6px 10px; padding: 6px 10px;
} }
.page { .page-item {
display: none; display: none;
&.active { &.active {
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
*/ */
@media (min-width: map-get($grid-breakpoints, xs)) and (max-width: map-get($grid-breakpoints, sm)) { @media (min-width: map-get($grid-breakpoints, xs)) and (max-width: map-get($grid-breakpoints, sm)) {
.gl-pagination { .gl-pagination {
.page { .page-item {
display: none; display: none;
&.active, &.active,
......
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
} }
<<<<<<< HEAD
.card-heading { .card-heading {
=======
.card-header {
>>>>>>> gitlab-ce/master
padding: $gl-vert-padding $gl-padding; padding: $gl-vert-padding $gl-padding;
line-height: 36px; line-height: 36px;
...@@ -21,7 +25,7 @@ ...@@ -21,7 +25,7 @@
line-height: 20px; line-height: 20px;
} }
.badge { .badge.badge-pill {
margin-top: -2px; margin-top: -2px;
margin-left: 5px; margin-left: 5px;
} }
......
...@@ -277,10 +277,13 @@ ...@@ -277,10 +277,13 @@
&.coverage { &.coverage {
padding: 0 16px 11px; padding: 0 16px 11px;
} }
<<<<<<< HEAD
.btn-group.d-flex { .btn-group.d-flex {
margin-top: 5px; margin-top: 5px;
} }
=======
>>>>>>> gitlab-ce/master
} }
.block-last { .block-last {
......
...@@ -213,7 +213,11 @@ ...@@ -213,7 +213,11 @@
.stage-panel { .stage-panel {
min-width: 968px; min-width: 968px;
<<<<<<< HEAD
.card-heading { .card-heading {
=======
.card-header {
>>>>>>> gitlab-ce/master
padding: 0; padding: 0;
background-color: transparent; background-color: transparent;
} }
......
...@@ -610,10 +610,6 @@ ...@@ -610,10 +610,6 @@
top: 76px; top: 76px;
} }
&:not(.is-stuck) .diff-stats-additions-deletions-collapsed {
display: none;
}
&.is-stuck { &.is-stuck {
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
...@@ -622,7 +618,15 @@ ...@@ -622,7 +618,15 @@
.diff-stats-additions-deletions-expanded, .diff-stats-additions-deletions-expanded,
.inline-parallel-buttons { .inline-parallel-buttons {
display: none; display: none !important;
}
}
}
@include media-breakpoint-up(lg) {
&.is-stuck {
.diff-stats-additions-deletions-collapsed {
display: block !important;
} }
} }
} }
......
...@@ -110,6 +110,10 @@ ...@@ -110,6 +110,10 @@
} }
} }
<<<<<<< HEAD
=======
>>>>>>> gitlab-ce/master
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
.file-editor { .file-editor {
.file-title { .file-title {
......
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
@include str-truncated(90%); @include str-truncated(90%);
} }
<<<<<<< HEAD
.dashboard .side .card .card-heading .input-group { .dashboard .side .card .card-heading .input-group {
=======
.dashboard .side .card .card-header .input-group {
>>>>>>> gitlab-ce/master
.form-control { .form-control {
height: 42px; height: 42px;
......
...@@ -223,7 +223,7 @@ ul.related-merge-requests > li { ...@@ -223,7 +223,7 @@ ul.related-merge-requests > li {
} }
} }
.btn-group:not(.hide) { .btn-group:not(.hidden) {
display: flex; display: flex;
} }
...@@ -276,7 +276,11 @@ ul.related-merge-requests > li { ...@@ -276,7 +276,11 @@ ul.related-merge-requests > li {
} }
.create-mr-dropdown-wrap { .create-mr-dropdown-wrap {
<<<<<<< HEAD
.btn-group:not(.hide) { .btn-group:not(.hide) {
=======
.btn-group:not(.hidden) {
>>>>>>> gitlab-ce/master
display: inline-flex; display: inline-flex;
} }
} }
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
margin-bottom: 0; margin-bottom: 0;
} }
.label { .badge {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 100%; max-width: 100%;
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
} }
} }
.label { .badge {
padding: 4px $grid-size; padding: 4px $grid-size;
font-size: $label-font-size; font-size: $label-font-size;
position: relative; position: relative;
...@@ -122,6 +122,7 @@ ...@@ -122,6 +122,7 @@
padding: 0 $grid-size; padding: 0 $grid-size;
line-height: 16px; line-height: 16px;
border-radius: $label-border-radius; border-radius: $label-border-radius;
color: $white-light;
} }
.dropdown-labels-error { .dropdown-labels-error {
......
...@@ -211,7 +211,11 @@ ...@@ -211,7 +211,11 @@
} }
.card { .card {
<<<<<<< HEAD
.card-heading { .card-heading {
=======
.card-header {
>>>>>>> gitlab-ce/master
.badge.badge-pill { .badge.badge-pill {
margin-top: 0; margin-top: 0;
} }
......
...@@ -491,7 +491,11 @@ ...@@ -491,7 +491,11 @@
} }
.card-new-merge-request { .card-new-merge-request {
<<<<<<< HEAD
.card-heading { .card-heading {
=======
.card-header {
>>>>>>> gitlab-ce/master
padding: 5px 10px; padding: 5px 10px;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
line-height: 25px; line-height: 25px;
......
...@@ -31,7 +31,11 @@ ...@@ -31,7 +31,11 @@
} }
} }
<<<<<<< HEAD
.card-heading { .card-heading {
=======
.card-header {
>>>>>>> gitlab-ce/master
line-height: $line-height-base; line-height: $line-height-base;
padding: 14px 16px; padding: 14px 16px;
display: -webkit-flex; display: -webkit-flex;
......
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
.option-description, .option-description,
.option-disabled-reason { .option-disabled-reason {
margin-left: 29px; margin-left: 45px;
color: $project-option-descr-color; color: $project-option-descr-color;
} }
...@@ -234,7 +234,11 @@ ...@@ -234,7 +234,11 @@
line-height: 12px; line-height: 12px;
} }
<<<<<<< HEAD
.card-heading .label-count { .card-heading .label-count {
=======
.card-header .label-count {
>>>>>>> gitlab-ce/master
color: $white-light; color: $white-light;
background: $common-gray-dark; background: $common-gray-dark;
} }
......
...@@ -92,7 +92,7 @@ module CiStatusHelper ...@@ -92,7 +92,7 @@ module CiStatusHelper
"pipeline-status/#{pipeline_status.sha}-#{pipeline_status.status}" "pipeline-status/#{pipeline_status.sha}-#{pipeline_status.status}"
end end
def render_project_pipeline_status(pipeline_status, tooltip_placement: 'auto left') def render_project_pipeline_status(pipeline_status, tooltip_placement: 'left')
project = pipeline_status.project project = pipeline_status.project
path = pipelines_project_commit_path(project, pipeline_status.sha, ref: pipeline_status.ref) path = pipelines_project_commit_path(project, pipeline_status.sha, ref: pipeline_status.ref)
...@@ -103,7 +103,7 @@ module CiStatusHelper ...@@ -103,7 +103,7 @@ module CiStatusHelper
tooltip_placement: tooltip_placement) tooltip_placement: tooltip_placement)
end end
def render_commit_status(commit, ref: nil, tooltip_placement: 'auto left') def render_commit_status(commit, ref: nil, tooltip_placement: 'left')
project = commit.project project = commit.project
path = pipelines_project_commit_path(project, commit, ref: ref) path = pipelines_project_commit_path(project, commit, ref: ref)
...@@ -114,7 +114,7 @@ module CiStatusHelper ...@@ -114,7 +114,7 @@ module CiStatusHelper
tooltip_placement: tooltip_placement) tooltip_placement: tooltip_placement)
end end
def render_pipeline_status(pipeline, tooltip_placement: 'auto left') def render_pipeline_status(pipeline, tooltip_placement: 'left')
project = pipeline.project project = pipeline.project
path = project_pipeline_path(project, pipeline) path = project_pipeline_path(project, pipeline)
render_status_with_link('pipeline', pipeline.status, path, tooltip_placement: tooltip_placement) render_status_with_link('pipeline', pipeline.status, path, tooltip_placement: tooltip_placement)
...@@ -125,7 +125,7 @@ module CiStatusHelper ...@@ -125,7 +125,7 @@ module CiStatusHelper
Ci::Runner.shared.blank? Ci::Runner.shared.blank?
end end
def render_status_with_link(type, status, path = nil, tooltip_placement: 'auto left', cssclass: '', container: 'body') def render_status_with_link(type, status, path = nil, tooltip_placement: 'left', cssclass: '', container: 'body')
klass = "ci-status-link ci-status-icon-#{status.dasherize} #{cssclass}" klass = "ci-status-link ci-status-icon-#{status.dasherize} #{cssclass}"
title = "#{type.titleize}: #{ci_label_for_status(status)}" title = "#{type.titleize}: #{ci_label_for_status(status)}"
data = { toggle: 'tooltip', placement: tooltip_placement, container: container } data = { toggle: 'tooltip', placement: tooltip_placement, container: container }
......
...@@ -62,7 +62,7 @@ module CommitsHelper ...@@ -62,7 +62,7 @@ module CommitsHelper
# Returns a link formatted as a commit branch link # Returns a link formatted as a commit branch link
def commit_branch_link(url, text) def commit_branch_link(url, text)
link_to(url, class: 'label label-gray ref-name branch-link') do link_to(url, class: 'badge badge-gray ref-name branch-link') do
sprite_icon('branch', size: 12, css_class: 'fork-svg') + "#{text}" sprite_icon('branch', size: 12, css_class: 'fork-svg') + "#{text}"
end end
end end
...@@ -76,7 +76,7 @@ module CommitsHelper ...@@ -76,7 +76,7 @@ module CommitsHelper
# Returns a link formatted as a commit tag link # Returns a link formatted as a commit tag link
def commit_tag_link(url, text) def commit_tag_link(url, text)
link_to(url, class: 'label label-gray ref-name') do link_to(url, class: 'badge badge-gray ref-name') do
sprite_icon('tag', size: 12, css_class: 'append-right-5 vertical-align-middle') + "#{text}" sprite_icon('tag', size: 12, css_class: 'append-right-5 vertical-align-middle') + "#{text}"
end end
end end
......
...@@ -60,7 +60,7 @@ module IconsHelper ...@@ -60,7 +60,7 @@ module IconsHelper
def spinner(text = nil, visible = false) def spinner(text = nil, visible = false)
css_class = 'loading' css_class = 'loading'
css_class << ' hide' unless visible css_class << ' hidden' unless visible
content_tag :div, class: css_class do content_tag :div, class: css_class do
icon('spinner spin') + text icon('spinner spin') + text
......
...@@ -81,7 +81,7 @@ module LabelsHelper ...@@ -81,7 +81,7 @@ module LabelsHelper
# Intentionally not using content_tag here so that this method can be called # Intentionally not using content_tag here so that this method can be called
# by LabelReferenceFilter # by LabelReferenceFilter
span = %(<span class="label color-label #{"has-tooltip" if tooltip}" ) + span = %(<span class="badge color-label #{"has-tooltip" if tooltip}" ) +
%(style="background-color: #{label.color}; color: #{text_color}" ) + %(style="background-color: #{label.color}; color: #{text_color}" ) +
%(title="#{escape_once(label.description)}" data-container="body">) + %(title="#{escape_once(label.description)}" data-container="body">) +
%(#{escape_once(label.name)}#{label_suffix}</span>) %(#{escape_once(label.name)}#{label_suffix}</span>)
......
...@@ -172,6 +172,8 @@ module MilestonesHelper ...@@ -172,6 +172,8 @@ module MilestonesHelper
def milestone_tooltip_due_date(milestone) def milestone_tooltip_due_date(milestone)
if milestone.due_date if milestone.due_date
"#{milestone.due_date.to_s(:medium)} (#{remaining_days_in_words(milestone)})" "#{milestone.due_date.to_s(:medium)} (#{remaining_days_in_words(milestone)})"
else
_('Milestone')
end end
end end
......
...@@ -7,12 +7,20 @@ ...@@ -7,12 +7,20 @@
= f.hidden_field :user_id = f.hidden_field :user_id
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :user_id, class: 'col-form-label' = f.label :user_id, class: 'col-form-label'
=======
= f.label :user_id, class: 'col-sm-2 col-form-label'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
- name = "#{@abuse_report.user.name} (@#{@abuse_report.user.username})" - name = "#{@abuse_report.user.name} (@#{@abuse_report.user.username})"
= text_field_tag :user_name, name, class: "form-control", readonly: true = text_field_tag :user_name, name, class: "form-control", readonly: true
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :message, class: 'col-form-label' = f.label :message, class: 'col-form-label'
=======
= f.label :message, class: 'col-sm-2 col-form-label'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_area :message, class: "form-control", rows: 2, required: true, value: sanitize(@ref_url) = f.text_area :message, class: "form-control", rows: 2, required: true, value: sanitize(@ref_url)
.form-text.text-muted .form-text.text-muted
......
- reporter = abuse_report.reporter - reporter = abuse_report.reporter
- user = abuse_report.user - user = abuse_report.user
%tr %tr
<<<<<<< HEAD
%th.d-block.d-md-none %th.d-block.d-md-none
=======
%th.d-block.d-sm-none.d-md-none
>>>>>>> gitlab-ce/master
%strong User %strong User
%td %td
- if user - if user
...@@ -11,7 +15,11 @@ ...@@ -11,7 +15,11 @@
- else - else
(removed) (removed)
%td %td
<<<<<<< HEAD
%strong.subheading.d-block.d-md-none Reported by %strong.subheading.d-block.d-md-none Reported by
=======
%strong.subheading.d-block.d-sm-none.d-md-none Reported by
>>>>>>> gitlab-ce/master
- if reporter - if reporter
= link_to reporter.name, reporter = link_to reporter.name, reporter
- else - else
...@@ -19,7 +27,11 @@ ...@@ -19,7 +27,11 @@
.light.small .light.small
= time_ago_with_tooltip(abuse_report.created_at) = time_ago_with_tooltip(abuse_report.created_at)
%td %td
<<<<<<< HEAD
%strong.subheading.d-block.d-md-none Message %strong.subheading.d-block.d-md-none Message
=======
%strong.subheading.d-block.d-sm-none.d-md-none Message
>>>>>>> gitlab-ce/master
.message .message
= markdown_field(abuse_report, :message) = markdown_field(abuse_report, :message)
%td %td
......
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
%legend %legend
Navigation bar: Navigation bar:
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :header_logo, 'Header logo', class: 'col-form-label' = f.label :header_logo, 'Header logo', class: 'col-form-label'
=======
= f.label :header_logo, 'Header logo', class: 'col-sm-2 col-form-label'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
- if @appearance.header_logo? - if @appearance.header_logo?
= image_tag @appearance.header_logo_url, class: 'appearance-light-logo-preview' = image_tag @appearance.header_logo_url, class: 'appearance-light-logo-preview'
...@@ -24,17 +28,29 @@ ...@@ -24,17 +28,29 @@
%legend %legend
Sign in/Sign up pages: Sign in/Sign up pages:
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :title, class: 'col-form-label' = f.label :title, class: 'col-form-label'
.col-sm-10 .col-sm-10
= f.text_field :title, class: "form-control" = f.text_field :title, class: "form-control"
.form-group.row .form-group.row
= f.label :description, class: 'col-form-label' = f.label :description, class: 'col-form-label'
=======
= f.label :title, class: 'col-sm-2 col-form-label'
.col-sm-10
= f.text_field :title, class: "form-control"
.form-group.row
= f.label :description, class: 'col-sm-2 col-form-label'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_area :description, class: "form-control", rows: 10 = f.text_area :description, class: "form-control", rows: 10
.hint .hint
Description parsed with #{link_to "GitLab Flavored Markdown", help_page_path('user/markdown'), target: '_blank'}. Description parsed with #{link_to "GitLab Flavored Markdown", help_page_path('user/markdown'), target: '_blank'}.
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :logo, class: 'col-form-label' = f.label :logo, class: 'col-form-label'
=======
= f.label :logo, class: 'col-sm-2 col-form-label'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
- if @appearance.logo? - if @appearance.logo?
= image_tag @appearance.logo_url, class: 'appearance-logo-preview' = image_tag @appearance.logo_url, class: 'appearance-logo-preview'
...@@ -51,7 +67,11 @@ ...@@ -51,7 +67,11 @@
%legend %legend
New project pages: New project pages:
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :new_project_guidelines, class: 'col-form-label' = f.label :new_project_guidelines, class: 'col-form-label'
=======
= f.label :new_project_guidelines, class: 'col-sm-2 col-form-label'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_area :new_project_guidelines, class: "form-control", rows: 10 = f.text_area :new_project_guidelines, class: "form-control", rows: 10
.hint .hint
......
...@@ -16,9 +16,12 @@ ...@@ -16,9 +16,12 @@
= f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'col-form-label col-sm-2' = f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
= f.number_field :max_attachment_size, class: 'form-control' = f.number_field :max_attachment_size, class: 'form-control'
<<<<<<< HEAD
= render 'repository_size_limit_setting', form: f = render 'repository_size_limit_setting', form: f
=======
>>>>>>> gitlab-ce/master
.form-group.row .form-group.row
= f.label :session_expire_delay, 'Session duration (minutes)', class: 'col-form-label col-sm-2' = f.label :session_expire_delay, 'Session duration (minutes)', class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
......
...@@ -23,9 +23,12 @@ ...@@ -23,9 +23,12 @@
= f.label :shared_runners_enabled do = f.label :shared_runners_enabled do
= f.check_box :shared_runners_enabled = f.check_box :shared_runners_enabled
Enable shared runners for new projects Enable shared runners for new projects
<<<<<<< HEAD
= render 'shared_runners_minutes_setting', form: f = render 'shared_runners_minutes_setting', form: f
=======
>>>>>>> gitlab-ce/master
.form-group.row .form-group.row
= f.label :shared_runners_text, class: 'col-form-label col-sm-2' = f.label :shared_runners_text, class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
......
...@@ -3,11 +3,14 @@ ...@@ -3,11 +3,14 @@
%fieldset %fieldset
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :help_text, class: 'col-form-label' = f.label :help_text, class: 'col-form-label'
.col-sm-10 .col-sm-10
= f.text_area :help_text, class: 'form-control', rows: 4 = f.text_area :help_text, class: 'form-control', rows: 4
.form-text.text-muted Markdown enabled .form-text.text-muted Markdown enabled
.form-group.row .form-group.row
=======
>>>>>>> gitlab-ce/master
= f.label :help_page_text, class: 'col-form-label col-sm-2' = f.label :help_page_text, class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
= f.text_area :help_page_text, class: 'form-control', rows: 4 = f.text_area :help_page_text, class: 'form-control', rows: 4
......
...@@ -23,7 +23,11 @@ ...@@ -23,7 +23,11 @@
must be used to authenticate. must be used to authenticate.
- if omniauth_enabled? && button_based_providers.any? - if omniauth_enabled? && button_based_providers.any?
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :enabled_oauth_sign_in_sources, 'Enabled OAuth sign-in sources', class: 'col-form-label col-sm-2' = f.label :enabled_oauth_sign_in_sources, 'Enabled OAuth sign-in sources', class: 'col-form-label col-sm-2'
=======
= f.label :enabled_oauth_sign_in_sources, 'Enabled OAuth sign-in sources', class: 'control-label col-sm-2'
>>>>>>> gitlab-ce/master
= hidden_field_tag 'application_setting[enabled_oauth_sign_in_sources][]' = hidden_field_tag 'application_setting[enabled_oauth_sign_in_sources][]'
.col-sm-10 .col-sm-10
.btn-group{ data: { toggle: 'buttons' } } .btn-group{ data: { toggle: 'buttons' } }
......
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
= f.label :default_branch_protection, class: 'col-form-label col-sm-2' = f.label :default_branch_protection, class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
= f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, @application_setting.default_branch_protection), {}, class: 'form-control' = f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, @application_setting.default_branch_protection), {}, class: 'form-control'
<<<<<<< HEAD
= render partial: 'admin/application_settings/ee/project_creation_level', locals: { form: f, application_setting: @application_setting } = render partial: 'admin/application_settings/ee/project_creation_level', locals: { form: f, application_setting: @application_setting }
=======
>>>>>>> gitlab-ce/master
.form-group.row.visibility-level-setting .form-group.row.visibility-level-setting
= f.label :default_project_visibility, class: 'col-form-label col-sm-2' = f.label :default_project_visibility, class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
...@@ -44,6 +47,7 @@ ...@@ -44,6 +47,7 @@
and GitLab.com and GitLab.com
= link_to "(?)", help_page_path("integration/gitlab") = link_to "(?)", help_page_path("integration/gitlab")
<<<<<<< HEAD
-# EE-only -# EE-only
- if ldap_enabled? - if ldap_enabled?
.form-group.row .form-group.row
...@@ -57,6 +61,8 @@ ...@@ -57,6 +61,8 @@
If checked, group owners can manage LDAP group links and LDAP member overrides If checked, group owners can manage LDAP group links and LDAP member overrides
= link_to icon('question-circle'), help_page_path('administration/auth/ldap-ee') = link_to icon('question-circle'), help_page_path('administration/auth/ldap-ee')
=======
>>>>>>> gitlab-ce/master
.form-group.row .form-group.row
.offset-sm-2.col-sm-10 .offset-sm-2.col-sm-10
.form-check .form-check
......
...@@ -10,7 +10,11 @@ ...@@ -10,7 +10,11 @@
= form_errors(@broadcast_message) = form_errors(@broadcast_message)
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :message, class: 'col-form-label' = f.label :message, class: 'col-form-label'
=======
= f.label :message, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_area :message, class: "form-control js-autosize", = f.text_area :message, class: "form-control js-autosize",
required: true, required: true,
...@@ -27,11 +31,19 @@ ...@@ -27,11 +31,19 @@
.col-sm-10 .col-sm-10
= f.color_field :font, class: "form-control" = f.color_field :font, class: "form-control"
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :starts_at, _("Starts at (UTC)"), class: 'col-form-label' = f.label :starts_at, _("Starts at (UTC)"), class: 'col-form-label'
.col-sm-10.datetime-controls .col-sm-10.datetime-controls
= f.datetime_select :starts_at, {}, class: 'form-control form-control-inline' = f.datetime_select :starts_at, {}, class: 'form-control form-control-inline'
.form-group.row .form-group.row
= f.label :ends_at, _("Ends at (UTC)"), class: 'col-form-label' = f.label :ends_at, _("Ends at (UTC)"), class: 'col-form-label'
=======
= f.label :starts_at, _("Starts at (UTC)"), class: 'col-form-label col-sm-2'
.col-sm-10.datetime-controls
= f.datetime_select :starts_at, {}, class: 'form-control form-control-inline'
.form-group.row
= f.label :ends_at, _("Ends at (UTC)"), class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10.datetime-controls .col-sm-10.datetime-controls
= f.datetime_select :ends_at, {}, class: 'form-control form-control-inline' = f.datetime_select :ends_at, {}, class: 'form-control form-control-inline'
.form-actions .form-actions
......
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
- @metric.cards.each do |card| - @metric.cards.each do |card|
= render 'card', card: card = render 'card', card: card
<<<<<<< HEAD
.convdev-steps.d-none.d-lg-block .convdev-steps.d-none.d-lg-block
=======
.convdev-steps.d-none.d-lg-block.d-xl-block
>>>>>>> gitlab-ce/master
- @metric.idea_to_production_steps.each_with_index do |step, index| - @metric.idea_to_production_steps.each_with_index do |step, index|
.convdev-step{ class: "convdev-#{score_level(step.percentage_score)}-score" } .convdev-step{ class: "convdev-#{score_level(step.percentage_score)}-score" }
= custom_icon("i2p_step_#{index + 1}") = custom_icon("i2p_step_#{index + 1}")
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
= form_errors(@group) = form_errors(@group)
= render 'shared/group_form', f: f = render 'shared/group_form', f: f
<<<<<<< HEAD
= render 'shared/repository_size_limit_setting', form: f, type: :group = render 'shared/repository_size_limit_setting', form: f, type: :group
- if Gitlab::CurrentSettings.should_check_namespace_plan? - if Gitlab::CurrentSettings.should_check_namespace_plan?
...@@ -9,6 +10,10 @@ ...@@ -9,6 +10,10 @@
.form-group.row.group-description-holder .form-group.row.group-description-holder
= f.label :avatar, "Group avatar", class: 'col-form-label' = f.label :avatar, "Group avatar", class: 'col-form-label'
=======
.form-group.row.group-description-holder
= f.label :avatar, "Group avatar", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= render 'shared/choose_group_avatar_button', f: f = render 'shared/choose_group_avatar_button', f: f
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
= group_lfs_status(@group) = group_lfs_status(@group)
= link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs') = link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs')
<<<<<<< HEAD
= render partial: "namespaces/shared_runner_status", locals: { namespace: @group } = render partial: "namespaces/shared_runner_status", locals: { namespace: @group }
- if Gitlab::Auth::LDAP::Config.group_sync_enabled? && @group.ldap_synced? - if Gitlab::Auth::LDAP::Config.group_sync_enabled? && @group.ldap_synced?
...@@ -72,6 +73,8 @@ ...@@ -72,6 +73,8 @@
as as
%strong= ldap_group_link.human_access %strong= ldap_group_link.human_access
=======
>>>>>>> gitlab-ce/master
.card .card
.card-header .card-header
%h3.card-title %h3.card-title
......
...@@ -2,12 +2,20 @@ ...@@ -2,12 +2,20 @@
= form_errors(@identity) = form_errors(@identity)
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :provider, class: 'col-form-label' = f.label :provider, class: 'col-form-label'
=======
= f.label :provider, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
- values = Gitlab::Auth::OAuth::Provider.providers.map { |name| ["#{Gitlab::Auth::OAuth::Provider.label_for(name)} (#{name})", name] } - values = Gitlab::Auth::OAuth::Provider.providers.map { |name| ["#{Gitlab::Auth::OAuth::Provider.label_for(name)} (#{name})", name] }
= f.select :provider, values, { allow_blank: false }, class: 'form-control' = f.select :provider, values, { allow_blank: false }, class: 'form-control'
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :extern_uid, "Identifier", class: 'col-form-label' = f.label :extern_uid, "Identifier", class: 'col-form-label'
=======
= f.label :extern_uid, "Identifier", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_field :extern_uid, class: 'form-control', required: true = f.text_field :extern_uid, class: 'form-control', required: true
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
= form_errors(@label) = form_errors(@label)
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :title, class: 'col-form-label' = f.label :title, class: 'col-form-label'
.col-sm-10 .col-sm-10
= f.text_field :title, class: "form-control", required: true = f.text_field :title, class: "form-control", required: true
...@@ -11,6 +12,17 @@ ...@@ -11,6 +12,17 @@
= f.text_field :description, class: "form-control js-quick-submit" = f.text_field :description, class: "form-control js-quick-submit"
.form-group.row .form-group.row
= f.label :color, "Background color", class: 'col-form-label' = f.label :color, "Background color", class: 'col-form-label'
=======
= f.label :title, class: 'col-form-label col-sm-2'
.col-sm-10
= f.text_field :title, class: "form-control", required: true
.form-group.row
= f.label :description, class: 'col-form-label col-sm-2'
.col-sm-10
= f.text_field :description, class: "form-control js-quick-submit"
.form-group.row
= f.label :color, "Background color", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
.input-group .input-group
.input-group-prepend .input-group-prepend
......
- if @labels.size == 0 - if @labels.size == 0
$('.labels').load(document.URL + ' .light-well').hide().fadeIn(1000) $('.labels').load(document.URL + ' .card.bg-light').hide().fadeIn(1000)
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
= render @labels = render @labels
= paginate @labels, theme: 'gitlab' = paginate @labels, theme: 'gitlab'
- else - else
.light-well .card.bg-light
.nothing-here-block There are no labels yet .nothing-here-block There are no labels yet
...@@ -118,7 +118,11 @@ ...@@ -118,7 +118,11 @@
.card-body .card-body
= form_for @project, url: transfer_admin_project_path(@project), method: :put do |f| = form_for @project, url: transfer_admin_project_path(@project), method: :put do |f|
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :new_namespace_id, "Namespace", class: 'col-form-label' = f.label :new_namespace_id, "Namespace", class: 'col-form-label'
=======
= f.label :new_namespace_id, "Namespace", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
.dropdown .dropdown
= dropdown_toggle('Search for Namespace', { toggle: 'dropdown', field_name: 'new_namespace_id' }, { toggle_class: 'js-namespace-select large' }) = dropdown_toggle('Search for Namespace', { toggle: 'dropdown', field_name: 'new_namespace_id' }, { toggle_class: 'js-namespace-select large' })
......
...@@ -13,7 +13,11 @@ ...@@ -13,7 +13,11 @@
- if @profiles.present? - if @profiles.present?
.prepend-top-default .prepend-top-default
- @profiles.each do |path, profiles| - @profiles.each do |path, profiles|
<<<<<<< HEAD
.card.panel-small .card.panel-small
=======
.card.card-small
>>>>>>> gitlab-ce/master
.card-header .card-header
%code= path %code= path
%ul.content-list %ul.content-list
......
...@@ -5,17 +5,29 @@ ...@@ -5,17 +5,29 @@
%fieldset %fieldset
%legend Account %legend Account
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :name, class: 'col-form-label' = f.label :name, class: 'col-form-label'
=======
= f.label :name, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_field :name, required: true, autocomplete: 'off', class: 'form-control' = f.text_field :name, required: true, autocomplete: 'off', class: 'form-control'
%span.help-inline * required %span.help-inline * required
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :username, class: 'col-form-label' = f.label :username, class: 'col-form-label'
=======
= f.label :username, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_field :username, required: true, autocomplete: 'off', autocorrect: 'off', autocapitalize: 'off', spellcheck: false, class: 'form-control' = f.text_field :username, required: true, autocomplete: 'off', autocorrect: 'off', autocapitalize: 'off', spellcheck: false, class: 'form-control'
%span.help-inline * required %span.help-inline * required
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :email, class: 'col-form-label' = f.label :email, class: 'col-form-label'
=======
= f.label :email, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.text_field :email, required: true, autocomplete: 'off', class: 'form-control' = f.text_field :email, required: true, autocomplete: 'off', class: 'form-control'
%span.help-inline * required %span.help-inline * required
...@@ -24,7 +36,11 @@ ...@@ -24,7 +36,11 @@
%fieldset %fieldset
%legend Password %legend Password
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :password, class: 'col-form-label' = f.label :password, class: 'col-form-label'
=======
= f.label :password, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
%strong %strong
Reset link will be generated and sent to the user. Reset link will be generated and sent to the user.
...@@ -34,10 +50,17 @@ ...@@ -34,10 +50,17 @@
%fieldset %fieldset
%legend Password %legend Password
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :password, class: 'col-form-label' = f.label :password, class: 'col-form-label'
.col-sm-10= f.password_field :password, disabled: f.object.force_random_password, class: 'form-control' .col-sm-10= f.password_field :password, disabled: f.object.force_random_password, class: 'form-control'
.form-group.row .form-group.row
= f.label :password_confirmation, class: 'col-form-label' = f.label :password_confirmation, class: 'col-form-label'
=======
= f.label :password, class: 'col-form-label col-sm-2'
.col-sm-10= f.password_field :password, disabled: f.object.force_random_password, class: 'form-control'
.form-group.row
= f.label :password_confirmation, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10= f.password_field :password_confirmation, disabled: f.object.force_random_password, class: 'form-control' .col-sm-10= f.password_field :password_confirmation, disabled: f.object.force_random_password, class: 'form-control'
= render partial: 'access_levels', locals: { f: f } = render partial: 'access_levels', locals: { f: f }
...@@ -53,21 +76,36 @@ ...@@ -53,21 +76,36 @@
%fieldset %fieldset
%legend Profile %legend Profile
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :avatar, class: 'col-form-label' = f.label :avatar, class: 'col-form-label'
=======
= f.label :avatar, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.file_field :avatar = f.file_field :avatar
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :skype, class: 'col-form-label' = f.label :skype, class: 'col-form-label'
.col-sm-10= f.text_field :skype, class: 'form-control' .col-sm-10= f.text_field :skype, class: 'form-control'
.form-group.row .form-group.row
= f.label :linkedin, class: 'col-form-label' = f.label :linkedin, class: 'col-form-label'
=======
= f.label :skype, class: 'col-form-label col-sm-2'
.col-sm-10= f.text_field :skype, class: 'form-control'
.form-group.row
= f.label :linkedin, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10= f.text_field :linkedin, class: 'form-control' .col-sm-10= f.text_field :linkedin, class: 'form-control'
.form-group.row .form-group.row
= f.label :twitter, class: 'col-form-label' = f.label :twitter, class: 'col-form-label'
.col-sm-10= f.text_field :twitter, class: 'form-control' .col-sm-10= f.text_field :twitter, class: 'form-control'
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :website_url, 'Website', class: 'col-form-label' = f.label :website_url, 'Website', class: 'col-form-label'
=======
= f.label :website_url, 'Website', class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10= f.text_field :website_url, class: 'form-control' .col-sm-10= f.text_field :website_url, class: 'form-control'
%fieldset %fieldset
......
...@@ -6,9 +6,12 @@ ...@@ -6,9 +6,12 @@
= link_to user.name, [:admin, user] = link_to user.name, [:admin, user]
- if user.blocked? - if user.blocked?
%span.badge.badge-danger blocked %span.badge.badge-danger blocked
<<<<<<< HEAD
- if user.note.present? - if user.note.present?
= link_to "#", { "data-toggle" => "tooltip", title: user.note, class: "user-note"} do = link_to "#", { "data-toggle" => "tooltip", title: user.note, class: "user-note"} do
= icon("sticky-note-o cgrey") = icon("sticky-note-o cgrey")
=======
>>>>>>> gitlab-ce/master
- if user.admin? - if user.admin?
%span.badge.badge-success Admin %span.badge.badge-success Admin
- if user.external? - if user.external?
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
- tooltip = "#{subject.name} - #{status.status_tooltip}" - tooltip = "#{subject.name} - #{status.status_tooltip}"
- if status.has_details? - if status.has_details?
= link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item', data: { toggle: 'tooltip', title: tooltip, html: true, container: 'body' } do = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item', data: { toggle: 'tooltip', title: tooltip, html: 'true', container: 'body' } do
%span{ class: klass }= sprite_icon(status.icon) %span{ class: klass }= sprite_icon(status.icon)
%span.ci-build-text= subject.name %span.ci-build-text= subject.name
- else - else
.menu-item.mini-pipeline-graph-dropdown-item{ data: { toggle: 'tooltip', html: true, title: tooltip, container: 'body' } } .menu-item.mini-pipeline-graph-dropdown-item{ data: { toggle: 'tooltip', html: 'true', title: tooltip, container: 'body' } }
%span{ class: klass }= sprite_icon(status.icon) %span{ class: klass }= sprite_icon(status.icon)
%span.ci-build-text= subject.name %span.ci-build-text= subject.name
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
- else - else
= sort_title_recently_created = sort_title_recently_created
= icon('chevron-down') = icon('chevron-down')
%ul.dropdown-menu.dropdown-menu-sort %ul.dropdown-menu.dropdown-menu-sort.dropdown-menu-right
%li %li
= link_to todos_filter_path(sort: sort_value_label_priority) do = link_to todos_filter_path(sort: sort_value_label_priority) do
= sort_title_label_priority = sort_title_label_priority
......
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
- if crowd_enabled? - if crowd_enabled?
%li.nav-item %li.nav-item
= link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab' = link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab'
<<<<<<< HEAD
- if kerberos_enabled? - if kerberos_enabled?
%li.nav-item{ class: (:active unless crowd_enabled? || ldap_enabled?) } %li.nav-item{ class: (:active unless crowd_enabled? || ldap_enabled?) }
= link_to "Kerberos", "#kerberos", class: 'nav-link', 'data-toggle' => 'tab' = link_to "Kerberos", "#kerberos", class: 'nav-link', 'data-toggle' => 'tab'
=======
>>>>>>> gitlab-ce/master
- @ldap_servers.each_with_index do |server, i| - @ldap_servers.each_with_index do |server, i|
%li.nav-item{ class: active_when(i.zero? && !crowd_enabled?) } %li.nav-item{ class: active_when(i.zero? && !crowd_enabled?) }
= link_to server['label'], "##{server['provider_name']}", class: 'nav-link', 'data-toggle' => 'tab' = link_to server['label'], "##{server['provider_name']}", class: 'nav-link', 'data-toggle' => 'tab'
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
= render 'nav' = render 'nav'
- if cookies[:explore_groups_landing_dismissed] != 'true' - if cookies[:explore_groups_landing_dismissed] != 'true'
.explore-groups.landing.content-block.js-explore-groups-landing.hidden .explore-groups.landing.content-block.js-explore-groups-landing.hide
%button.dismiss-button{ type: 'button', 'aria-label' => 'Dismiss' }= icon('times') %button.dismiss-button{ type: 'button', 'aria-label' => 'Dismiss' }= icon('times')
.svg-container .svg-container
= custom_icon('icon_explore_groups_splash') = custom_icon('icon_explore_groups_splash')
......
...@@ -10,8 +10,11 @@ ...@@ -10,8 +10,11 @@
%br/ %br/
%span.descr This setting can be overridden in each project. %span.descr This setting can be overridden in each project.
<<<<<<< HEAD
= render partial: 'groups/ee/project_creation_level', locals: { form: f, group: @group } = render partial: 'groups/ee/project_creation_level', locals: { form: f, group: @group }
=======
>>>>>>> gitlab-ce/master
.form-group.row .form-group.row
= f.label :require_two_factor_authentication, 'Two-factor authentication', class: 'col-form-label col-sm-2' = f.label :require_two_factor_authentication, 'Two-factor authentication', class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
......
...@@ -9,8 +9,11 @@ ...@@ -9,8 +9,11 @@
= form_errors(@group) = form_errors(@group)
= render 'shared/group_form', f: f = render 'shared/group_form', f: f
<<<<<<< HEAD
= render 'shared/repository_size_limit_setting', form: f, type: :group = render 'shared/repository_size_limit_setting', form: f, type: :group
=======
>>>>>>> gitlab-ce/master
.form-group.row .form-group.row
.offset-sm-2.col-sm-10 .offset-sm-2.col-sm-10
.avatar-container.s160 .avatar-container.s160
......
= form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f| = form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f|
.row .row
.col-md-4.col-lg-6 .col-md-4.col-lg-6
<<<<<<< HEAD
= users_select_tag(:user_ids, multiple: true, class: 'input-clamp', scope: :all, email_user: true, skip_ldap: @group.ldap_synced?) = users_select_tag(:user_ids, multiple: true, class: 'input-clamp', scope: :all, email_user: true, skip_ldap: @group.ldap_synced?)
=======
= users_select_tag(:user_ids, multiple: true, class: 'input-clamp', scope: :all, email_user: true)
>>>>>>> gitlab-ce/master
.form-text.text-muted.append-bottom-10 .form-text.text-muted.append-bottom-10
Search for members by name, username, or email, or invite new ones using their email address. Search for members by name, username, or email, or invite new ones using their email address.
......
...@@ -4,11 +4,19 @@ ...@@ -4,11 +4,19 @@
.col-md-6 .col-md-6
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :title, "Title", class: "col-form-label" = f.label :title, "Title", class: "col-form-label"
.col-sm-10 .col-sm-10
= f.text_field :title, maxlength: 255, class: "form-control", required: true, autofocus: true = f.text_field :title, maxlength: 255, class: "form-control", required: true, autofocus: true
.form-group.row.milestone-description .form-group.row.milestone-description
= f.label :description, "Description", class: "col-form-label" = f.label :description, "Description", class: "col-form-label"
=======
= f.label :title, "Title", class: "col-form-label col-sm-2"
.col-sm-10
= f.text_field :title, maxlength: 255, class: "form-control", required: true, autofocus: true
.form-group.row.milestone-description
= f.label :description, "Description", class: "col-form-label col-sm-2"
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= render layout: 'projects/md_preview', locals: { url: group_preview_markdown_path } do = render layout: 'projects/md_preview', locals: { url: group_preview_markdown_path } do
= render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: 'Write milestone description...', supports_autocomplete: false = render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: 'Write milestone description...', supports_autocomplete: false
......
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
%h2#buttons Buttons %h2#buttons Buttons
.example .example
%button.btn.btn-default{ :type => "button" } Default %button.btn.btn-default{ :type => "button" } Secondary
%button.btn.btn-primary{ :type => "button" } Primary %button.btn.btn-primary{ :type => "button" } Primary
%button.btn.btn-success{ :type => "button" } Success %button.btn.btn-success{ :type => "button" } Success
%button.btn.btn-info{ :type => "button" } Info %button.btn.btn-info{ :type => "button" } Info
......
...@@ -52,7 +52,11 @@ ...@@ -52,7 +52,11 @@
- opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.owner.login, path: repo.owner.login) } : {} - opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.owner.login, path: repo.owner.login) } : {}
= select_tag :namespace_id, namespaces_options(selected, opts.merge({ display_path: true })), { class: 'input-group-text select2 js-select-namespace', tabindex: 1 } = select_tag :namespace_id, namespaces_options(selected, opts.merge({ display_path: true })), { class: 'input-group-text select2 js-select-namespace', tabindex: 1 }
- else - else
<<<<<<< HEAD
= text_field_tag :path, current_user.namespace_path, class: "input-large form-control", tabindex: 1, disabled: true = text_field_tag :path, current_user.namespace_path, class: "input-large form-control", tabindex: 1, disabled: true
=======
= text_field_tag :path, current_user.namespace_path, class: "input-group-text input-large form-control", tabindex: 1, disabled: true
>>>>>>> gitlab-ce/master
%span.input-group-prepend %span.input-group-prepend
.input-group-text / .input-group-text /
= text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true = text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true
......
...@@ -60,7 +60,11 @@ ...@@ -60,7 +60,11 @@
- opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.owner, path: repo.owner) } : {} - opts = current_user.can_create_group? ? { extra_group: Group.new(name: repo.owner, path: repo.owner) } : {}
= select_tag :namespace_id, namespaces_options(selected, opts.merge({ display_path: true })), { class: 'input-group-text select2 js-select-namespace', tabindex: 1 } = select_tag :namespace_id, namespaces_options(selected, opts.merge({ display_path: true })), { class: 'input-group-text select2 js-select-namespace', tabindex: 1 }
- else - else
<<<<<<< HEAD
= text_field_tag :path, current_user.namespace_path, class: "input-large form-control", tabindex: 1, disabled: true = text_field_tag :path, current_user.namespace_path, class: "input-large form-control", tabindex: 1, disabled: true
=======
= text_field_tag :path, current_user.namespace_path, class: "input-group-text input-large form-control", tabindex: 1, disabled: true
>>>>>>> gitlab-ce/master
%span.input-group-prepend %span.input-group-prepend
.input-group-text / .input-group-text /
= text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true = text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true
...@@ -74,7 +78,7 @@ ...@@ -74,7 +78,7 @@
= link_to repo.full_name, "https://bitbucket.org/#{repo.full_name}", target: '_blank', rel: 'noopener noreferrer' = link_to repo.full_name, "https://bitbucket.org/#{repo.full_name}", target: '_blank', rel: 'noopener noreferrer'
%td.import-target %td.import-target
%td.import-actions-job-status %td.import-actions-job-status
= label_tag 'Incompatible Project', nil, class: 'label label-danger' = label_tag 'Incompatible Project', nil, class: 'label badge-danger'
- if @incompatible_repos.any? - if @incompatible_repos.any?
%p %p
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
In the next steps, you'll be able to map users and select the projects In the next steps, you'll be able to map users and select the projects
you want to import. you want to import.
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :uri, 'FogBugz URL', class: 'col-form-label' = label_tag :uri, 'FogBugz URL', class: 'col-form-label'
.col-sm-4 .col-sm-4
= text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control' = text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control'
...@@ -20,6 +21,17 @@ ...@@ -20,6 +21,17 @@
= text_field_tag :email, nil, class: 'form-control' = text_field_tag :email, nil, class: 'form-control'
.form-group.row .form-group.row
= label_tag :password, 'FogBugz Password', class: 'col-form-label' = label_tag :password, 'FogBugz Password', class: 'col-form-label'
=======
= label_tag :uri, 'FogBugz URL', class: 'col-form-label col-sm-8'
.col-sm-4
= text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control'
.form-group.row
= label_tag :email, 'FogBugz Email', class: 'col-form-label col-sm-8'
.col-sm-4
= text_field_tag :email, nil, class: 'form-control'
.form-group.row
= label_tag :password, 'FogBugz Password', class: 'col-form-label col-sm-8'
>>>>>>> gitlab-ce/master
.col-sm-4 .col-sm-4
= password_field_tag :password, nil, class: 'form-control' = password_field_tag :password, nil, class: 'form-control'
.form-actions .form-actions
......
...@@ -12,11 +12,19 @@ ...@@ -12,11 +12,19 @@
= form_tag personal_access_token_import_gitea_path do = form_tag personal_access_token_import_gitea_path do
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :gitea_host_url, 'Gitea Host URL', class: 'col-form-label' = label_tag :gitea_host_url, 'Gitea Host URL', class: 'col-form-label'
.col-sm-4 .col-sm-4
= text_field_tag :gitea_host_url, nil, placeholder: 'https://try.gitea.io', class: 'form-control' = text_field_tag :gitea_host_url, nil, placeholder: 'https://try.gitea.io', class: 'form-control'
.form-group.row .form-group.row
= label_tag :personal_access_token, 'Personal Access Token', class: 'col-form-label' = label_tag :personal_access_token, 'Personal Access Token', class: 'col-form-label'
=======
= label_tag :gitea_host_url, 'Gitea Host URL', class: 'col-form-label col-sm-8'
.col-sm-4
= text_field_tag :gitea_host_url, nil, placeholder: 'https://try.gitea.io', class: 'form-control'
.form-group.row
= label_tag :personal_access_token, 'Personal Access Token', class: 'col-form-label col-sm-8'
>>>>>>> gitlab-ce/master
.col-sm-4 .col-sm-4
= text_field_tag :personal_access_token, nil, class: 'form-control' = text_field_tag :personal_access_token, nil, class: 'form-control'
.form-actions .form-actions
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
= link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank", rel: 'noopener noreferrer' = link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank", rel: 'noopener noreferrer'
%td.import-target %td.import-target
%td.import-actions-job-status %td.import-actions-job-status
= label_tag "Incompatible Project", nil, class: "label label-danger" = label_tag "Incompatible Project", nil, class: "label badge-danger"
- if @incompatible_repos.any? - if @incompatible_repos.any?
%p %p
......
...@@ -11,7 +11,11 @@ ...@@ -11,7 +11,11 @@
.content .content
= render "layouts/flash" = render "layouts/flash"
.row .row
<<<<<<< HEAD
.col-sm-7.brand-holder.float-left .col-sm-7.brand-holder.float-left
=======
.col-sm-7.brand-holder
>>>>>>> gitlab-ce/master
%h1 %h1
= brand_title = brand_title
= brand_image = brand_image
...@@ -27,12 +31,16 @@ ...@@ -27,12 +31,16 @@
- if Gitlab::CurrentSettings.sign_in_text.present? - if Gitlab::CurrentSettings.sign_in_text.present?
= markdown_field(Gitlab::CurrentSettings.current_application_settings, :sign_in_text) = markdown_field(Gitlab::CurrentSettings.current_application_settings, :sign_in_text)
<<<<<<< HEAD
- if Gitlab::CurrentSettings.help_text.present? - if Gitlab::CurrentSettings.help_text.present?
%h3 Need help? %h3 Need help?
%hr %hr
%p.slead %p.slead
= markdown(Gitlab::CurrentSettings.help_text) = markdown(Gitlab::CurrentSettings.help_text)
.col-sm-5.float-right.new-session-forms-container .col-sm-5.float-right.new-session-forms-container
=======
.col-sm-5.new-session-forms-container
>>>>>>> gitlab-ce/master
= yield = yield
%hr.footer-fixed %hr.footer-fixed
......
<<<<<<< HEAD
%header.navbar.navbar-gitlab.navbar-gitlab-new.qa-navbar.navbar-expand-sm %header.navbar.navbar-gitlab.navbar-gitlab-new.qa-navbar.navbar-expand-sm
=======
%header.navbar.navbar-gitlab.qa-navbar.navbar-expand-sm
>>>>>>> gitlab-ce/master
%a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content %a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content
.container-fluid .container-fluid
.header-content .header-content
......
...@@ -13,17 +13,29 @@ ...@@ -13,17 +13,29 @@
Groups Groups
- if dashboard_nav_link?(:activity) - if dashboard_nav_link?(:activity)
<<<<<<< HEAD
= nav_link(path: 'dashboard#activity', html_options: { class: "d-none d-lg-block" }) do = nav_link(path: 'dashboard#activity', html_options: { class: "d-none d-lg-block" }) do
=======
= nav_link(path: 'dashboard#activity', html_options: { class: "d-none d-lg-block d-xl-block" }) do
>>>>>>> gitlab-ce/master
= link_to activity_dashboard_path, class: 'dashboard-shortcuts-activity', title: 'Activity' do = link_to activity_dashboard_path, class: 'dashboard-shortcuts-activity', title: 'Activity' do
Activity Activity
- if dashboard_nav_link?(:milestones) - if dashboard_nav_link?(:milestones)
<<<<<<< HEAD
= nav_link(controller: 'dashboard/milestones', html_options: { class: "d-none d-lg-block" }) do = nav_link(controller: 'dashboard/milestones', html_options: { class: "d-none d-lg-block" }) do
=======
= nav_link(controller: 'dashboard/milestones', html_options: { class: "d-none d-lg-block d-xl-block" }) do
>>>>>>> gitlab-ce/master
= link_to dashboard_milestones_path, class: 'dashboard-shortcuts-milestones', title: 'Milestones' do = link_to dashboard_milestones_path, class: 'dashboard-shortcuts-milestones', title: 'Milestones' do
Milestones Milestones
- if dashboard_nav_link?(:snippets) - if dashboard_nav_link?(:snippets)
<<<<<<< HEAD
= nav_link(controller: 'dashboard/snippets', html_options: { class: "d-none d-lg-block" }) do = nav_link(controller: 'dashboard/snippets', html_options: { class: "d-none d-lg-block" }) do
=======
= nav_link(controller: 'dashboard/snippets', html_options: { class: "d-none d-lg-block d-xl-block" }) do
>>>>>>> gitlab-ce/master
= link_to dashboard_snippets_path, class: 'dashboard-shortcuts-snippets', title: 'Snippets' do = link_to dashboard_snippets_path, class: 'dashboard-shortcuts-snippets', title: 'Snippets' do
Snippets Snippets
......
...@@ -135,6 +135,7 @@ ...@@ -135,6 +135,7 @@
%strong.fly-out-top-item-name %strong.fly-out-top-item-name
#{ _('Abuse Reports') } #{ _('Abuse Reports') }
%span.badge.badge-pill.count.merge_counter.js-merge-counter.fly-out-badge= number_with_delimiter(AbuseReport.count(:all)) %span.badge.badge-pill.count.merge_counter.js-merge-counter.fly-out-badge= number_with_delimiter(AbuseReport.count(:all))
<<<<<<< HEAD
= nav_link(controller: :licenses) do = nav_link(controller: :licenses) do
= link_to admin_license_path do = link_to admin_license_path do
...@@ -147,6 +148,8 @@ ...@@ -147,6 +148,8 @@
= link_to admin_license_path do = link_to admin_license_path do
%strong.fly-out-top-item-name %strong.fly-out-top-item-name
#{ _('License') } #{ _('License') }
=======
>>>>>>> gitlab-ce/master
- if akismet_enabled? - if akismet_enabled?
= nav_link(controller: :spam_logs) do = nav_link(controller: :spam_logs) do
......
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
= link_to current_user, class: user_dropdown_class, data: { toggle: "dropdown" } do = link_to current_user, class: user_dropdown_class, data: { toggle: "dropdown" } do
= image_tag avatar_icon_for_user(current_user, 23), width: 23, height: 23, class: "header-user-avatar qa-user-avatar" = image_tag avatar_icon_for_user(current_user, 23), width: 23, height: 23, class: "header-user-avatar qa-user-avatar"
= sprite_icon('angle-down', css_class: 'caret-down') = sprite_icon('angle-down', css_class: 'caret-down')
<<<<<<< HEAD
.dropdown-menu-nav.dropdown-menu-right .dropdown-menu-nav.dropdown-menu-right
=======
.dropdown-menu.dropdown-menu-right
>>>>>>> gitlab-ce/master
= render 'layouts/header/current_user_dropdown' = render 'layouts/header/current_user_dropdown'
= yield = yield
...@@ -24,5 +24,9 @@ ...@@ -24,5 +24,9 @@
= @key.key = @key.key
.col-md-12 .col-md-12
.float-right .float-right
<<<<<<< HEAD
- unless @key.is_a? LDAPKey - unless @key.is_a? LDAPKey
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key" = link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
=======
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
>>>>>>> gitlab-ce/master
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
- unless @user.password_automatically_set? - unless @user.password_automatically_set?
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :current_password, class: 'col-form-label' = f.label :current_password, class: 'col-form-label'
.col-sm-10= f.password_field :current_password, required: true, class: 'form-control' .col-sm-10= f.password_field :current_password, required: true, class: 'form-control'
.form-group.row .form-group.row
...@@ -19,6 +20,15 @@ ...@@ -19,6 +20,15 @@
.col-sm-10= f.password_field :password, required: true, class: 'form-control' .col-sm-10= f.password_field :password, required: true, class: 'form-control'
.form-group.row .form-group.row
= f.label :password_confirmation, class: 'col-form-label' = f.label :password_confirmation, class: 'col-form-label'
=======
= f.label :current_password, class: 'col-form-label col-sm-2'
.col-sm-10= f.password_field :current_password, required: true, class: 'form-control'
.form-group.row
= f.label :password, class: 'col-form-label col-sm-2'
.col-sm-10= f.password_field :password, required: true, class: 'form-control'
.form-group.row
= f.label :password_confirmation, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= f.password_field :password_confirmation, required: true, class: 'form-control' = f.password_field :password_confirmation, required: true, class: 'form-control'
.form-actions .form-actions
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
= label_tag(:push_to_create_tip, _("Private projects can be created in your personal namespace with:"), class: "weight-normal") = label_tag(:push_to_create_tip, _("Private projects can be created in your personal namespace with:"), class: "weight-normal")
%p.input-group.project-tip-command %p.input-group.project-tip-command
%span.input-group-btn %span
= text_field_tag :push_to_create_tip, push_to_create_project_command, class: "js-select-on-focus form-control monospace", readonly: true, aria: { label: _("Push project from command line") } = text_field_tag :push_to_create_tip, push_to_create_project_command, class: "js-select-on-focus form-control monospace", readonly: true, aria: { label: _("Push project from command line") }
%span.input-group-append %span.input-group-append
= clipboard_button(text: push_to_create_project_command, title: _("Copy command to clipboard"), class: 'input-group-text', placement: "right") = clipboard_button(text: push_to_create_project_command, title: _("Copy command to clipboard"), class: 'input-group-text', placement: "right")
......
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
.modal-body .modal-body
= form_tag project_create_dir_path(@project, @id), method: :post, remote: false, class: 'js-create-dir-form js-quick-submit js-requires-input' do = form_tag project_create_dir_path(@project, @id), method: :post, remote: false, class: 'js-create-dir-form js-quick-submit js-requires-input' do
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :dir_name, _('Directory name'), class: 'col-form-label' = label_tag :dir_name, _('Directory name'), class: 'col-form-label'
=======
= label_tag :dir_name, _('Directory name'), class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= text_field_tag :dir_name, params[:dir_name], required: true, class: 'form-control' = text_field_tag :dir_name, params[:dir_name], required: true, class: 'form-control'
......
...@@ -11,12 +11,20 @@ ...@@ -11,12 +11,20 @@
= form_tag namespace_project_branches_path, method: :post, id: "new-branch-form", class: "js-create-branch-form js-requires-input" do = form_tag namespace_project_branches_path, method: :post, id: "new-branch-form", class: "js-create-branch-form js-requires-input" do
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :branch_name, nil, class: 'col-form-label' = label_tag :branch_name, nil, class: 'col-form-label'
=======
= label_tag :branch_name, nil, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= text_field_tag :branch_name, params[:branch_name], required: true, autofocus: true, class: 'form-control js-branch-name' = text_field_tag :branch_name, params[:branch_name], required: true, autofocus: true, class: 'form-control js-branch-name'
.form-text.text-muted.text-danger.js-branch-name-error .form-text.text-muted.text-danger.js-branch-name-error
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :ref, 'Create from', class: 'col-form-label' = label_tag :ref, 'Create from', class: 'col-form-label'
=======
= label_tag :ref, 'Create from', class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10.create-from .col-sm-10.create-from
.dropdown .dropdown
= hidden_field_tag :ref, default_ref = hidden_field_tag :ref, default_ref
......
...@@ -29,7 +29,11 @@ ...@@ -29,7 +29,11 @@
.input-group .input-group
= platform_kubernetes_field.text_field :token, class: 'form-control js-cluster-token js-select-on-focus', type: 'password', placeholder: s_('ClusterIntegration|Token'), readonly: true = platform_kubernetes_field.text_field :token, class: 'form-control js-cluster-token js-select-on-focus', type: 'password', placeholder: s_('ClusterIntegration|Token'), readonly: true
%span.input-group-append %span.input-group-append
<<<<<<< HEAD
%button.btn.btn-default.js-show-cluster-token{ type: 'button' } %button.btn.btn-default.js-show-cluster-token{ type: 'button' }
=======
%button.btn.btn-default.input-group-text.js-show-cluster-token{ type: 'button' }
>>>>>>> gitlab-ce/master
= s_('ClusterIntegration|Show') = s_('ClusterIntegration|Show')
= clipboard_button(text: @cluster.platform_kubernetes.token, title: s_('ClusterIntegration|Copy Token'), class: 'btn-default') = clipboard_button(text: @cluster.platform_kubernetes.token, title: s_('ClusterIntegration|Copy Token'), class: 'btn-default')
......
...@@ -22,7 +22,11 @@ ...@@ -22,7 +22,11 @@
%p.append-bottom-20= description %p.append-bottom-20= description
= form_tag [type.underscore, @project.namespace.becomes(Namespace), @project, commit], method: :post, remote: false, class: "js-#{type}-form js-requires-input" do = form_tag [type.underscore, @project.namespace.becomes(Namespace), @project, commit], method: :post, remote: false, class: "js-#{type}-form js-requires-input" do
.form-group.row.branch .form-group.row.branch
<<<<<<< HEAD
= label_tag 'start_branch', branch_label, class: 'col-form-label' = label_tag 'start_branch', branch_label, class: 'col-form-label'
=======
= label_tag 'start_branch', branch_label, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= hidden_field_tag :start_branch, @project.default_branch, id: 'start_branch' = hidden_field_tag :start_branch, @project.default_branch, id: 'start_branch'
= dropdown_tag(@project.default_branch, options: { title: s_("BranchSwitcherTitle|Switch branch"), filter: true, placeholder: s_("BranchSwitcherPlaceholder|Search branches"), toggle_class: 'js-project-refs-dropdown dynamic', dropdown_class: 'dropdown-menu-selectable', data: { field_name: "start_branch", selected: @project.default_branch, start_branch: @project.default_branch, refs_url: project_branches_path(@project), submit_form_on_click: false } }) = dropdown_tag(@project.default_branch, options: { title: s_("BranchSwitcherTitle|Switch branch"), filter: true, placeholder: s_("BranchSwitcherPlaceholder|Search branches"), toggle_class: 'js-project-refs-dropdown dynamic', dropdown_class: 'dropdown-menu-selectable', data: { field_name: "start_branch", selected: @project.default_branch, start_branch: @project.default_branch, refs_url: project_branches_path(@project), submit_form_on_click: false } })
......
...@@ -31,11 +31,19 @@ ...@@ -31,11 +31,19 @@
= link_to commit.title, project_commit_path(project, commit.id, merge_request_iid: merge_request.iid), class: "commit-row-message item-title" = link_to commit.title, project_commit_path(project, commit.id, merge_request_iid: merge_request.iid), class: "commit-row-message item-title"
- else - else
= link_to_markdown_field(commit, :title, link, class: "commit-row-message item-title") = link_to_markdown_field(commit, :title, link, class: "commit-row-message item-title")
<<<<<<< HEAD
%span.commit-row-message.d-inline.d-sm-none %span.commit-row-message.d-inline.d-sm-none
&middot; &middot;
= commit.short_id = commit.short_id
- if commit.status(ref) - if commit.status(ref)
.d-inline.d-sm-none .d-inline.d-sm-none
=======
%span.commit-row-message.d-block.d-sm-none
&middot;
= commit.short_id
- if commit.status(ref)
.d-block.d-sm-none
>>>>>>> gitlab-ce/master
= render_commit_status(commit, ref: ref) = render_commit_status(commit, ref: ref)
- if commit.description? - if commit.description?
%button.text-expander.d-none.d-sm-inline-block.js-toggle-button{ type: "button" } ... %button.text-expander.d-none.d-sm-inline-block.js-toggle-button{ type: "button" } ...
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
= render "projects/commits/commit_list" = render "projects/commits/commit_list"
= render "projects/diffs/diffs", diffs: @diffs, environment: @environment = render "projects/diffs/diffs", diffs: @diffs, environment: @environment
- else - else
.light-well .card.bg-light
.center .center
%h4 %h4
= s_("CompareBranches|There isn't anything to compare.") = s_("CompareBranches|There isn't anything to compare.")
......
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
.git-empty .git-empty
%fieldset %fieldset
%h5 Git global setup %h5 Git global setup
%pre.light-well %pre.card.bg-light
:preserve :preserve
git config --global user.name "#{h git_user_name}" git config --global user.name "#{h git_user_name}"
git config --global user.email "#{h git_user_email}" git config --global user.email "#{h git_user_email}"
%fieldset %fieldset
%h5 Create a new repository %h5 Create a new repository
%pre.light-well %pre.card.bg-light
:preserve :preserve
git clone #{ content_tag(:span, default_url_to_repo, class: 'clone')} git clone #{ content_tag(:span, default_url_to_repo, class: 'clone')}
cd #{h @project.path} cd #{h @project.path}
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
%fieldset %fieldset
%h5 Existing folder %h5 Existing folder
%pre.light-well %pre.card.bg-light
:preserve :preserve
cd existing_folder cd existing_folder
git init git init
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
%fieldset %fieldset
%h5 Existing Git repository %h5 Existing Git repository
%pre.light-well %pre.card.bg-light
:preserve :preserve
cd existing_repo cd existing_repo
git remote rename origin old-origin git remote rename origin old-origin
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
= icon('spinner', class: 'fa-spin') = icon('spinner', class: 'fa-spin')
%span.text %span.text
Checking branch availability… Checking branch availability…
.btn-group.available.hide .btn-group.available.hidden
%button.btn.js-create-merge-request.btn-success.btn-inverted{ type: 'button', data: { action: data_action } } %button.btn.js-create-merge-request.btn-success.btn-inverted{ type: 'button', data: { action: data_action } }
= value = value
......
...@@ -18,7 +18,11 @@ ...@@ -18,7 +18,11 @@
%span= time_ago_with_tooltip @build.artifacts_expire_at %span= time_ago_with_tooltip @build.artifacts_expire_at
- if @build.artifacts? - if @build.artifacts?
<<<<<<< HEAD
.btn-group.d-flex{ role: :group } .btn-group.d-flex{ role: :group }
=======
.btn-group.btn-group.d-flex{ role: :group }
>>>>>>> gitlab-ce/master
- if @build.has_expiring_artifacts? && can?(current_user, :update_build, @build) - if @build.has_expiring_artifacts? && can?(current_user, :update_build, @build)
= link_to keep_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-default', method: :post do = link_to keep_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-default', method: :post do
Keep Keep
...@@ -42,7 +46,11 @@ ...@@ -42,7 +46,11 @@
- if @build.trigger_variables.any? - if @build.trigger_variables.any?
%p %p
<<<<<<< HEAD
%button.btn.group.js-reveal-variables Reveal Variables %button.btn.group.js-reveal-variables Reveal Variables
=======
%button.btn.group.btn-group.js-reveal-variables Reveal Variables
>>>>>>> gitlab-ce/master
%dl.js-build-variables.trigger-build-variables.hide %dl.js-build-variables.trigger-build-variables.hide
- @build.trigger_variables.each do |trigger_variable| - @build.trigger_variables.each do |trigger_variable|
...@@ -83,7 +91,7 @@ ...@@ -83,7 +91,7 @@
- builds.select{|build| build.status == build_status}.each do |build| - builds.select{|build| build.status == build_status}.each do |build|
.build-job{ class: sidebar_build_class(build, @build), data: { stage: build.stage } } .build-job{ class: sidebar_build_class(build, @build), data: { stage: build.stage } }
- tooltip = build.tooltip_message - tooltip = build.tooltip_message
= link_to(project_job_path(@project, build), data: { toggle: 'tooltip', html: true, title: tooltip, container: 'body' }) do = link_to(project_job_path(@project, build), data: { toggle: 'tooltip', html: 'true', title: tooltip, container: 'body' }) do
= sprite_icon('arrow-right', size:16, css_class: 'icon-arrow-right') = sprite_icon('arrow-right', size:16, css_class: 'icon-arrow-right')
%span{ class: "ci-status-icon-#{build.status}" } %span{ class: "ci-status-icon-#{build.status}" }
= ci_icon_for_status(build.status) = ci_icon_for_status(build.status)
......
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
.hide.alert.alert-danger.mr-compare-errors .hide.alert.alert-danger.mr-compare-errors
.js-merge-request-new-compare.row{ 'data-source-branch-url': project_new_merge_request_branch_from_path(@source_project), 'data-target-branch-url': project_new_merge_request_branch_to_path(@source_project) } .js-merge-request-new-compare.row{ 'data-source-branch-url': project_new_merge_request_branch_from_path(@source_project), 'data-target-branch-url': project_new_merge_request_branch_to_path(@source_project) }
.col-lg-6 .col-lg-6
<<<<<<< HEAD
.card.panel-new-merge-request .card.panel-new-merge-request
=======
.card.card-new-merge-request
>>>>>>> gitlab-ce/master
.card-header .card-header
Source branch Source branch
.card-body.clearfix .card-body.clearfix
...@@ -32,7 +36,11 @@ ...@@ -32,7 +36,11 @@
%ul.list-unstyled.mr_source_commit %ul.list-unstyled.mr_source_commit
.col-lg-6 .col-lg-6
<<<<<<< HEAD
.card.panel-new-merge-request .card.panel-new-merge-request
=======
.card.card-new-merge-request
>>>>>>> gitlab-ce/master
.card-header .card-header
Target branch Target branch
.card-body.clearfix .card-body.clearfix
......
...@@ -46,9 +46,12 @@ ...@@ -46,9 +46,12 @@
%a{ href: '#import-project-pane', id: 'import-project-tab', data: { toggle: 'tab' }, role: 'tab' } %a{ href: '#import-project-pane', id: 'import-project-tab', data: { toggle: 'tab' }, role: 'tab' }
%span.d-none.d-sm-block Import project %span.d-none.d-sm-block Import project
%span.d-block.d-sm-none Import %span.d-block.d-sm-none Import
<<<<<<< HEAD
-# EE-specific start -# EE-specific start
= render 'new_ci_cd_only_project_tab', active_tab: active_tab = render 'new_ci_cd_only_project_tab', active_tab: active_tab
-# EE-specific end -# EE-specific end
=======
>>>>>>> gitlab-ce/master
.tab-content.gitlab-tab-content .tab-content.gitlab-tab-content
.tab-pane{ id: 'blank-project-pane', class: active_when(active_tab == 'blank'), role: 'tabpanel' } .tab-pane{ id: 'blank-project-pane', class: active_when(active_tab == 'blank'), role: 'tabpanel' }
...@@ -71,11 +74,15 @@ ...@@ -71,11 +74,15 @@
%h4 No import options available %h4 No import options available
%p Contact an administrator to enable options for importing your project. %p Contact an administrator to enable options for importing your project.
<<<<<<< HEAD
-# EE-specific start -# EE-specific start
= render 'new_ci_cd_only_project_pane', active_tab: active_tab = render 'new_ci_cd_only_project_pane', active_tab: active_tab
-# EE-specific end -# EE-specific end
.save-project-loader.hide .save-project-loader.hide
=======
.save-project-loader.d-none
>>>>>>> gitlab-ce/master
.center .center
%h2 %h2
%i.fa.fa-spinner.fa-spin %i.fa.fa-spinner.fa-spin
......
- if @project.pages_deployed? - if @project.pages_deployed?
- if can?(current_user, :remove_pages, @project) - if can?(current_user, :remove_pages, @project)
<<<<<<< HEAD
.card.card.bg-danger .card.card.bg-danger
=======
.card.bg-danger
>>>>>>> gitlab-ce/master
.card-header Remove pages .card-header Remove pages
.errors-holder .errors-holder
.card-body .card-body
......
...@@ -5,21 +5,33 @@ ...@@ -5,21 +5,33 @@
%p= msg %p= msg
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :domain, class: 'col-form-label' do = f.label :domain, class: 'col-form-label' do
=======
= f.label :domain, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Domain Domain
.col-sm-10 .col-sm-10
= f.text_field :domain, required: true, autocomplete: 'off', class: 'form-control', disabled: @domain.persisted? = f.text_field :domain, required: true, autocomplete: 'off', class: 'form-control', disabled: @domain.persisted?
- if Gitlab.config.pages.external_https - if Gitlab.config.pages.external_https
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :certificate, class: 'col-form-label' do = f.label :certificate, class: 'col-form-label' do
=======
= f.label :certificate, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Certificate (PEM) Certificate (PEM)
.col-sm-10 .col-sm-10
= f.text_area :certificate, rows: 5, class: 'form-control' = f.text_area :certificate, rows: 5, class: 'form-control'
%span.help-inline Upload a certificate for your domain with all intermediates %span.help-inline Upload a certificate for your domain with all intermediates
.form-group.row .form-group.row
<<<<<<< HEAD
= f.label :key, class: 'col-form-label' do = f.label :key, class: 'col-form-label' do
=======
= f.label :key, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Key (PEM) Key (PEM)
.col-sm-10 .col-sm-10
= f.text_area :key, rows: 5, class: 'form-control' = f.text_area :key, rows: 5, class: 'form-control'
......
<<<<<<< HEAD
= form_for [@project.namespace.becomes(Namespace), @project, @schedule], as: :schedule, html: { id: "new-pipeline-schedule-form", class: " js-pipeline-schedule-form" } do |f| = form_for [@project.namespace.becomes(Namespace), @project, @schedule], as: :schedule, html: { id: "new-pipeline-schedule-form", class: " js-pipeline-schedule-form" } do |f|
=======
= form_for [@project.namespace.becomes(Namespace), @project, @schedule], as: :schedule, html: { id: "new-pipeline-schedule-form", class: "js-pipeline-schedule-form" } do |f|
>>>>>>> gitlab-ce/master
= form_errors(@schedule) = form_errors(@schedule)
.form-group.row .form-group.row
.col-md-9 .col-md-9
......
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
%ul.content-list %ul.content-list
= render partial: "table" = render partial: "table"
- else - else
.light-well .card.bg-light
.nothing-here-block= _("No schedules") .nothing-here-block= _("No schedules")
...@@ -16,11 +16,14 @@ ...@@ -16,11 +16,14 @@
= link_to failures_project_pipeline_path(@project, @pipeline), data: { target: '#js-tab-failures', action: 'failures', toggle: 'tab' }, class: 'failures-tab' do = link_to failures_project_pipeline_path(@project, @pipeline), data: { target: '#js-tab-failures', action: 'failures', toggle: 'tab' }, class: 'failures-tab' do
= _("Failed Jobs") = _("Failed Jobs")
%span.badge.badge-pill.js-failures-counter= @pipeline.failed_builds.count %span.badge.badge-pill.js-failures-counter= @pipeline.failed_builds.count
<<<<<<< HEAD
- if expose_sast_data || expose_dependency_data - if expose_sast_data || expose_dependency_data
%li.js-security-tab-link %li.js-security-tab-link
= link_to security_project_pipeline_path(@project, @pipeline), data: { target: '#js-tab-security', action: 'security', toggle: 'tab' }, class: 'security-tab' do = link_to security_project_pipeline_path(@project, @pipeline), data: { target: '#js-tab-security', action: 'security', toggle: 'tab' }, class: 'security-tab' do
= _("Security report") = _("Security report")
%span.badge.badge-pill.js-sast-counter.hidden %span.badge.badge-pill.js-sast-counter.hidden
=======
>>>>>>> gitlab-ce/master
.tab-content .tab-content
#js-tab-pipeline.tab-pane #js-tab-pipeline.tab-pane
......
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
%hr %hr
= form_tag apply_import_project_project_members_path(@project), method: 'post' do = form_tag apply_import_project_project_members_path(@project), method: 'post' do
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :source_project_id, "Project", class: 'col-form-label' = label_tag :source_project_id, "Project", class: 'col-form-label'
=======
= label_tag :source_project_id, "Project", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10= select_tag(:source_project_id, options_from_collection_for_select(@projects, :id, :name_with_namespace), prompt: "Select project", class: "select2 lg", required: true) .col-sm-10= select_tag(:source_project_id, options_from_collection_for_select(@projects, :id, :name_with_namespace), prompt: "Select project", class: "select2 lg", required: true)
.form-actions .form-actions
......
...@@ -16,12 +16,21 @@ ...@@ -16,12 +16,21 @@
%i Owners %i Owners
.light .light
<<<<<<< HEAD
- if can_admin_project_members && project_can_be_shared? - if can_admin_project_members && project_can_be_shared?
- if !membership_locked? && @project.allowed_to_share_with_group? - if !membership_locked? && @project.allowed_to_share_with_group?
%ul.nav-links.nav.nav-tabs.gitlab-tabs{ role: 'tablist' } %ul.nav-links.nav.nav-tabs.gitlab-tabs{ role: 'tablist' }
%li.active{ role: 'presentation' } %li.active{ role: 'presentation' }
%a{ href: '#add-member-pane', id: 'add-member-tab', data: { toggle: 'tab' }, role: 'tab' } Add member %a{ href: '#add-member-pane', id: 'add-member-tab', data: { toggle: 'tab' }, role: 'tab' } Add member
%li{ role: 'presentation', class: ('active' if membership_locked?) } %li{ role: 'presentation', class: ('active' if membership_locked?) }
=======
- if can?(current_user, :admin_project_member, @project)
%ul.nav-links.nav.nav-tabs.gitlab-tabs{ role: 'tablist' }
%li.active{ role: 'presentation' }
%a{ href: '#add-member-pane', id: 'add-member-tab', data: { toggle: 'tab' }, role: 'tab' } Add member
- if @project.allowed_to_share_with_group?
%li{ role: 'presentation' }
>>>>>>> gitlab-ce/master
%a{ href: '#share-with-group-pane', id: 'share-with-group-tab', data: { toggle: 'tab' }, role: 'tab' } Share with group %a{ href: '#share-with-group-pane', id: 'share-with-group-tab', data: { toggle: 'tab' }, role: 'tab' } Share with group
.tab-content.gitlab-tab-content .tab-content.gitlab-tab-content
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
= link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus_library/metrics'), target: '_blank', rel: "noopener noreferrer" = link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus_library/metrics'), target: '_blank', rel: "noopener noreferrer"
.col-lg-9 .col-lg-9
<<<<<<< HEAD
.card.custom-monitored-metrics.js-panel-custom-monitored-metrics{ data: { active_custom_metrics: project_prometheus_metrics_path(@project), environments_data: environments_list_data } } .card.custom-monitored-metrics.js-panel-custom-monitored-metrics{ data: { active_custom_metrics: project_prometheus_metrics_path(@project), environments_data: environments_list_data } }
.card-header .card-header
%h3.card-title %h3.card-title
...@@ -25,6 +26,8 @@ ...@@ -25,6 +26,8 @@
= link_to s_('PrometheusService|New metric'), new_project_prometheus_metric_path(@project), class: 'btn btn-success prepend-top-10 prepend-left-10 append-bottom-10' = link_to s_('PrometheusService|New metric'), new_project_prometheus_metric_path(@project), class: 'btn btn-success prepend-top-10 prepend-left-10 append-bottom-10'
%ul.list-unstyled.metrics-list.hidden.js-custom-metrics-list %ul.list-unstyled.metrics-list.hidden.js-custom-metrics-list
=======
>>>>>>> gitlab-ce/master
.card.js-panel-monitored-metrics{ data: { active_metrics: active_common_project_prometheus_metrics_path(@project, :json), metrics_help_path: help_page_path('user/project/integrations/prometheus_library/metrics') } } .card.js-panel-monitored-metrics{ data: { active_metrics: active_common_project_prometheus_metrics_path(@project, :json), metrics_help_path: help_page_path('user/project/integrations/prometheus_library/metrics') } }
.card-header .card-header
%h3.card-title %h3.card-title
......
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
= f.label :runners_token, "Runner token", class: 'label-light' = f.label :runners_token, "Runner token", class: 'label-light'
.form-control.js-secret-value-placeholder .form-control.js-secret-value-placeholder
= '*' * 20 = '*' * 20
<<<<<<< HEAD
= f.text_field :runners_token, class: "form-control hide js-secret-value", placeholder: 'xEeFCaDAB89' = f.text_field :runners_token, class: "form-control hide js-secret-value", placeholder: 'xEeFCaDAB89'
=======
= f.text_field :runners_token, class: "form-control hidden js-secret-value", placeholder: 'xEeFCaDAB89'
>>>>>>> gitlab-ce/master
%p.form-text.text-muted The secure token used by the Runner to checkout the project %p.form-text.text-muted The secure token used by the Runner to checkout the project
%button.btn.btn-info.prepend-top-10.js-secret-value-reveal-button{ type: 'button', data: { secret_reveal_status: 'false' } } %button.btn.btn-info.prepend-top-10.js-secret-value-reveal-button{ type: 'button', data: { secret_reveal_status: 'false' } }
= _('Reveal value') = _('Reveal value')
......
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
= f.hidden_field :last_commit_sha, value: @page.last_commit_sha = f.hidden_field :last_commit_sha, value: @page.last_commit_sha
.form-group.row .form-group.row
<<<<<<< HEAD
.col-sm-12= f.label :title, class: 'col-form-label-full-width' .col-sm-12= f.label :title, class: 'col-form-label-full-width'
=======
.col-sm-12= f.label :title, class: 'control-label-full-width'
>>>>>>> gitlab-ce/master
.col-sm-12 .col-sm-12
= f.text_field :title, class: 'form-control', value: @page.title = f.text_field :title, class: 'form-control', value: @page.title
- if @page.persisted? - if @page.persisted?
...@@ -17,12 +21,20 @@ ...@@ -17,12 +21,20 @@
= s_("WikiEditPageTip|Tip: You can move this page by adding the path to the beginning of the title.") = s_("WikiEditPageTip|Tip: You can move this page by adding the path to the beginning of the title.")
= link_to icon('question-circle'), help_page_path('user/project/wiki/index', anchor: 'moving-a-wiki-page'), target: '_blank' = link_to icon('question-circle'), help_page_path('user/project/wiki/index', anchor: 'moving-a-wiki-page'), target: '_blank'
.form-group.row .form-group.row
<<<<<<< HEAD
.col-sm-12= f.label :format, class: 'col-form-label-full-width' .col-sm-12= f.label :format, class: 'col-form-label-full-width'
=======
.col-sm-12= f.label :format, class: 'control-label-full-width'
>>>>>>> gitlab-ce/master
.col-sm-12 .col-sm-12
= f.select :format, options_for_select(ProjectWiki::MARKUPS, {selected: @page.format}), {}, class: 'form-control' = f.select :format, options_for_select(ProjectWiki::MARKUPS, {selected: @page.format}), {}, class: 'form-control'
.form-group.row .form-group.row
<<<<<<< HEAD
.col-sm-12= f.label :content, class: 'col-form-label-full-width' .col-sm-12= f.label :content, class: 'col-form-label-full-width'
=======
.col-sm-12= f.label :content, class: 'control-label-full-width'
>>>>>>> gitlab-ce/master
.col-sm-12 .col-sm-12
= render layout: 'projects/md_preview', locals: { url: project_wiki_preview_markdown_path(@project, @page.slug) } do = render layout: 'projects/md_preview', locals: { url: project_wiki_preview_markdown_path(@project, @page.slug) } do
= render 'projects/zen', f: f, attr: :content, classes: 'note-textarea', placeholder: s_("WikiPage|Write your content or drag files here...") = render 'projects/zen', f: f, attr: :content, classes: 'note-textarea', placeholder: s_("WikiPage|Write your content or drag files here...")
...@@ -40,7 +52,11 @@ ...@@ -40,7 +52,11 @@
= (s_("WikiMarkdownDocs|More examples are in the %{docs_link}") % { docs_link: markdown_link }).html_safe = (s_("WikiMarkdownDocs|More examples are in the %{docs_link}") % { docs_link: markdown_link }).html_safe
.form-group.row .form-group.row
<<<<<<< HEAD
.col-sm-12= f.label :commit_message, class: 'col-form-label-full-width' .col-sm-12= f.label :commit_message, class: 'col-form-label-full-width'
=======
.col-sm-12= f.label :commit_message, class: 'control-label-full-width'
>>>>>>> gitlab-ce/master
.col-sm-12= f.text_field :message, class: 'form-control', rows: 18, value: commit_message .col-sm-12= f.text_field :message, class: 'form-control', rows: 18, value: commit_message
.form-actions .form-actions
......
%aside.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix" } } %aside.right-sidebar.right-sidebar-expanded.wiki-sidebar.js-wiki-sidebar.js-right-sidebar{ data: { "offset-top" => "50", "spy" => "affix" } }
.sidebar-container .sidebar-container
.block.wiki-sidebar-header.append-bottom-default .block.wiki-sidebar-header.append-bottom-default
<<<<<<< HEAD
%a.gutter-toggle.float-right.d-block.d-md-none.js-sidebar-wiki-toggle{ href: "#" } %a.gutter-toggle.float-right.d-block.d-md-none.js-sidebar-wiki-toggle{ href: "#" }
=======
%a.gutter-toggle.float-right.d-block.d-sm-block.d-md-none.js-sidebar-wiki-toggle{ href: "#" }
>>>>>>> gitlab-ce/master
= icon('angle-double-right') = icon('angle-double-right')
- git_access_url = project_wikis_git_access_path(@project) - git_access_url = project_wikis_git_access_path(@project)
......
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
- page_title s_("WikiClone|Git Access"), _("Wiki") - page_title s_("WikiClone|Git Access"), _("Wiki")
.wiki-page-header.has-sidebar-toggle .wiki-page-header.has-sidebar-toggle
<<<<<<< HEAD
%button.btn.btn-default.d-block.d-lg-none.float-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" } %button.btn.btn-default.d-block.d-lg-none.float-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
=======
%button.btn.btn-default.d-block.d-sm-block.d-md-none.float-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
>>>>>>> gitlab-ce/master
= icon('angle-double-left') = icon('angle-double-left')
.git-access-header .git-access-header
......
...@@ -23,7 +23,10 @@ ...@@ -23,7 +23,10 @@
= text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true, aria: { label: 'Project clone URL' } = text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true, aria: { label: 'Project clone URL' }
.input-group-append .input-group-append
= clipboard_button(target: '#project_clone', title: _("Copy URL to clipboard"), class: "input-group-text btn-default btn-clipboard") = clipboard_button(target: '#project_clone', title: _("Copy URL to clipboard"), class: "input-group-text btn-default btn-clipboard")
<<<<<<< HEAD
= geo_button(modal_target: '#modal-geo-info') if Gitlab::Geo.secondary? = geo_button(modal_target: '#modal-geo-info') if Gitlab::Geo.secondary?
= render 'shared/geo_info_modal', project: project if Gitlab::Geo.secondary? = render 'shared/geo_info_modal', project: project if Gitlab::Geo.secondary?
=======
>>>>>>> gitlab-ce/master
.form-group.row.commit_message-group .form-group.row.commit_message-group
- nonce = SecureRandom.hex - nonce = SecureRandom.hex
- descriptions = local_assigns.slice(:message_with_description, :message_without_description) - descriptions = local_assigns.slice(:message_with_description, :message_without_description)
<<<<<<< HEAD
= label_tag "commit_message-#{nonce}", class: 'col-form-label' do = label_tag "commit_message-#{nonce}", class: 'col-form-label' do
=======
= label_tag "commit_message-#{nonce}", class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
#{ _('Commit message') } #{ _('Commit message') }
.col-sm-10 .col-sm-10
.commit-message-container .commit-message-container
......
- if @issues.to_a.any? - if @issues.to_a.any?
<<<<<<< HEAD
.card.panel-small.card-without-border .card.panel-small.card-without-border
=======
.card.card-small.card-without-border
>>>>>>> gitlab-ce/master
%ul.content-list.issues-list.issuable-list %ul.content-list.issues-list.issuable-list
= render partial: 'projects/issues/issue', collection: @issues = render partial: 'projects/issues/issue', collection: @issues
= paginate @issues, theme: "gitlab" = paginate @issues, theme: "gitlab"
......
...@@ -9,7 +9,11 @@ ...@@ -9,7 +9,11 @@
%li.label-list-item{ id: label_css_id, data: { id: label.id } } %li.label-list-item{ id: label_css_id, data: { id: label.id } }
= render "shared/label_row", label: label = render "shared/label_row", label: label
<<<<<<< HEAD
.d-inline-block.d-sm-inline-block.d-md-none.dropdown .d-inline-block.d-sm-inline-block.d-md-none.dropdown
=======
.d-inline-block.d-sm-none.dropdown
>>>>>>> gitlab-ce/master
%button.btn.btn-default.label-options-toggle{ type: 'button', data: { toggle: "dropdown" } } %button.btn.btn-default.label-options-toggle{ type: 'button', data: { toggle: "dropdown" } }
Options Options
= icon('caret-down') = icon('caret-down')
......
...@@ -24,9 +24,12 @@ ...@@ -24,9 +24,12 @@
.description-text .description-text
= markdown_field(label, :description) = markdown_field(label, :description)
.d-none.d-sm-none.d-md-block .d-none.d-sm-none.d-md-block
<<<<<<< HEAD
- if show_label_epics_link - if show_label_epics_link
= link_to 'Epics', group_epics_path(@group, label_name:[label.name]) = link_to 'Epics', group_epics_path(@group, label_name:[label.name])
&middot; &middot;
=======
>>>>>>> gitlab-ce/master
- if show_label_issues_link - if show_label_issues_link
= link_to_label(label, subject: subject) { 'Issues' } = link_to_label(label, subject: subject) { 'Issues' }
- if show_label_merge_requests_link - if show_label_merge_requests_link
......
- if @merge_requests.to_a.any? - if @merge_requests.to_a.any?
<<<<<<< HEAD
.card.panel-small.card-without-border .card.panel-small.card-without-border
=======
.card.card-small.card-without-border
>>>>>>> gitlab-ce/master
%ul.content-list.mr-list.issuable-list %ul.content-list.mr-list.issuable-list
= render partial: 'projects/merge_requests/merge_request', collection: @merge_requests = render partial: 'projects/merge_requests/merge_request', collection: @merge_requests
......
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
- else - else
- if can?(current_user, :push_code, @project) - if can?(current_user, :push_code, @project)
.form-group.row.branch .form-group.row.branch
<<<<<<< HEAD
= label_tag 'branch_name', _('Target Branch'), class: 'col-form-label' = label_tag 'branch_name', _('Target Branch'), class: 'col-form-label'
=======
= label_tag 'branch_name', _('Target Branch'), class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= text_field_tag 'branch_name', branch_name, required: true, class: "form-control js-branch-name ref-name" = text_field_tag 'branch_name', branch_name, required: true, class: "form-control js-branch-name ref-name"
......
...@@ -9,13 +9,21 @@ ...@@ -9,13 +9,21 @@
.service-settings .service-settings
- if @service.show_active_box? - if @service.show_active_box?
.form-group.row .form-group.row
<<<<<<< HEAD
= form.label :active, "Active", class: "col-form-label" = form.label :active, "Active", class: "col-form-label"
=======
= form.label :active, "Active", class: "col-form-label col-sm-2"
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= form.check_box :active, disabled: disable_fields_service?(@service) = form.check_box :active, disabled: disable_fields_service?(@service)
- if @service.configurable_events.present? - if @service.configurable_events.present?
.form-group.row .form-group.row
<<<<<<< HEAD
= form.label :url, "Trigger", class: 'col-form-label' = form.label :url, "Trigger", class: 'col-form-label'
=======
= form.label :url, "Trigger", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
- @service.configurable_events.each do |event| - @service.configurable_events.each do |event|
......
...@@ -15,7 +15,11 @@ ...@@ -15,7 +15,11 @@
#board-app.boards-app{ "v-cloak" => true, data: board_data, ":class" => "{ 'is-compact': detailIssueVisible }" } #board-app.boards-app{ "v-cloak" => true, data: board_data, ":class" => "{ 'is-compact': detailIssueVisible }" }
.d-none.d-sm-none.d-md-block .d-none.d-sm-none.d-md-block
<<<<<<< HEAD
= render 'shared/issuable/search_bar', type: :boards, board: board = render 'shared/issuable/search_bar', type: :boards, board: board
=======
= render 'shared/issuable/search_bar', type: :boards
>>>>>>> gitlab-ce/master
.boards-list .boards-list
.boards-app-loading.text-center{ "v-if" => "loading" } .boards-app-loading.text-center{ "v-if" => "loading" }
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
%span.has-tooltip{ "v-if": "list.type === \"label\"", %span.has-tooltip{ "v-if": "list.type === \"label\"",
":title" => '(list.label ? list.label.description : "")', ":title" => '(list.label ? list.label.description : "")',
data: { container: "body", placement: "bottom" }, data: { container: "body", placement: "bottom" },
class: "label color-label title board-title-text", class: "badge color-label title board-title-text",
":style" => "{ backgroundColor: (list.label && list.label.color ? list.label.color : null), color: (list.label && list.label.textColor ? list.label.textColor : \"#2e2e2e\") }" } ":style" => "{ backgroundColor: (list.label && list.label.color ? list.label.color : null), color: (list.label && list.label.textColor ? list.label.textColor : \"#2e2e2e\") }" }
{{ list.title }} {{ list.title }}
...@@ -22,9 +22,15 @@ ...@@ -22,9 +22,15 @@
%board-delete{ "inline-template" => true, %board-delete{ "inline-template" => true,
":list" => "list", ":list" => "list",
"v-if" => "!list.preset && list.id" } "v-if" => "!list.preset && list.id" }
<<<<<<< HEAD
%button.board-delete.has-tooltip.append-right-10{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" } %button.board-delete.has-tooltip.append-right-10{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" }
= icon("trash") = icon("trash")
.issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank" && list.type !== "promotion"' } .issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank" && list.type !== "promotion"' }
=======
%button.board-delete.has-tooltip.float-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" }
= icon("trash")
.issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' }
>>>>>>> gitlab-ce/master
%span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' } %span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
{{ list.issuesSize }} {{ list.issuesSize }}
- if can?(current_user, :admin_list, current_board_parent) - if can?(current_user, :admin_list, current_board_parent)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
None None
%a{ href: "#", %a{ href: "#",
"v-for" => "label in issue.labels" } "v-for" => "label in issue.labels" }
%span.label.color-label.has-tooltip{ ":style" => "{ backgroundColor: label.color, color: label.textColor }" } %span.badge.color-label.has-tooltip{ ":style" => "{ backgroundColor: label.color, color: label.textColor }" }
{{ label.title }} {{ label.title }}
- if can_admin_issue? - if can_admin_issue?
.selectbox .selectbox
......
...@@ -5,26 +5,42 @@ ...@@ -5,26 +5,42 @@
= form_errors(deploy_key) = form_errors(deploy_key)
.form-group .form-group
<<<<<<< HEAD
= form.label :title, class: 'col-form-label' = form.label :title, class: 'col-form-label'
=======
= form.label :title, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10= form.text_field :title, class: 'form-control' .col-sm-10= form.text_field :title, class: 'form-control'
.form-group .form-group
- if deploy_key.new_record? - if deploy_key.new_record?
<<<<<<< HEAD
= form.label :key, class: 'col-form-label' = form.label :key, class: 'col-form-label'
=======
= form.label :key, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
%p.light %p.light
Paste a machine public key here. Read more about how to generate it Paste a machine public key here. Read more about how to generate it
= link_to 'here', help_page_path('ssh/README') = link_to 'here', help_page_path('ssh/README')
= form.text_area :key, class: 'form-control thin_area', rows: 5 = form.text_area :key, class: 'form-control thin_area', rows: 5
- else - else
<<<<<<< HEAD
= form.label :fingerprint, class: 'col-form-label' = form.label :fingerprint, class: 'col-form-label'
=======
= form.label :fingerprint, class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= form.text_field :fingerprint, class: 'form-control', readonly: 'readonly' = form.text_field :fingerprint, class: 'form-control', readonly: 'readonly'
- if deploy_keys_project.present? - if deploy_keys_project.present?
= form.fields_for :deploy_keys_projects, deploy_keys_project do |deploy_keys_project_form| = form.fields_for :deploy_keys_projects, deploy_keys_project do |deploy_keys_project_form|
.form-group .form-group
<<<<<<< HEAD
.col-form-label .col-form-label
=======
.col-form-label.col-sm-2
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
= deploy_keys_project_form.label :can_push do = deploy_keys_project_form.label :can_push do
= deploy_keys_project_form.check_box :can_push = deploy_keys_project_form.check_box :can_push
......
- label_status = hook_log.success? ? 'label-success' : 'label-danger' - label_status = hook_log.success? ? 'badge-success' : 'badge-danger'
%span{ class: "label #{label_status}" } %span{ class: "label #{label_status}" }
= hook_log.response_status = hook_log.response_status
...@@ -34,7 +34,11 @@ ...@@ -34,7 +34,11 @@
= link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right' = link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right'
.value.hide-collapsed .value.hide-collapsed
- if issuable.milestone - if issuable.milestone
<<<<<<< HEAD
= link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_due_date(issuable.milestone), data: { container: "body", html: 'true', boundary: 'viewport' } = link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_due_date(issuable.milestone), data: { container: "body", html: 'true', boundary: 'viewport' }
=======
= link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_due_date(issuable.milestone), data: { container: "body", html: 'true' }
>>>>>>> gitlab-ce/master
- else - else
%span.no-value %span.no-value
= _('None') = _('None')
......
...@@ -3,9 +3,19 @@ ...@@ -3,9 +3,19 @@
- return unless issuable.is_a?(MergeRequest) - return unless issuable.is_a?(MergeRequest)
- return if issuable.closed_without_fork? - return if issuable.closed_without_fork?
<<<<<<< HEAD
- if issuable.can_remove_source_branch?(current_user) - if issuable.can_remove_source_branch?(current_user)
.form-group.row .form-group.row
.col-sm-10.offset-sm-2 .col-sm-10.offset-sm-2
=======
-# This check is duplicated below to avoid CE -> EE merge conflicts.
-# This comment and the following line should only exist in CE.
- return unless issuable.can_remove_source_branch?(current_user)
.form-group.row
.col-sm-10.offset-sm-2
- if issuable.can_remove_source_branch?(current_user)
>>>>>>> gitlab-ce/master
.form-check .form-check
= label_tag 'merge_request[force_remove_source_branch]' do = label_tag 'merge_request[force_remove_source_branch]' do
= hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil = hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
merge request from being merged before it's ready. merge request from being merged before it's ready.
- if no_issuable_templates && can?(current_user, :push_code, issuable.project) - if no_issuable_templates && can?(current_user, :push_code, issuable.project)
<<<<<<< HEAD
- if @project.feature_available?(:issuable_default_templates) - if @project.feature_available?(:issuable_default_templates)
%p.form-text.text-muted %p.form-text.text-muted
Add Add
...@@ -37,3 +38,9 @@ ...@@ -37,3 +38,9 @@
to help your contributors communicate effectively! to help your contributors communicate effectively!
- elsif show_promotions? - elsif show_promotions?
= render 'shared/promotions/promote_issue_templates' = render 'shared/promotions/promote_issue_templates'
=======
%p.form-text.text-muted
Add
= link_to 'description templates', help_page_path('user/project/description_templates'), tabindex: -1
to help your contributors communicate effectively!
>>>>>>> gitlab-ce/master
...@@ -121,7 +121,10 @@ ...@@ -121,7 +121,10 @@
Delete Delete
- unless force_mobile_view - unless force_mobile_view
= icon('trash', class: 'd-none d-sm-block') = icon('trash', class: 'd-none d-sm-block')
<<<<<<< HEAD
= render 'shared/members/ee/override_member_buttons', group: @group, member: member, user: user, action: :edit, can_override: member.can_override? = render 'shared/members/ee/override_member_buttons', group: @group, member: member, user: user, action: :edit, can_override: member.can_override?
=======
>>>>>>> gitlab-ce/master
- else - else
%span.member-access-text= member.human_access %span.member-access-text= member.human_access
......
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
- return if requesters.empty? - return if requesters.empty?
<<<<<<< HEAD
.card.prepend-top-default{ class: ('panel-mobile' if force_mobile_view ) } .card.prepend-top-default{ class: ('panel-mobile' if force_mobile_view ) }
=======
.card.prepend-top-default{ class: ('card-mobile' if force_mobile_view ) }
>>>>>>> gitlab-ce/master
.card-header .card-header
Users requesting access to Users requesting access to
%strong= membership_source.name %strong= membership_source.name
......
- show_counter = local_assigns.fetch(:show_counter, false) - show_counter = local_assigns.fetch(:show_counter, false)
- primary = local_assigns.fetch(:primary, false) - primary = local_assigns.fetch(:primary, false)
<<<<<<< HEAD
- panel_class = primary ? 'bg-primary' : '' - panel_class = primary ? 'bg-primary' : ''
=======
- panel_class = primary ? 'bg-primary text-white' : ''
>>>>>>> gitlab-ce/master
.card{ class: panel_class } .card{ class: panel_class }
.card-header .card-header
......
...@@ -78,7 +78,11 @@ ...@@ -78,7 +78,11 @@
%span= milestone.issues_visible_to_user(current_user).count %span= milestone.issues_visible_to_user(current_user).count
.title.hide-collapsed .title.hide-collapsed
Issues Issues
<<<<<<< HEAD
%span.badge.badge-pill= milestone.issues_visible_to_user(current_user).count %span.badge.badge-pill= milestone.issues_visible_to_user(current_user).count
=======
%span.badg.badge-pille= milestone.issues_visible_to_user(current_user).count
>>>>>>> gitlab-ce/master
- if show_new_issue_link?(project) - if show_new_issue_link?(project)
= link_to new_project_issue_path(project, issue: { milestone_id: milestone.id }), class: "float-right", title: "New Issue" do = link_to new_project_issue_path(project, issue: { milestone_id: milestone.id }), class: "float-right", title: "New Issue" do
New issue New issue
......
...@@ -19,5 +19,5 @@ ...@@ -19,5 +19,5 @@
.monospace .monospace
= File.basename(file) = File.basename(file)
- else - else
%p.light-well.text-center %p.card.bg-light.text-center
No plugins found. No plugins found.
= form_for runner, url: runner_form_url do |f| = form_for runner, url: runner_form_url do |f|
= form_errors(runner) = form_errors(runner)
.form-group.row .form-group.row
<<<<<<< HEAD
= label :active, "Active", class: 'col-form-label' = label :active, "Active", class: 'col-form-label'
=======
= label :active, "Active", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
.form-check .form-check
= f.check_box :active = f.check_box :active
%span.light Paused Runners don't accept new jobs %span.light Paused Runners don't accept new jobs
.form-group.row .form-group.row
<<<<<<< HEAD
= label :protected, "Protected", class: 'col-form-label' = label :protected, "Protected", class: 'col-form-label'
=======
= label :protected, "Protected", class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
.form-check .form-check
= f.check_box :access_level, {}, 'ref_protected', 'not_protected' = f.check_box :access_level, {}, 'ref_protected', 'not_protected'
%span.light This runner will only run on pipelines triggered on protected branches %span.light This runner will only run on pipelines triggered on protected branches
.form-group.row .form-group.row
<<<<<<< HEAD
= label :run_untagged, 'Run untagged jobs', class: 'col-form-label' = label :run_untagged, 'Run untagged jobs', class: 'col-form-label'
=======
= label :run_untagged, 'Run untagged jobs', class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
.form-check .form-check
= f.check_box :run_untagged = f.check_box :run_untagged
%span.light Indicates whether this runner can pick jobs without tags %span.light Indicates whether this runner can pick jobs without tags
- unless runner.group_type? - unless runner.group_type?
.form-group.row .form-group.row
<<<<<<< HEAD
= label :locked, _('Lock to current projects'), class: 'col-form-label' = label :locked, _('Lock to current projects'), class: 'col-form-label'
=======
= label :locked, _('Lock to current projects'), class: 'col-form-label col-sm-2'
>>>>>>> gitlab-ce/master
.col-sm-10 .col-sm-10
.checkbox .form-check
= f.check_box :locked = f.check_box :locked
%span.light= _('When a runner is locked, it cannot be assigned to other projects') %span.light= _('When a runner is locked, it cannot be assigned to other projects')
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :token, class: 'col-form-label' do = label_tag :token, class: 'col-form-label' do
=======
= label_tag :token, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Token Token
.col-sm-10 .col-sm-10
= f.text_field :token, class: 'form-control', readonly: true = f.text_field :token, class: 'form-control', readonly: true
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :ip_address, class: 'col-form-label' do = label_tag :ip_address, class: 'col-form-label' do
=======
= label_tag :ip_address, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
IP Address IP Address
.col-sm-10 .col-sm-10
= f.text_field :ip_address, class: 'form-control', readonly: true = f.text_field :ip_address, class: 'form-control', readonly: true
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :description, class: 'col-form-label' do = label_tag :description, class: 'col-form-label' do
=======
= label_tag :description, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Description Description
.col-sm-10 .col-sm-10
= f.text_field :description, class: 'form-control' = f.text_field :description, class: 'form-control'
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :maximum_timeout_human_readable, class: 'col-form-label' do = label_tag :maximum_timeout_human_readable, class: 'col-form-label' do
=======
= label_tag :maximum_timeout_human_readable, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Maximum job timeout Maximum job timeout
.col-sm-10 .col-sm-10
= f.text_field :maximum_timeout_human_readable, class: 'form-control' = f.text_field :maximum_timeout_human_readable, class: 'form-control'
.form-text.text-muted This timeout will take precedence when lower than Project-defined timeout .form-text.text-muted This timeout will take precedence when lower than Project-defined timeout
.form-group.row .form-group.row
<<<<<<< HEAD
= label_tag :tag_list, class: 'col-form-label' do = label_tag :tag_list, class: 'col-form-label' do
=======
= label_tag :tag_list, class: 'col-form-label col-sm-2' do
>>>>>>> gitlab-ce/master
Tags Tags
.col-sm-10 .col-sm-10
= f.text_field :tag_list, value: runner.tag_list.sort.join(', '), class: 'form-control' = f.text_field :tag_list, value: runner.tag_list.sort.join(', '), class: 'form-control'
......
---
title: Fix encoding of branch names on compare and new merge request page
merge_request: 19143
author:
type: fixed
...@@ -247,7 +247,7 @@ describe 'Issue Boards', :js do ...@@ -247,7 +247,7 @@ describe 'Issue Boards', :js do
wait_for_requests wait_for_requests
page.within('.value') do page.within('.value') do
expect(page).to have_selector('.label', count: 2) expect(page).to have_selector('.badge', count: 2)
expect(page).to have_content(development.title) expect(page).to have_content(development.title)
expect(page).to have_content(stretch.title) expect(page).to have_content(stretch.title)
end end
...@@ -269,12 +269,12 @@ describe 'Issue Boards', :js do ...@@ -269,12 +269,12 @@ describe 'Issue Boards', :js do
find('.dropdown-menu-close-icon').click find('.dropdown-menu-close-icon').click
page.within('.value') do page.within('.value') do
expect(page).to have_selector('.label', count: 3) expect(page).to have_selector('.badge', count: 3)
expect(page).to have_content(bug.title) expect(page).to have_content(bug.title)
end end
end end
expect(card).to have_selector('.label', count: 3) expect(card).to have_selector('.badge', count: 3)
expect(card).to have_content(bug.title) expect(card).to have_content(bug.title)
end end
...@@ -294,13 +294,13 @@ describe 'Issue Boards', :js do ...@@ -294,13 +294,13 @@ describe 'Issue Boards', :js do
find('.dropdown-menu-close-icon').click find('.dropdown-menu-close-icon').click
page.within('.value') do page.within('.value') do
expect(page).to have_selector('.label', count: 4) expect(page).to have_selector('.badge', count: 4)
expect(page).to have_content(bug.title) expect(page).to have_content(bug.title)
expect(page).to have_content(regression.title) expect(page).to have_content(regression.title)
end end
end end
expect(card).to have_selector('.label', count: 4) expect(card).to have_selector('.badge', count: 4)
expect(card).to have_content(bug.title) expect(card).to have_content(bug.title)
expect(card).to have_content(regression.title) expect(card).to have_content(regression.title)
end end
...@@ -322,12 +322,12 @@ describe 'Issue Boards', :js do ...@@ -322,12 +322,12 @@ describe 'Issue Boards', :js do
find('.dropdown-menu-close-icon').click find('.dropdown-menu-close-icon').click
page.within('.value') do page.within('.value') do
expect(page).to have_selector('.label', count: 1) expect(page).to have_selector('.badge', count: 1)
expect(page).not_to have_content(stretch.title) expect(page).not_to have_content(stretch.title)
end end
end end
expect(card).to have_selector('.label', count: 1) expect(card).to have_selector('.badge', count: 1)
expect(card).not_to have_content(stretch.title) expect(card).not_to have_content(stretch.title)
end end
......
...@@ -265,7 +265,7 @@ describe 'Filter issues', :js do ...@@ -265,7 +265,7 @@ describe 'Filter issues', :js do
context 'issue label clicked' do context 'issue label clicked' do
it 'filters and displays in search bar' do it 'filters and displays in search bar' do
find('.issues-list .issue .issue-main-info .issuable-info a .label', text: multiple_words_label.title).click find('.issues-list .issue .issue-main-info .issuable-info a .badge', text: multiple_words_label.title).click
expect_issues_list_count(1) expect_issues_list_count(1)
expect_tokens([label_token("\"#{multiple_words_label.title}\"")]) expect_tokens([label_token("\"#{multiple_words_label.title}\"")])
......
...@@ -139,8 +139,8 @@ describe 'User creates branch and merge request on issue page', :js do ...@@ -139,8 +139,8 @@ describe 'User creates branch and merge request on issue page', :js do
end end
it 'disables the create branch button' do it 'disables the create branch button' do
expect(page).to have_css('.create-mr-dropdown-wrap .unavailable:not(.hide)') expect(page).to have_css('.create-mr-dropdown-wrap .unavailable:not(.hidden)')
expect(page).to have_css('.create-mr-dropdown-wrap .available.hide', visible: false) expect(page).to have_css('.create-mr-dropdown-wrap .available.hidden', visible: false)
expect(page).to have_content /1 Related Merge Request/ expect(page).to have_content /1 Related Merge Request/
end end
end end
......
...@@ -34,7 +34,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do ...@@ -34,7 +34,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do
wait_for_requests wait_for_requests
expect(page).to have_selector('span.label', text: label.title) expect(page).to have_selector('span.badge', text: label.title)
end end
end end
...@@ -45,7 +45,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do ...@@ -45,7 +45,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do
wait_for_requests wait_for_requests
expect(page).not_to have_selector('span.label', text: child_group_label.title) expect(page).not_to have_selector('span.badge', text: child_group_label.title)
end end
end end
...@@ -159,9 +159,9 @@ feature 'Labels Hierarchy', :js, :nested_groups do ...@@ -159,9 +159,9 @@ feature 'Labels Hierarchy', :js, :nested_groups do
find('.btn-create').click find('.btn-create').click
expect(page.find('.issue-details h2.title')).to have_content('new created issue') expect(page.find('.issue-details h2.title')).to have_content('new created issue')
expect(page).to have_selector('span.label', text: grandparent_group_label.title) expect(page).to have_selector('span.badge', text: grandparent_group_label.title)
expect(page).to have_selector('span.label', text: parent_group_label.title) expect(page).to have_selector('span.badge', text: parent_group_label.title)
expect(page).to have_selector('span.label', text: project_label_1.title) expect(page).to have_selector('span.badge', text: project_label_1.title)
end end
end end
......
...@@ -4,6 +4,12 @@ describe 'Merge request > User selects branches for new MR', :js do ...@@ -4,6 +4,12 @@ describe 'Merge request > User selects branches for new MR', :js do
let(:project) { create(:project, :public, :repository) } let(:project) { create(:project, :public, :repository) }
let(:user) { project.creator } let(:user) { project.creator }
def select_source_branch(branch_name)
find('.js-source-branch', match: :first).click
find('.js-source-branch-dropdown .dropdown-input-field').native.send_keys branch_name
find('.js-source-branch-dropdown .dropdown-content a', text: branch_name, match: :first).click
end
before do before do
project.add_master(user) project.add_master(user)
sign_in(user) sign_in(user)
...@@ -43,8 +49,7 @@ describe 'Merge request > User selects branches for new MR', :js do ...@@ -43,8 +49,7 @@ describe 'Merge request > User selects branches for new MR', :js do
it 'generates a diff for an orphaned branch' do it 'generates a diff for an orphaned branch' do
visit project_new_merge_request_path(project) visit project_new_merge_request_path(project)
find('.js-source-branch', match: :first).click select_source_branch('orphaned-branch')
find('.js-source-branch-dropdown .dropdown-content a', text: 'orphaned-branch', match: :first).click
click_button "Compare branches" click_button "Compare branches"
click_link "Changes" click_link "Changes"
...@@ -198,4 +203,31 @@ describe 'Merge request > User selects branches for new MR', :js do ...@@ -198,4 +203,31 @@ describe 'Merge request > User selects branches for new MR', :js do
end end
end end
end end
context 'with special characters in branch names' do
it 'escapes quotes in branch names' do
special_branch_name = '"with-quotes"'
CreateBranchService.new(project, user)
.execute(special_branch_name, 'add-pdf-file')
visit project_new_merge_request_path(project)
select_source_branch(special_branch_name)
source_branch_input = find('[name="merge_request[source_branch]"]', visible: false)
expect(source_branch_input.value).to eq special_branch_name
end
it 'does not escape unicode in branch names' do
special_branch_name = 'ʕ•ᴥ•ʔ'
CreateBranchService.new(project, user)
.execute(special_branch_name, 'add-pdf-file')
visit project_new_merge_request_path(project)
select_source_branch(special_branch_name)
click_button "Compare branches"
expect(page).to have_button("Submit merge request")
end
end
end end
...@@ -9,7 +9,7 @@ function generateValueMarkup( ...@@ -9,7 +9,7 @@ function generateValueMarkup(
<div class="${placeholderClass}"> <div class="${placeholderClass}">
*** ***
</div> </div>
<div class="hide ${valueClass}"> <div class="hidden ${valueClass}">
${secret} ${secret}
</div> </div>
`; `;
......
...@@ -251,13 +251,13 @@ describe('Issue card component', () => { ...@@ -251,13 +251,13 @@ describe('Issue card component', () => {
it('renders list label', () => { it('renders list label', () => {
expect( expect(
component.$el.querySelectorAll('.label').length, component.$el.querySelectorAll('.badge').length,
).toBe(2); ).toBe(2);
}); });
it('renders label', () => { it('renders label', () => {
const nodes = []; const nodes = [];
component.$el.querySelectorAll('.label').forEach((label) => { component.$el.querySelectorAll('.badge').forEach((label) => {
nodes.push(label.title); nodes.push(label.title);
}); });
...@@ -268,13 +268,13 @@ describe('Issue card component', () => { ...@@ -268,13 +268,13 @@ describe('Issue card component', () => {
it('sets label description as title', () => { it('sets label description as title', () => {
expect( expect(
component.$el.querySelector('.label').getAttribute('title'), component.$el.querySelector('.badge').getAttribute('title'),
).toContain(label1.description); ).toContain(label1.description);
}); });
it('sets background color of button', () => { it('sets background color of button', () => {
const nodes = []; const nodes = [];
component.$el.querySelectorAll('.label').forEach((label) => { component.$el.querySelectorAll('.badge').forEach((label) => {
nodes.push(label.style.backgroundColor); nodes.push(label.style.backgroundColor);
}); });
...@@ -291,7 +291,7 @@ describe('Issue card component', () => { ...@@ -291,7 +291,7 @@ describe('Issue card component', () => {
Vue.nextTick() Vue.nextTick()
.then(() => { .then(() => {
expect( expect(
component.$el.querySelectorAll('.label').length, component.$el.querySelectorAll('.badge').length,
).toBe(2); ).toBe(2);
expect( expect(
component.$el.textContent, component.$el.textContent,
......
...@@ -59,7 +59,7 @@ describe Banzai::Filter::LabelReferenceFilter do ...@@ -59,7 +59,7 @@ describe Banzai::Filter::LabelReferenceFilter do
describe 'label span element' do describe 'label span element' do
it 'includes default classes' do it 'includes default classes' do
doc = reference_filter("Label #{reference}") doc = reference_filter("Label #{reference}")
expect(doc.css('a span').first.attr('class')).to eq 'label color-label has-tooltip' expect(doc.css('a span').first.attr('class')).to eq 'badge color-label has-tooltip'
end end
it 'includes a style attribute' do it 'includes a style attribute' do
......
...@@ -1285,8 +1285,13 @@ boom@5.x.x: ...@@ -1285,8 +1285,13 @@ boom@5.x.x:
hoek "4.x.x" hoek "4.x.x"
bootstrap@4.1: bootstrap@4.1:
<<<<<<< HEAD
version "4.1.1" version "4.1.1"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.1.1.tgz#3aec85000fa619085da8d2e4983dfd67cf2114cb" resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.1.1.tgz#3aec85000fa619085da8d2e4983dfd67cf2114cb"
=======
version "4.1.0"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.1.0.tgz#110b05c31a236d56dbc9adcda6dd16f53738a28a"
>>>>>>> gitlab-ce/master
boxen@^1.2.1: boxen@^1.2.1:
version "1.3.0" version "1.3.0"
......
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