/ Pagination
            $(document).on('click', 'div.endpoint-pagination a', function (event) {
                const $a = $(this);
                event.preventDefault();
                retrieveReportData("{% url 'report_endpoints' %}" + $a.attr('href'), $a.closest('li.endpoint-list'));
            })

            $('[data-toggle="tooltip"]').tooltip()

            $(document).on('click', '.in-use-widgets .panel-available-widget .panel-heading', function (event) {
                $(this).siblings('.panel