mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 03:21:37 +03:00
cd4d1d06bb
Deployment needs to be coordinated with WordPress plugin update. Reasoning: there's too much confusion coming from the use of the "API" terminology, leading to wrong keys being generated by users.
29 lines
830 B
Plaintext
29 lines
830 B
Plaintext
<PlausibleWeb.Components.Settings.settings_search_console
|
|
site={@site}
|
|
search_console_domains={@search_console_domains}
|
|
/>
|
|
|
|
<section
|
|
:if={@has_plugins_tokens? || @conn.query_params["new_token"]}
|
|
class="shadow bg-white dark:bg-gray-800 sm:rounded-md sm:overflow-hidden"
|
|
>
|
|
<div class="py-6 px-4 sm:p-6">
|
|
<header class="relative">
|
|
<h2 class="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100">
|
|
Plugin Tokens
|
|
</h2>
|
|
<p class="mt-1 text-sm leading-5 text-gray-500 dark:text-gray-200">
|
|
Control Plugin Access
|
|
</p>
|
|
</header>
|
|
|
|
<%= live_render(@conn, PlausibleWeb.Live.Plugins.API.Settings,
|
|
session: %{
|
|
"site_id" => @site.id,
|
|
"domain" => @site.domain,
|
|
"new_token" => @conn.query_params["new_token"]
|
|
}
|
|
) %>
|
|
</div>
|
|
</section>
|