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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
eb55ac7d
Commit
eb55ac7d
authored
Sep 21, 2016
by
Luke Bennett
Committed by
Annabel Dunstone Gray
Oct 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added final changes from handover
parent
65e482e7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
26 deletions
+36
-26
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+5
-0
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+22
-16
app/views/projects/commit/_pipeline_stage.html.haml
app/views/projects/commit/_pipeline_stage.html.haml
+1
-1
app/views/projects/commit/_pipeline_status_group.html.haml
app/views/projects/commit/_pipeline_status_group.html.haml
+8
-9
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
eb55ac7d
...
...
@@ -17,8 +17,10 @@ $white-normal: #ededed;
$white-dark
:
#ececec
;
$gray-light
:
#fafafa
;
$gray-lighter
:
#f9f9f9
;
$gray-normal
:
#f5f5f5
;
$gray-dark
:
#ededed
;
$gray-darker
:
#eee
;
$gray-darkest
:
#c9c9c9
;
$green-light
:
#38ae67
;
...
...
@@ -33,6 +35,8 @@ $blue-medium-light: #3498cb;
$blue-medium
:
#2f8ebf
;
$blue-medium-dark
:
#2d86b4
;
$blue-light-transparent
:
rgba
(
44
,
159
,
216
,
0
.05
);
$orange-light
:
#fc8a51
;
$orange-normal
:
#e75e40
;
$orange-dark
:
#ce5237
;
...
...
@@ -91,6 +95,7 @@ $table-text-gray: #8f8f8f;
$gl-font-size
:
15px
;
$gl-title-color
:
#333
;
$gl-text-color
:
#5c5c5c
;
$gl-text-color-light
:
#8c8c8c
;
$gl-text-green
:
#4a2
;
$gl-text-red
:
#d12f19
;
$gl-text-orange
:
#d90
;
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
eb55ac7d
...
...
@@ -342,11 +342,18 @@
.build
{
border
:
1px
solid
$border-color
;
position
:
relative
;
padding
:
8px
10
px
;
padding
:
7px
10px
8
px
;
border-radius
:
30px
;
width
:
186px
;
margin-bottom
:
10px
;
&
:hover
{
background-color
:
$gray-lighter
;
.dropdown-menu-toggle
{
background-color
:
transparent
;
}
}
&
.playable
{
background-color
:
$gray-light
;
...
...
@@ -366,7 +373,6 @@
width
:
164px
;
.ci-status-icon
{
svg
{
height
:
20px
;
width
:
20px
;
...
...
@@ -385,41 +391,40 @@
}
a
{
color
:
$
layout-link-gray
;
color
:
$
gl-text-color-light
;
text-decoration
:
none
;
&
:hover
{
.ci-status-text
{
text-decoration
:
underline
;
}
}
}
.dropdown-menu-toggle
{
border
:
none
;
width
:
auto
;
padding
:
0
;
color
:
$
layout-link-gray
;
color
:
$
gl-text-color-light
;
.ci-status-text
{
width
:
112px
;
max-width
:
112px
;
width
:
auto
;
}
}
.grouped-pipeline-dropdown
{
padding
:
8px
0
;
width
:
1
68
px
;
width
:
1
86
px
;
left
:
auto
;
right
:
-1
80
px
;
right
:
-1
97
px
;
top
:
-9px
;
max-height
:
245px
;
overflow-y
:
scroll
;
a
{
padding
:
7px
8px
;
color
:
$gl-text-color
;
padding
:
7px
8px
8px
;
margin
:
0
8px
;
&
:hover
{
background-color
:
$blue-light-transparent
;
border-radius
:
3px
;
.ci-status-text
{
text-decoration
:
none
;
}
...
...
@@ -465,9 +470,10 @@
}
.badge
{
background-color
:
$gray-dark
;
color
:
$
layout-link-gray
;
background-color
:
$gray-dark
er
;
color
:
$
gl-text-color-light
;
font-weight
:
normal
;
margin-left
:
$btn-xs-side-margin
;
}
}
...
...
app/views/projects/commit/_pipeline_stage.html.haml
View file @
eb55ac7d
...
...
@@ -10,5 +10,5 @@
-
else
%li
.build
.curve
.
build-content
.
dropdown.inline.build-content
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
=
render
"projects/commit/pipeline_status_group"
,
name:
group_name
,
subject:
grouped_statuses
app/views/projects/commit/_pipeline_status_group.html.haml
View file @
eb55ac7d
-
group_status
=
CommitStatus
.
where
(
id:
subject
).
status
%span
.ci-status-icon
=
render_status_with_link
(
'build'
,
group_status
)
.dropdown.inline
%button
.dropdown-menu-toggle
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%button
.dropdown-menu-toggle
%span
.ci-status-text
=
name
%span
.badge
=
subject
.
size
%ul
.dropdown-menu.grouped-pipeline-dropdown
%ul
.dropdown-menu.grouped-pipeline-dropdown
.arrow
-
subject
.
each
do
|
status
|
=
render
"projects/
#{
status
.
to_partial_path
}
_pipeline"
,
subject:
status
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