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/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-default"><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