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
0d8a87ea
Commit
0d8a87ea
authored
Apr 26, 2019
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve stylelint violations in milestones.scss
parent
a3949585
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
16 deletions
+4
-16
ee/app/assets/javascripts/burndown_chart/index.js
ee/app/assets/javascripts/burndown_chart/index.js
+2
-2
ee/app/assets/stylesheets/pages/milestone.scss
ee/app/assets/stylesheets/pages/milestone.scss
+0
-12
ee/app/views/shared/milestones/_burndown.html.haml
ee/app/views/shared/milestones/_burndown.html.haml
+2
-2
No files found.
ee/app/assets/javascripts/burndown_chart/index.js
View file @
0d8a87ea
...
...
@@ -32,9 +32,9 @@ export default () => {
if
(
currentView
!==
show
)
{
currentView
=
show
;
$this
.
addClass
(
'
active
'
)
.
removeClass
(
'
btn-inverted
'
)
.
siblings
()
.
removeClass
(
'
active
'
);
.
addClass
(
'
btn-inverted
'
);
switch
(
show
)
{
case
'
count
'
:
chart
.
setData
(
openIssuesCount
,
{
label
:
'
Open issues
'
,
animate
:
true
});
...
...
ee/app/assets/stylesheets/pages/milestone.scss
View file @
0d8a87ea
...
...
@@ -59,18 +59,6 @@
margin-left
:
20px
;
margin-bottom
:
2px
;
}
.btn
{
@include
btn-outline
(
$white-light
,
$blue-500
,
$blue-500
,
$blue-500
,
$white-light
,
$blue-600
,
$blue-600
,
$blue-700
);
font-size
:
12px
;
&
.active
{
background-color
:
$blue-500
;
border-color
:
$blue-600
;
color
:
$white-light
;
}
}
}
.burndown-chart
{
...
...
ee/app/views/shared/milestones/_burndown.html.haml
View file @
0d8a87ea
...
...
@@ -9,9 +9,9 @@
%h3
Burndown chart
.btn-group.js-burndown-data-selector
%button
.btn.btn-sm.
active
{
data:
{
show:
'count'
}
}
%button
.btn.btn-sm.
btn-primary
{
data:
{
show:
'count'
}
}
Issues
%button
.btn.btn-sm
{
data:
{
show:
'weight'
}
}
%button
.btn.btn-sm
.btn-primary.btn-inverted
{
data:
{
show:
'weight'
}
}
Issue weight
.burndown-chart
{
data:
{
start_date:
burndown
.
start_date
.
strftime
(
"%Y-%m-%d"
),
due_date:
burndown
.
due_date
.
strftime
(
"%Y-%m-%d"
),
chart_data:
burndown
.
to_json
}
}
...
...
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