forked from boos/BoosAPI
feat(web): use purple badge capsule for account proxy indicator
This commit is contained in:
@@ -1869,6 +1869,11 @@ body {
|
|||||||
color: var(--color-text-muted);
|
color: var(--color-text-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge-purple {
|
||||||
|
background: #ede9fe;
|
||||||
|
color: #6d28d9;
|
||||||
|
}
|
||||||
|
|
||||||
.badge-link {
|
.badge-link {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|||||||
@@ -1601,7 +1601,7 @@ export default function Accounts() {
|
|||||||
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
|
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
|
||||||
</span>
|
</span>
|
||||||
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
|
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
|
||||||
<span className="badge badge-outline" style={{ fontSize: 10 }}>代理</span>
|
<span className="badge badge-purple" style={{ fontSize: 10 }}>代理</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@@ -1814,7 +1814,7 @@ export default function Accounts() {
|
|||||||
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
|
{connectionMode === 'apikey' ? 'API Key' : 'Session'}
|
||||||
</span>
|
</span>
|
||||||
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
|
{(() => { try { return JSON.parse(a.extraConfig || '{}')?.proxyUrl; } catch { return null; } })() && (
|
||||||
<span className="badge badge-outline" style={{ fontSize: 10 }}>代理</span>
|
<span className="badge badge-purple" style={{ fontSize: 10 }}>代理</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user