From 45370824b138e695aceedcbdc83a0c157bb9f119 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Fri, 5 Feb 2021 11:48:20 +0200 Subject: [PATCH] Make API key management look good on dark mode --- .../templates/auth/user_settings.html.eex | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/lib/plausible_web/templates/auth/user_settings.html.eex b/lib/plausible_web/templates/auth/user_settings.html.eex index fda898e9f..4ffff2465 100644 --- a/lib/plausible_web/templates/auth/user_settings.html.eex +++ b/lib/plausible_web/templates/auth/user_settings.html.eex @@ -168,19 +168,18 @@
-
+
-
-

+

Beta feature

-
+

The stats API is in public beta mode. Feel free to issue API keys and test your integrations. However, we reserve the right to make breaking changes to the API until we exit the beta and release @@ -191,33 +190,33 @@

-
+
<%= if Enum.any?(@user.api_keys) do %> -
- - +
+
+ - - <%= for api_key <- @user.api_keys do %> - - + -
+ Name + Key - Remove + Revoke
+
<%= api_key.name %> + <%= api_key.key_prefix %><%= String.duplicate("*", 32 - 6) %>