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 %> + + + +