    {% endfor %}
        </ul>
        {% if show_load_more_certs %}
        <div class="text-center mt-3">
            <center><button id="load-more-certs" class="btn btn-outline-success">Load More Certificates</button></center>
        </div>
        {% endif %}
    </div>
    <div id="loading-message" class="text-center text-primary mt-3" style="display: none;">
        <p>Loading more certificates... Please wait.</p>
    </div>
    {% endif %}
</div>


<script>
    document.addEventListener('DOMContentL