diff --git a/app/assets/tailwind/application.css b/app/assets/tailwind/application.css index 72fa70258..3d868c741 100644 --- a/app/assets/tailwind/application.css +++ b/app/assets/tailwind/application.css @@ -56,7 +56,7 @@ } .hw-combobox__label { - @apply block text-xs text-gray-500 peer-disabled:text-gray-400; + @apply block text-xs text-secondary peer-disabled:text-subdued; } .hw-combobox__option { @@ -155,12 +155,12 @@ } ::-webkit-scrollbar-thumb { - background: #d6d6d6; + background: var(--color-gray-300); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { - background: #a6a6a6; + background: var(--color-gray-400); } } @@ -170,12 +170,12 @@ } &::-webkit-scrollbar-thumb { - background: #d6d6d6; + background: var(--color-gray-300); border-radius: 10px; } &::-webkit-scrollbar-thumb:hover { - background: #a6a6a6; + background: var(--color-gray-400); } } diff --git a/app/views/doorkeeper/applications/_form.html.erb b/app/views/doorkeeper/applications/_form.html.erb index 4cc71b3d8..cb9bc6be6 100644 --- a/app/views/doorkeeper/applications/_form.html.erb +++ b/app/views/doorkeeper/applications/_form.html.erb @@ -4,7 +4,7 @@ <% end %>
<%= @application.uid %>
<%= @application.uid %>
-
- <%= t(".placeholder") %> <%= t(".placeholder") %> Your self-hosted Sure installation needs Redis to be properly configured. Your self-hosted Sure installation needs Redis to be properly configured. Follow our complete Docker setup guide to configure Redis Follow our complete Docker setup guide to configure Redis Once you've configured Redis, refresh this page to continue. Once you've configured Redis, refresh this page to continue. <%= t(".placeholder") %> <%= t(".placeholder") %>
+
Note: For sandbox testing, use
+
<% secret = flash[:application_secret].presence || @application.plaintext_secret %>
<% if secret.blank? && Doorkeeper.config.application_secret_hashed? %>
- <%= t(".secret_hashed") %>
+ <%= t(".secret_hashed") %>
<% else %>
<%= secret %>
<% end %>
@@ -21,17 +21,17 @@
<%= t(".scopes") %>:
+
<% if @application.scopes.present? %>
<%= @application.scopes %>
<% else %>
- <%= t(".not_defined") %>
+ <%= t(".not_defined") %>
<% end %>
<%= t(".confidential") %>:
- <%= @application.confidential? %><%= @application.confidential? %><%= t(".callback_urls") %>:
@@ -40,7 +40,7 @@
<% @application.redirect_uri.split.each do |uri| %>
-
<%= uri %>
+ <%= uri %>
<%= link_to t("doorkeeper.applications.buttons.authorize"), oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: "code", scope: @application.scopes), class: "btn btn-success", target: "_blank" %>
@@ -49,7 +49,7 @@
<% end %>
<% else %>
- <%= t(".not_defined") %>
+ <%= t(".not_defined") %>
<% end %>
diff --git a/app/views/pages/privacy.html.erb b/app/views/pages/privacy.html.erb
index 303f18766..01b472540 100644
--- a/app/views/pages/privacy.html.erb
+++ b/app/views/pages/privacy.html.erb
@@ -5,7 +5,7 @@
<%= t(".heading") %>
- Redis Configuration Required
- <%= t(".heading") %>
- https://api-sandbox.mercury.com/api/v1 as the Base URL.
Mercury requires IP whitelisting - make sure to add your IP in the Mercury dashboard.