make insecure-login-warning visible in dark mode

This commit is contained in:
mishaschwartz
2025-01-17 09:30:53 -05:00
parent 8f9723f0a7
commit c3bfedf0a2
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,6 @@
height: 80vh; height: 80vh;
& #insecure-login-warning { & #insecure-login-warning {
background-color: $warning-bg-subtle;
padding: 10px; padding: 10px;
} }

View File

@@ -12,7 +12,7 @@
{{ custom_html | safe }} {{ custom_html | safe }}
{% elif login_service %} {% elif login_service %}
<div class="service-login"> <div class="service-login">
<p id='insecure-login-warning' class='hidden'> <p id='insecure-login-warning' class='hidden alert alert-warning'>
Warning: JupyterHub seems to be served over an unsecured HTTP connection. Warning: JupyterHub seems to be served over an unsecured HTTP connection.
We strongly recommend enabling HTTPS for JupyterHub. We strongly recommend enabling HTTPS for JupyterHub.
</p> </p>
@@ -28,7 +28,7 @@
<h1>Sign in</h1> <h1>Sign in</h1>
</div> </div>
<div class='auth-form-body m-auto'> <div class='auth-form-body m-auto'>
<p id='insecure-login-warning' class='hidden'> <p id='insecure-login-warning' class='hidden alert alert-warning'>
Warning: JupyterHub seems to be served over an unsecured HTTP connection. Warning: JupyterHub seems to be served over an unsecured HTTP connection.
We strongly recommend enabling HTTPS for JupyterHub. We strongly recommend enabling HTTPS for JupyterHub.
</p> </p>