diff --git a/tljh-plasma/tljh_plasma/templates/home.html b/tljh-plasma/tljh_plasma/templates/home.html index 1b75d6c..d0c6264 100644 --- a/tljh-plasma/tljh_plasma/templates/home.html +++ b/tljh-plasma/tljh_plasma/templates/home.html @@ -196,6 +196,10 @@

JupyterHub home page

link.removeAttribute("target"); }); iframe.contentWindow.open = function(url) { + error.style.display = "none"; + loading.style.display = "block"; + overlay.style.display = "flex"; + loadTimer = startLoadTimer(); iframe.src = url; }; } catch(e) {} @@ -235,7 +239,7 @@

JupyterHub home page

// ---- stop server ---- document.getElementById("stop-server").addEventListener("click", function() { - if (!confirm("ArrĂȘter le serveur ?")) return; + if (!confirm("Quitter l'environnement ?")) return; fetch(BASE_URL + "api/users/" + CURRENT_USER + "/server", { method: "DELETE", headers: {"X-XSRFToken": CSRF_TOKEN}