diff --git a/services/jupyterhub/html_templates_enhanced/home.html b/services/jupyterhub/html_templates_enhanced/home.html index 85a9767..dd2abb1 100644 --- a/services/jupyterhub/html_templates_enhanced/home.html +++ b/services/jupyterhub/html_templates_enhanced/home.html @@ -54,7 +54,9 @@ Loading session...
-
+
diff --git a/services/jupyterhub/html_templates_enhanced/static/custom.css b/services/jupyterhub/html_templates_enhanced/static/custom.css index aecaf95..cb259d8 100644 --- a/services/jupyterhub/html_templates_enhanced/static/custom.css +++ b/services/jupyterhub/html_templates_enhanced/static/custom.css @@ -1681,5 +1681,5 @@ textarea.form-control { /* Dark mode session timer */ [data-bs-theme="dark"] #session-timer-bar .progress { background-color: rgba(255, 255, 255, 0.08); - border-color: rgba(255, 255, 255, 0.15); + border-color: #6f757c; } diff --git a/services/jupyterhub/html_templates_enhanced/static/session-timer.js b/services/jupyterhub/html_templates_enhanced/static/session-timer.js index 2096594..e9c5b82 100644 --- a/services/jupyterhub/html_templates_enhanced/static/session-timer.js +++ b/services/jupyterhub/html_templates_enhanced/static/session-timer.js @@ -283,6 +283,13 @@ if ($row.length === 0) return; readCssColors(); + + // Bootstrap tooltip on progress track + var tooltipEl = $bar.find('.progress[data-bs-toggle="tooltip"]')[0]; + if (tooltipEl && typeof bootstrap !== 'undefined') { + new bootstrap.Tooltip(tooltipEl); + } + console.log('[SessionTimer] initializing for', username); // modal reset on open