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
5806678e
Commit
5806678e
authored
Feb 22, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert button into a btn group according to mockups
parent
7bf28a4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
29 deletions
+32
-29
app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6
...s/javascripts/vue_pipelines_index/pipeline_actions.js.es6
+32
-29
No files found.
app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6
View file @
5806678e
...
@@ -19,9 +19,10 @@
...
@@ -19,9 +19,10 @@
},
},
template: `
template: `
<td class="pipeline-actions hidden-xs">
<td class="pipeline-actions hidden-xs">
<div class="
controls
pull-right">
<div class="pull-right">
<div class="btn-group
inline
">
<div class="btn-group">
<div class="btn-group">
<div class="btn-group">
<button
<button
v-if='actions'
v-if='actions'
class="dropdown-toggle btn btn-default has-tooltip js-pipeline-dropdown-manual-actions"
class="dropdown-toggle btn btn-default has-tooltip js-pipeline-dropdown-manual-actions"
...
@@ -46,6 +47,7 @@
...
@@ -46,6 +47,7 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<div class="btn-group">
<div class="btn-group">
<button
<button
v-if='artifacts'
v-if='artifacts'
...
@@ -62,7 +64,6 @@
...
@@ -62,7 +64,6 @@
<li v-for='artifact in pipeline.details.artifacts'>
<li v-for='artifact in pipeline.details.artifacts'>
<a
<a
rel="nofollow"
rel="nofollow"
download
:href='artifact.path'
:href='artifact.path'
>
>
<i class="fa fa-download" aria-hidden="true"></i>
<i class="fa fa-download" aria-hidden="true"></i>
...
@@ -71,32 +72,34 @@
...
@@ -71,32 +72,34 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
</div>
<div class="btn-group">
<div class="cancel-retry-btns inline">
<a
<a
v-if='pipeline.flags.retryable'
v-if='pipeline.flags.retryable'
class="btn btn-default btn-retry has-tooltip"
class="btn has-tooltip"
title="Retry"
title="Retry"
rel="nofollow"
rel="nofollow"
data-method="post"
data-method="post"
data-placement="top"
data-placement="top"
data-toggle="dropdown"
data-toggle="dropdown"
:href='pipeline.retry_path'
:href='pipeline.retry_path'
aria-label="Retry">
aria-label="Retry">
<i class="fa fa-repeat" aria-hidden="true"></i>
<i class="fa fa-repeat" aria-hidden="true"></i>
</a>
</a>
</div>
<a
<div class="btn-group">
v-if='pipeline.flags.cancelable'
<a
class="btn btn-remove has-tooltip"
v-if='pipeline.flags.cancelable'
title="Cancel"
class="btn btn-remove has-tooltip"
rel="nofollow"
title="Cancel"
data-method="post"
rel="nofollow"
data-placement="top"
data-method="post"
data-toggle="dropdown"
data-placement="top"
:href='pipeline.cancel_path'
data-toggle="dropdown"
aria-label="Cancel">
:href='pipeline.cancel_path'
<i class="fa fa-remove" aria-hidden="true"></i>
aria-label="Cancel">
</a>
<i class="fa fa-remove" aria-hidden="true"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</td>
</td>
...
...
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