summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2016-12-09 19:06:38 +0530
committerKushal Pandya <kushal@gitlab.com>2016-12-21 13:16:17 +0530
commit5fc161c2a78710bb026e73bd502e4955022ec3b0 (patch)
treec4f97ea90149e10fac948601e7fd814fb433ad7b
parentd144160f9f1f7b59ea2cc49d511b6a195b8b6e2d (diff)
downloadgitlab-ce-5fc161c2a78710bb026e73bd502e4955022ec3b0.tar.gz
Embed SVG using `custom_icon`
-rw-r--r--app/views/projects/builds/show.html.haml9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml
index 0c3b7597c91..c69c53b656f 100644
--- a/app/views/projects/builds/show.html.haml
+++ b/app/views/projects/builds/show.html.haml
@@ -56,13 +56,18 @@
- else
#js-build-scroll.scroll-controls
.scroll-step
- %a{ href: '#up-build-trace', id: 'scroll-top', class: 'scroll-link scroll-top', title: 'Scroll to top'}
- %a{ href: '#down-build-trace', id: 'scroll-bottom', class: 'scroll-link scroll-bottom', title: 'Scroll to bottom'}
+ %a{ href: '#up-build-trace', id: 'scroll-top', class: 'scroll-link scroll-top', title: 'Scroll to top' }
+ = custom_icon('scroll_up')
+ = custom_icon('scroll_up_hover_active')
+ %a{ href: '#down-build-trace', id: 'scroll-bottom', class: 'scroll-link scroll-bottom', title: 'Scroll to bottom' }
+ = custom_icon('scroll_down')
+ = custom_icon('scroll_down_hover_active')
- if @build.active?
.autoscroll-container
%span.status-message#autoscroll-status{ data: { state: 'disabled' } }
%span.status-text Autoscroll active
%i.status-icon
+ = custom_icon('scroll_down_hover_active')
#up-build-trace
%pre.build-trace#build-trace
%code.bash.js-build-output