From 950d556e191a3d245f5ca603cf22872375eb23d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 21 Mar 2023 12:15:11 +0100 Subject: [PATCH] Changes to home page to take less space --- .../controllers/auth_html/index.html.heex | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/lib/livebook_web/controllers/auth_html/index.html.heex b/lib/livebook_web/controllers/auth_html/index.html.heex index bd5b65546..e3a2bf5dc 100644 --- a/lib/livebook_web/controllers/auth_html/index.html.heex +++ b/lib/livebook_web/controllers/auth_html/index.html.heex @@ -1,22 +1,25 @@
- - livebook + + livebook -
+
Authentication required
-
- +
+

Type password to access the Livebook. - - +

+

Please check out the console for authentication URL or type the token directly - here.
To use password authentication, set the LIVEBOOK_PASSWORD + here. +

+

+ To use password authentication, set the LIVEBOOK_PASSWORD environment variable. - +

@@ -27,7 +30,7 @@ :if={@auth_mode == :password} type="password" name="password" - class="px-4 py-3 w-full text-gray-300 placeholder-gray-400 border border-gray-500 rounded-lg bg-transparent phx-form-error:border-red-600 phx-form-error:text-red-600 phx-form-error:placeholder-red-600" + class="px-4 py-2 w-full text-gray-300 placeholder-gray-400 border border-gray-500 rounded-lg bg-transparent phx-form-error:border-red-600 phx-form-error:text-red-600 phx-form-error:placeholder-red-600" placeholder="Password" autofocus /> @@ -35,7 +38,7 @@ :if={@auth_mode == :token} type="text" name="token" - class="px-4 py-3 w-full text-gray-300 placeholder-gray-400 border border-gray-500 rounded-lg bg-transparent phx-form-error:border-red-600 phx-form-error:text-red-600 phx-form-error:placeholder-red-600" + class="px-4 py-2 w-full text-gray-300 placeholder-gray-400 border border-gray-500 rounded-lg bg-transparent phx-form-error:border-red-600 phx-form-error:text-red-600 phx-form-error:placeholder-red-600" placeholder="Token" autofocus /> @@ -48,7 +51,7 @@