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 @@
.dropdown
{
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 @@
.content-block
=
icon
(
"spinner spin"
,
"v-if"
=>
"isLoading"
)
.row
%template
{
"v-for"
=>
"info in analytics.summary"
}
.col-md-3.column
%span
.header
{{info.value}}
%br
%span
.text
{{info.desc}}
.col-md-3.column
.dropdown.inline.js-ca-dropdown
%button
.dropdown-menu-toggle
{
"aria-expanded"
=>
"false"
,
"data-toggle"
=>
"dropdown"
,
:type
=>
"button"
}
%span
.dropdown-label
Last 30 days
%i
.fa.fa-chevron-down
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%a
{
'href'
=>
"#"
,
'data-value'
=>
'30days'
}
Last 30 days
%li
%a
{
'href'
=>
"#"
,
'data-value'
=>
'90days'
}
Last 90 days
.container-fluid
.row
%template
{
"v-for"
=>
"info in analytics.summary"
}
.col-xs-3.column
%span
.header
{{info.value}}
%br
%span
.text
{{info.desc}}
.col-xs-3.column
.dropdown.inline.js-ca-dropdown
%button
.dropdown-menu-toggle
{
"aria-expanded"
=>
"false"
,
"data-toggle"
=>
"dropdown"
,
:type
=>
"button"
}
%span
.dropdown-label
Last 30 days
%i
.fa.fa-chevron-down
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%a
{
'href'
=>
"#"
,
'data-value'
=>
'30days'
}
Last 30 days
%li
%a
{
'href'
=>
"#"
,
'data-value'
=>
'90days'
}
Last 90 days
.bordered-box
=
icon
(
"spinner spin"
,
"v-if"
=>
"isLoading"
)
%ul
.content-list
{{
"v-if"
=>
"!notAvailable"
}}
%li
{
"v-for"
=>
"info in analytics.data"
}
.row
.col-md-10
%span
{{info.title}}
%br
%span
{{info.desc}}
.col-md-2
%span
{{info.value}}
.content-block
{{
"v-if"
=>
"notAvailable"
}}
.inner-content
=
custom_icon
(
'icon_cycle_analytics_splash'
)
%h4
Set up your deploys to environment!
%p
Cycle Analytics will give an overview on how much time it takes to go from an idea to production in your project.
.container-fluid
.row
.col-xs-10
%span
{{info.title}}
%br
%span
{{info.desc}}
.col-xs-2
%span
{{info.value}}
.content-block
{{
"v-if"
=>
"notAvailable"
}}
.inner-content
=
custom_icon
(
'icon_cycle_analytics_splash'
)
%h4
Set up your deploys to environment!
%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'
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