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
6f7933b3
Commit
6f7933b3
authored
May 05, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed cycle analytics intro box styling regression
Closes #31844
parent
8d059643
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
11 deletions
+30
-11
app/assets/stylesheets/pages/cycle_analytics.scss
app/assets/stylesheets/pages/cycle_analytics.scss
+19
-0
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+11
-11
No files found.
app/assets/stylesheets/pages/cycle_analytics.scss
View file @
6f7933b3
...
...
@@ -3,6 +3,25 @@
margin
:
24px
auto
0
;
position
:
relative
;
.landing
{
margin-top
:
10px
;
.inner-content
{
white-space
:
normal
;
h4
,
p
{
margin
:
7px
0
0
;
max-width
:
480px
;
padding
:
0
$gl-padding
;
@media
(
max-width
:
$screen-sm-min
)
{
margin
:
0
auto
;
}
}
}
}
.col-headers
{
ul
{
margin
:
0
;
...
...
app/views/projects/cycle_analytics/show.html.haml
View file @
6f7933b3
...
...
@@ -9,17 +9,17 @@
#cycle-analytics
{
class:
container_class
,
"v-cloak"
=>
"true"
,
data:
{
request_path:
project_cycle_analytics_path
(
@project
)
}
}
-
if
@cycle_analytics_no_data
.
bordered-box.
landing.content-block
{
"v-if"
=>
"!isOverviewDialogDismissed"
}
=
icon
(
"times"
,
class:
"dismiss-icon"
,
"@click"
=>
"dismissOverviewDialog()"
)
.row
.col-sm-3.col-xs-12
.svg-container
=
custom_icon
(
'icon_cycle_analytics_splash'
)
.col-sm-8.col-xs-12
.inner-content
%h4
{{ __('Introducing Cycle Analytics') }}
%p
{{ __('Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.') }}
.landing.content-block
{
"v-if"
=>
"!isOverviewDialogDismissed"
}
%button
.dismiss-button
{
type:
'button'
,
'aria-label'
:
'Dismiss Cycle Analytics introduction box'
}
=
icon
(
"times"
,
"@click"
=>
"dismissOverviewDialog()"
)
.svg-container
=
custom_icon
(
'icon_cycle_analytics_splash'
)
.inner-content
%h4
{{ __('Introducing Cycle Analytics') }}
%p
{{ __('Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.') }}
%p
=
link_to
_
(
'Read more'
),
help_page_path
(
'user/project/cycle_analytics'
),
target:
'_blank'
,
class:
'btn'
=
icon
(
"spinner spin"
,
"v-show"
=>
"isLoading"
)
.wrapper
{
"v-show"
=>
"!isLoading && !hasError"
}
...
...
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