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
926a2606
Commit
926a2606
authored
Dec 07, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pipelines empty state [ci skip]
parent
17542a78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
19 deletions
+32
-19
app/assets/javascripts/pipelines/components/empty_state.vue
app/assets/javascripts/pipelines/components/empty_state.vue
+25
-19
app/assets/stylesheets/framework/images.scss
app/assets/stylesheets/framework/images.scss
+7
-0
No files found.
app/assets/javascripts/pipelines/components/empty_state.vue
View file @
926a2606
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
props
:
{
helpPagePath
:
{
helpPagePath
:
{
type
:
String
,
type
:
String
,
required
:
true
,
required
:
true
,
},
emptyStateSvgPath
:
{
type
:
String
,
required
:
true
,
},
},
},
emptyStateSvgPath
:
{
};
type
:
String
,
required
:
true
,
},
},
};
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"row empty-state js-empty-state"
>
<div
class=
"row empty-state js-empty-state"
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"svg-content"
>
<div
class=
"svg-content
svg-250
"
>
<img
:src=
"emptyStateSvgPath"
/>
<img
:src=
"emptyStateSvgPath"
/>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-12
text-center
"
>
<div
class=
"col-xs-12"
>
<div
class=
"text-content"
>
<div
class=
"text-content"
>
<h4>
Build with confidence
</h4>
<h4
class=
"text-center"
>
Build with confidence
</h4>
<p>
<p>
Continous Integration can help catch bugs by running your tests automatically,
Continous Integration can help catch bugs by running your tests automatically,
while Continuous Deployment can help you deliver code to your product environment.
while Continuous Deployment can help you deliver code to your product environment.
</p>
</p>
<a
:href=
"helpPagePath"
class=
"btn btn-info"
>
<div
class=
"text-center"
>
Get started with Pipelines
<a
</a>
:href=
"helpPagePath"
class=
"btn btn-info"
>
Get started with Pipelines
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
app/assets/stylesheets/framework/images.scss
View file @
926a2606
...
@@ -19,6 +19,13 @@
...
@@ -19,6 +19,13 @@
max-width
:
425px
;
max-width
:
425px
;
width
:
100%
;
width
:
100%
;
}
}
&
.svg-250
{
img
,
svg
{
width
:
250px
;
}
}
}
}
@mixin
svg-size
(
$size
)
{
@mixin
svg-size
(
$size
)
{
...
...
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