Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
b9e9b11b
Commit
b9e9b11b
authored
Mar 03, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve CSS for treeview with pipelines to make it responsible
parent
578b2b2f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
40 deletions
+33
-40
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+33
-32
app/views/projects/merge_requests/widget/_merged.html.haml
app/views/projects/merge_requests/widget/_merged.html.haml
+0
-8
No files found.
app/assets/stylesheets/pages/merge_requests.scss
View file @
b9e9b11b
...
@@ -178,10 +178,6 @@
...
@@ -178,10 +178,6 @@
}
}
}
}
p
:last-child
{
margin-bottom
:
0
;
}
.btn-grouped
{
.btn-grouped
{
margin-left
:
0
;
margin-left
:
0
;
margin-right
:
7px
;
margin-right
:
7px
;
...
@@ -346,41 +342,45 @@
...
@@ -346,41 +342,45 @@
.remove-message-pipes
{
.remove-message-pipes
{
ul
{
ul
{
margin-left
:
6px
;
margin
:
10px
0
0
12px
;
margin-bottom
:
20px
;
padding
:
0
;
padding-left
:
0
;
list-style
:
none
;
list-style
:
none
;
border-left
:
3px
solid
$border-color
;
border-left
:
2px
solid
$border-color
;
}
display
:
inline-block
;
ul
li
:last-child
{
margin-bottom
:
0
;
}
}
li
{
li
{
height
:
30px
;
position
:
relative
;
position
:
relative
;
margin
:
-3px
;
margin
:
0
;
padding-bottom
:
3px
;
padding
:
0
;
display
:
block
;
span
{
margin-left
:
15px
;
max-height
:
20px
;
}
}
}
li
span
{
li
:before
{
width
:
20px
;
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
height
:
3px
;
border-top
:
2px
solid
#e5e5e5
;
background
:
$border-color
;
height
:
1px
;
margin-right
:
5px
;
top
:
8px
;
top
:
16px
;
width
:
8px
;
position
:
relative
;
}
}
li
p
{
li
:last-child
{
display
:
inline-block
;
&
:before
{
margin
:
0
;
top
:
18px
;
margin-bottom
:
-3px
;
}
padding
:
0
;
span
{
display
:
block
;
position
:
relative
;
position
:
relative
;
top
:
20px
;
top
:
5px
;
margin-top
:
5px
;
}
}
}
}
}
...
@@ -390,8 +390,7 @@
...
@@ -390,8 +390,7 @@
border-style
:
solid
;
border-style
:
solid
;
border-width
:
1px
;
border-width
:
1px
;
border-color
:
$border-color
;
border-color
:
$border-color
;
border-top-right-radius
:
10px
;
border-radius
:
3px
;
border-top-left-radius
:
10px
;
padding
:
10px
;
padding
:
10px
;
margin-bottom
:
-1px
;
margin-bottom
:
-1px
;
}
}
...
@@ -489,6 +488,8 @@
...
@@ -489,6 +488,8 @@
}
}
.merged-buttons
{
.merged-buttons
{
margin-top
:
20px
;
.btn
{
.btn
{
float
:
left
;
float
:
left
;
...
...
app/views/projects/merge_requests/widget/_merged.html.haml
View file @
b9e9b11b
...
@@ -11,12 +11,10 @@
...
@@ -11,12 +11,10 @@
%ul
%ul
%li
%li
%span
%span
%p
The changes were merged into
The changes were merged into
#{
link_to
@merge_request
.
target_branch
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@merge_request
.
target_branch
),
class:
"label-branch"
}
.
#{
link_to
@merge_request
.
target_branch
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@merge_request
.
target_branch
),
class:
"label-branch"
}
.
%li
%li
%span
%span
%p
The source branch has been removed.
The source branch has been removed.
=
render
'projects/merge_requests/widget/merged_buttons'
=
render
'projects/merge_requests/widget/merged_buttons'
-
elsif
@merge_request
.
can_remove_source_branch?
(
current_user
)
-
elsif
@merge_request
.
can_remove_source_branch?
(
current_user
)
...
@@ -24,37 +22,31 @@
...
@@ -24,37 +22,31 @@
%ul
%ul
%li
%li
%span
%span
%p
The changes were merged into
The changes were merged into
#{
link_to
@merge_request
.
target_branch
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@merge_request
.
target_branch
),
class:
"label-branch"
}
.
#{
link_to
@merge_request
.
target_branch
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@merge_request
.
target_branch
),
class:
"label-branch"
}
.
%li
%li
%span
%span
%p
You can remove the source branch now.
You can remove the source branch now.
=
render
'projects/merge_requests/widget/merged_buttons'
,
source_branch_exists:
true
=
render
'projects/merge_requests/widget/merged_buttons'
,
source_branch_exists:
true
.remove_source_branch_widget.failed.remove-message-pipes.hide
.remove_source_branch_widget.failed.remove-message-pipes.hide
%ul
%ul
%li
%li
%span
%span
%p
Failed to remove source branch '
#{
@merge_request
.
source_branch
}
'.
Failed to remove source branch '
#{
@merge_request
.
source_branch
}
'.
.remove_source_branch_in_progress.remove-message-pipes.hide
.remove_source_branch_in_progress.remove-message-pipes.hide
%ul
%ul
%li
%li
%span
%span
%p
=
icon
(
'spinner spin'
)
=
icon
(
'spinner spin'
)
Removing source branch '
#{
@merge_request
.
source_branch
}
'.
Removing source branch '
#{
@merge_request
.
source_branch
}
'.
%li
%li
%span
%span
%p
Please wait, this page will be automatically reloaded.
Please wait, this page will be automatically reloaded.
-
else
-
else
.remove-message-pipes
.remove-message-pipes
%ul
%ul
%li
%li
%span
%span
%p
The changes were merged into
The changes were merged into
#{
link_to
@merge_request
.
target_branch
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@merge_request
.
target_branch
),
class:
"label-branch"
}
.
#{
link_to
@merge_request
.
target_branch
,
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@merge_request
.
target_branch
),
class:
"label-branch"
}
.
=
render
'projects/merge_requests/widget/merged_buttons'
=
render
'projects/merge_requests/widget/merged_buttons'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment