From 2598ac2c1a4e871641865c1334955124f967d9b1 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 23 May 2024 18:53:32 -0700 Subject: [PATCH] Fix missing `form-control` classes & some padding - Missing `form-control` on a textbox gave it weird padding, this fixes it. - Add new server is set up as a [button addon](https://getbootstrap.com/docs/5.3/forms/input-group/#button-addons) - Add a little right margin to the username in the navbar, just before the logout button. Otherwise they were 'stuck' to each other --- share/jupyterhub/templates/home.html | 16 ++++++++++------ share/jupyterhub/templates/page.html | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/share/jupyterhub/templates/home.html b/share/jupyterhub/templates/home.html index 17565ed4a..55f7503a5 100644 --- a/share/jupyterhub/templates/home.html +++ b/share/jupyterhub/templates/home.html @@ -39,12 +39,16 @@

Named Servers

- - +
+ + +
+ {% for spawner in named_spawners %} diff --git a/share/jupyterhub/templates/page.html b/share/jupyterhub/templates/page.html index 7583473b6..8a520b1f0 100644 --- a/share/jupyterhub/templates/page.html +++ b/share/jupyterhub/templates/page.html @@ -167,7 +167,7 @@ {% block login_widget %} {% if user %} - {{ user.name }} + {{ user.name }}