       </div> 
    </div>

    {{template "views/partials/footer" .}}
</div>

<script>
function handleShutdownResponse(event, modelName) {
    const button = event.target;
    const response = event.detail.xhr;
    window.location.reload();
}

// Handle reload models button
document.addEventListener('DOMContentLoaded', function() {
    const reloadBtn = document.getElementById('reload-models-btn');
    if (reloadBtn) {
        reloadBtn.addEventListener('click', function() {
            const button = this;