View | Details | Raw Unified | Return to bug 35810
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+8 lines)
Lines 4758-4760 div .suggestion_note { Link Here
4758
        border-bottom-right-radius: 5px;
4758
        border-bottom-right-radius: 5px;
4759
    }
4759
    }
4760
}
4760
}
4761
4762
#backtotop {
4763
    font-size: 140%;
4764
    position: fixed;  
4765
    bottom: 40px;
4766
    right: 40px;
4767
    z-index: 1000;
4768
  }
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-1 / +14 lines)
Lines 297-302 $(document).ready(function() { Link Here
297
        var op = $(this).data("op");
297
        var op = $(this).data("op");
298
        resultsBatchProcess( op );
298
        resultsBatchProcess( op );
299
    });
299
    });
300
301
    $("body").append('<button id="backtotop" class="btn btn-primary"><i class="fa fa-arrow-up" aria-hidden="true"></i></button>');
302
    $("#backtotop").hide();
303
    $(window).scroll(function(){
304
        if ( $(window).scrollTop() < 300 ) {
305
            $("#backtotop").fadeOut();
306
        } else {
307
            $("#backtotop").fadeIn();
308
        }
309
    });
310
    $("#backtotop").click(function(e) {
311
        e.preventDefault();
312
        $("html,body").animate({scrollTop: 0}, "slow");
313
    });
300
});
314
});
301
315
302
316
303
- 

Return to bug 35810