From 7e218dfb5da82f78b16ee978e0e3469ba9b52450 Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Sat, 1 Jun 2024 09:53:32 -0400 Subject: [PATCH] Scroll table on small screen sizes --- lib/chronoscope_web/live/index_live.html.heex | 150 +++++++++--------- 1 file changed, 76 insertions(+), 74 deletions(-) diff --git a/lib/chronoscope_web/live/index_live.html.heex b/lib/chronoscope_web/live/index_live.html.heex index b4f3152..144a507 100644 --- a/lib/chronoscope_web/live/index_live.html.heex +++ b/lib/chronoscope_web/live/index_live.html.heex @@ -1,77 +1,79 @@ - - - - - - - - - - - - - - - <% {status, response} = server.key_establishment_response %> +
+
- Host - - Status - - Algorithm - - Cookies - - Cookie Length - - Certificate Expiration - - Last Check -
+ + + + + + + + + + + + + + <% {status, response} = server.key_establishment_response %> - <%= if (status == :ok) do %> - - - - - - - - - <% else %> - - + - - - - + + + + + + - - <% end %> - - -
+ Host + + Status + + Algorithm + + Cookies + + Cookie Length + + Certificate Expiration + + Last Check +
- <%= server.server.host %>:<%= server.server.port %> - - <%= status %> - - <%= Enum.at(response.aead_algorithms, 0) %> - - <%= length(response.cookies) %> - - <%= response.cookie_length %> - - <%= response.cert_expiration %> - - <%= server.last_key_establishment %> - - <%= server.server.host %>:<%= server.server.port %> - - + <%= if (status == :ok) do %> + + <%= server.server.host %>:<%= server.server.port %> + <%= status %> - - <%= response %> - - - - - - - + <%= Enum.at(response.aead_algorithms, 0) %> + + <%= length(response.cookies) %> + + <%= response.cookie_length %> + + <%= response.cert_expiration %> + + <%= server.last_key_establishment %> + - <%= server.last_key_establishment %> -
+ <% else %> + + <%= server.server.host %>:<%= server.server.port %> + + + + <%= status %> + + <%= response %> + + + + - + - + - + - + + + <%= server.last_key_establishment %> + + <% end %> + + + +