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 4775-4777 div .suggestion_note { Link Here
4775
        border-bottom-right-radius: 5px;
4775
        border-bottom-right-radius: 5px;
4776
    }
4776
    }
4777
}
4777
}
4778
4779
#backtotop {
4780
    font-size: 140%;
4781
    position: fixed;
4782
    bottom: 40px;
4783
    right: 40px;
4784
    z-index: 1000;
4785
}
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +14 lines)
Lines 243-249 $(document).ready(function() { Link Here
243
    $("#bookbag_form a[href*='detail.pl?']").click(function(){
243
    $("#bookbag_form a[href*='detail.pl?']").click(function(){
244
        resetSearchContext();
244
        resetSearchContext();
245
    });
245
    });
246
246
    // add back to top button on each staff page
247
    $("body").append('<button id="backtotop" class="btn btn-default"><i class="fa fa-arrow-up" aria-hidden="true"></i></button>');
248
    $("#backtotop").hide();
249
    $(window).scroll(function(){
250
        if ( $(window).scrollTop() < 300 ) {
251
            $("#backtotop").fadeOut();
252
        } else {
253
            $("#backtotop").fadeIn();
254
        }
255
    });
256
    $("#backtotop").click(function(e) {
257
        e.preventDefault();
258
        $("html,body").animate({scrollTop: 0}, "slow");
259
    });
247
});
260
});
248
261
249
function removeLastBorrower(){
262
function removeLastBorrower(){
250
- 

Return to bug 35810