feat(dashboard): link Claude Code setup CTA to /setup page
This commit is contained in:
parent
85967e14ca
commit
4bcdc4e7d7
1 changed files with 30 additions and 0 deletions
|
|
@ -1232,6 +1232,29 @@
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.env-setup-link {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 12px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--primary);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.env-setup-link:hover { text-decoration: underline; }
|
||||||
|
|
||||||
|
.setup-link-banner {
|
||||||
|
margin-top: 12px;
|
||||||
|
padding: 10px 16px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: var(--text-secondary, #6b7280);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.setup-link-banner a {
|
||||||
|
color: var(--primary);
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.setup-link-banner a:hover { text-decoration: underline; }
|
||||||
|
|
||||||
/* Error banner for setup flow */
|
/* Error banner for setup flow */
|
||||||
.setup-error {
|
.setup-error {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
|
|
@ -2020,6 +2043,7 @@
|
||||||
Setup a new Claude Code
|
Setup a new Claude Code
|
||||||
</button>
|
</button>
|
||||||
<span class="env-hint">Valid 90 days · token stays in clipboard only</span>
|
<span class="env-hint">Valid 90 days · token stays in clipboard only</span>
|
||||||
|
<a href="/setup" class="env-setup-link">Or open the full setup page →</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="setupClaudeError" class="setup-error" role="alert" style="display:none;"></div>
|
<div id="setupClaudeError" class="setup-error" role="alert" style="display:none;"></div>
|
||||||
<details class="setup-preview-card" aria-label="Preview of the clipboard payload">
|
<details class="setup-preview-card" aria-label="Preview of the clipboard payload">
|
||||||
|
|
@ -2507,6 +2531,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if account_details and account_details.last_sync_display %}
|
||||||
|
<div class="setup-link-banner">
|
||||||
|
Need to set up another machine? <a href="/setup">Open the setup page →</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="support-banner" style="margin-top: 16px;">
|
<div class="support-banner" style="margin-top: 16px;">
|
||||||
{{ config.INSTANCE_NAME }} - need help? Contact your platform team.
|
{{ config.INSTANCE_NAME }} - need help? Contact your platform team.
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue