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
Jérome Perrin
gitlab-ce
Commits
5abc1682
Commit
5abc1682
authored
Jan 05, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change pipeline charts colors to match legend
parent
bce886b7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
app/assets/javascripts/pipelines/pipelines_charts.js
app/assets/javascripts/pipelines/pipelines_charts.js
+6
-6
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+8
-0
app/views/projects/pipelines/charts/_pipelines.haml
app/views/projects/pipelines/charts/_pipelines.haml
+2
-2
No files found.
app/assets/javascripts/pipelines/pipelines_charts.js
View file @
5abc1682
...
@@ -6,16 +6,16 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -6,16 +6,16 @@ document.addEventListener('DOMContentLoaded', () => {
const
data
=
{
const
data
=
{
labels
:
chartScope
.
labels
,
labels
:
chartScope
.
labels
,
datasets
:
[{
datasets
:
[{
fillColor
:
'
#7
f8fa4
'
,
fillColor
:
'
#7
07070
'
,
strokeColor
:
'
#7
f8fa4
'
,
strokeColor
:
'
#7
07070
'
,
pointColor
:
'
#7
f8fa4
'
,
pointColor
:
'
#7
07070
'
,
pointStrokeColor
:
'
#EEE
'
,
pointStrokeColor
:
'
#EEE
'
,
data
:
chartScope
.
totalValues
,
data
:
chartScope
.
totalValues
,
},
},
{
{
fillColor
:
'
#
44aa22
'
,
fillColor
:
'
#
1aaa55
'
,
strokeColor
:
'
#
44aa22
'
,
strokeColor
:
'
#
1aaa55
'
,
pointColor
:
'
#
44aa22
'
,
pointColor
:
'
#
1aaa55
'
,
pointStrokeColor
:
'
#fff
'
,
pointStrokeColor
:
'
#fff
'
,
data
:
chartScope
.
successValues
,
data
:
chartScope
.
successValues
,
},
},
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
5abc1682
...
@@ -993,3 +993,11 @@ button.mini-pipeline-graph-dropdown-toggle {
...
@@ -993,3 +993,11 @@ button.mini-pipeline-graph-dropdown-toggle {
font-weight
:
$gl-font-weight-normal
;
font-weight
:
$gl-font-weight-normal
;
line-height
:
1
.5
;
line-height
:
1
.5
;
}
}
.legend-all
{
color
:
$gl-text-color-secondary
;
}
.legend-success
{
color
:
$green-500
;
}
app/views/projects/pipelines/charts/_pipelines.haml
View file @
5abc1682
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
%h4
=
_
(
"Pipelines charts"
)
%h4
=
_
(
"Pipelines charts"
)
%p
%p
%span
.
cgreen
%span
.
legend-success
=
icon
(
"circle"
)
=
icon
(
"circle"
)
=
s_
(
"Pipeline|success"
)
=
s_
(
"Pipeline|success"
)
%span
.
cgray
%span
.
legend-all
=
icon
(
"circle"
)
=
icon
(
"circle"
)
=
s_
(
"Pipeline|all"
)
=
s_
(
"Pipeline|all"
)
...
...
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