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
Boxiang Sun
gitlab-ce
Commits
40c17f2d
Commit
40c17f2d
authored
Sep 16, 2016
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix layout for cycle analytics.
parent
5fe993b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
39 deletions
+41
-39
app/assets/stylesheets/pages/cycle_analytics.scss
app/assets/stylesheets/pages/cycle_analytics.scss
+1
-1
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+40
-38
No files found.
app/assets/stylesheets/pages/cycle_analytics.scss
View file @
40c17f2d
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
.dropdown
{
.dropdown
{
position
:
relative
;
position
:
relative
;
top
:
1
0
px
;
top
:
1
3
px
;
}
}
}
}
...
...
app/views/projects/cycle_analytics/show.html.haml
View file @
40c17f2d
...
@@ -8,49 +8,51 @@
...
@@ -8,49 +8,51 @@
.content-block
.content-block
=
icon
(
"spinner spin"
,
"v-if"
=>
"isLoading"
)
=
icon
(
"spinner spin"
,
"v-if"
=>
"isLoading"
)
.row
.container-fluid
%template
{
"v-for"
=>
"info in analytics.summary"
}
.row
.col-md-3.column
%template
{
"v-for"
=>
"info in analytics.summary"
}
%span
.header
{{info.value}}
.col-xs-3.column
%br
%span
.header
{{info.value}}
%span
.text
{{info.desc}}
%br
%span
.text
{{info.desc}}
.col-md-3.column
.dropdown.inline.js-ca-dropdown
.col-xs-3.column
%button
.dropdown-menu-toggle
{
"aria-expanded"
=>
"false"
,
"data-toggle"
=>
"dropdown"
,
:type
=>
"button"
}
.dropdown.inline.js-ca-dropdown
%span
.dropdown-label
Last 30 days
%button
.dropdown-menu-toggle
{
"aria-expanded"
=>
"false"
,
"data-toggle"
=>
"dropdown"
,
:type
=>
"button"
}
%i
.fa.fa-chevron-down
%span
.dropdown-label
Last 30 days
%ul
.dropdown-menu.dropdown-menu-align-right
%i
.fa.fa-chevron-down
%li
%ul
.dropdown-menu.dropdown-menu-align-right
%a
{
'href'
=>
"#"
,
'data-value'
=>
'30days'
}
%li
Last 30 days
%a
{
'href'
=>
"#"
,
'data-value'
=>
'30days'
}
%li
Last 30 days
%a
{
'href'
=>
"#"
,
'data-value'
=>
'90days'
}
%li
Last 90 days
%a
{
'href'
=>
"#"
,
'data-value'
=>
'90days'
}
Last 90 days
.bordered-box
.bordered-box
=
icon
(
"spinner spin"
,
"v-if"
=>
"isLoading"
)
=
icon
(
"spinner spin"
,
"v-if"
=>
"isLoading"
)
%ul
.content-list
{{
"v-if"
=>
"!notAvailable"
}}
%ul
.content-list
{{
"v-if"
=>
"!notAvailable"
}}
%li
{
"v-for"
=>
"info in analytics.data"
}
%li
{
"v-for"
=>
"info in analytics.data"
}
.row
.container-fluid
.col-md-10
.row
%span
.col-xs-10
{{info.title}}
%span
%br
{{info.title}}
%span
%br
{{info.desc}}
%span
.col-md-2
{{info.desc}}
%span
.col-xs-2
{{info.value}}
%span
{{info.value}}
.content-block
{{
"v-if"
=>
"notAvailable"
}}
.inner-content
.content-block
{{
"v-if"
=>
"notAvailable"
}}
=
custom_icon
(
'icon_cycle_analytics_splash'
)
.inner-content
%h4
=
custom_icon
(
'icon_cycle_analytics_splash'
)
Set up your deploys to environment!
%h4
%p
Set up your deploys to environment!
Cycle Analytics will give an overview on how much time it takes to go from an idea to production in your project.
%p
Cycle Analytics will give an overview on how much time it takes to go from an idea to production in your project.
=
button_tag
'Set up'
,
class:
'btn btn-create btn-block'
=
button_tag
'Set up'
,
class:
'btn btn-create btn-block'
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