diff --git a/internal/server/handlers_oauth.go b/internal/server/handlers_oauth.go index 2e4e2d14e..80f9e959f 100644 --- a/internal/server/handlers_oauth.go +++ b/internal/server/handlers_oauth.go @@ -1602,7 +1602,17 @@ body { background: #2a2a2a; color: #e8e8e8; border-color: #555; } } -h1 { font-size: 1.5em; margin: 0 0 .25em; } +h1 { font-size: 1.5em; margin: 0 0 .25em; overflow-wrap: anywhere; } +.resource-brand { + margin: 0 0 .75em; font-size: 1.05em; color: #444; + overflow-wrap: anywhere; +} +.resource-brand strong { font-size: 1.15em; color: #1a1a1a; } +@media (prefers-color-scheme: dark) { + .resource-brand { color: #bbb; } + .resource-brand strong { color: #fff; } +} +.client-card .meta { min-width: 0; overflow-wrap: anywhere; } .client-card { display: flex; align-items: center; gap: 1em; margin: 1.5em 0; padding: 1em; border: 1px solid #ddd; border-radius: 10px; background: #fafafa; @@ -1656,6 +1666,11 @@ input[type=text], input[type=search] { .picker { background: #1c1c1c; } } .hint { color: #555; font-size: .9em; margin: .75em 0; } +.ws-summary { + margin: .1em 0 .5em 1.9em; color: #555; font-size: .9em; + overflow-wrap: anywhere; +} +@media (prefers-color-scheme: dark) { .ws-summary { color: #aaa; } } .footer-disclosure { margin: 1.5em 0; padding: .85em 1em; background: #f5f5f5; border-radius: 8px; color: #555; font-size: .9em; @@ -1690,6 +1705,7 @@ button.primary:hover:not(:disabled) { background: #1e54d4; } +

Pad · {{.ResourceHost}}

Authorize {{.ClientName}}

{{if .Surface}}

Connecting Pad's {{.Surface}} tools.

{{end}}

Signed in as {{.Username}}{{if .UserEmail}} ({{.UserEmail}}){{end}}.

@@ -1698,7 +1714,8 @@ button.primary:hover:not(:disabled) { background: #1e54d4; } {{if .ClientLogoURL}}{{end}}
{{.ClientName}} - wants to access your Pad on your behalf. + is requesting access to your Pad workspaces on {{.ResourceHost}}. + The app chose this name; Pad has not verified it.{{if .RedirectHost}} After you decide, you return to {{.RedirectHost}}.{{end}}
@@ -1748,6 +1765,9 @@ button.primary:hover:not(:disabled) { background: #1e54d4; } All my workspaces— includes workspaces you join or create later. + {{if .WorkspaceSummary}} +

Your Pad workspaces now: {{range $i, $n := .WorkspaceSummary}}{{if $i}}, {{end}}{{$n}}{{end}}{{if .WorkspaceMore}} and {{.WorkspaceMore}} more{{end}}.

+ {{end}} {{if .Workspaces}}