Commit c4dfd07b authored by Kushal Pandya's avatar Kushal Pandya

Update look of scroll buttons, autoscroll indicator

parent 54fe47b8
...@@ -56,14 +56,18 @@ ...@@ -56,14 +56,18 @@
- else - else
#js-build-scroll.scroll-controls #js-build-scroll.scroll-controls
.scroll-step .scroll-step
= link_to '#build-trace', class: 'btn' do = link_to '#up-build-trace', id: 'scroll-top', class: 'btn', title: 'Scroll to top' do
%i.fa.fa-angle-up %i.fa.fa-long-arrow-up
= link_to '#down-build-trace', class: 'btn' do %span.scroll-step-label Scroll to top
%i.fa.fa-angle-down = link_to '#down-build-trace', id: 'scroll-bottom', class: 'btn', title: 'Scroll to bottom' do
%i.fa.fa-long-arrow-down
%span.scroll-step-label Scroll to bottom
- if @build.active? - if @build.active?
.autoscroll-container .autoscroll-container
%button.btn.btn-sm#autoscroll-button{:type => "button", :data => {:state => 'disabled'}} %span.status-message#autoscroll-status{:data => {:state => 'enabled'}}
Enable autoscroll %i.fa.fa-toggle-on
%label Autoscroll active
#up-build-trace
%pre.build-trace#build-trace %pre.build-trace#build-trace
%code.bash.js-build-output %code.bash.js-build-output
= icon("refresh spin", class: "js-build-refresh") = icon("refresh spin", class: "js-build-refresh")
......
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