Commit 5806678e authored by Filipa Lacerda's avatar Filipa Lacerda

Convert button into a btn group according to mockups

parent 7bf28a4a
...@@ -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,11 +72,10 @@ ...@@ -71,11 +72,10 @@
</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 has-tooltip" class="btn btn-default btn-retry has-tooltip"
title="Retry" title="Retry"
rel="nofollow" rel="nofollow"
data-method="post" data-method="post"
...@@ -85,6 +85,8 @@ ...@@ -85,6 +85,8 @@
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>
<div class="btn-group">
<a <a
v-if='pipeline.flags.cancelable' v-if='pipeline.flags.cancelable'
class="btn btn-remove has-tooltip" class="btn btn-remove has-tooltip"
...@@ -99,6 +101,7 @@ ...@@ -99,6 +101,7 @@
</a> </a>
</div> </div>
</div> </div>
</div>
</td> </td>
`, `,
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment