mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 02:30:51 +08:00
feat: implement OpenAI provider connection testing with UI integration, status updates, and internationalization support
This commit is contained in:
43
styles.css
43
styles.css
@@ -2725,6 +2725,49 @@ input:checked+.slider:before {
|
||||
color: #d97706;
|
||||
}
|
||||
|
||||
.openai-test-status {
|
||||
min-height: 22px;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.openai-test-status.success {
|
||||
color: #16a34a;
|
||||
}
|
||||
|
||||
.openai-test-status.error {
|
||||
color: #dc2626;
|
||||
}
|
||||
|
||||
.openai-test-status.warning {
|
||||
color: #d97706;
|
||||
}
|
||||
|
||||
.openai-test-group select {
|
||||
min-width: 200px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border-primary);
|
||||
border-radius: 10px;
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.openai-test-group select:disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.openai-test-btn-success {
|
||||
background: #16a34a !important;
|
||||
border-color: #16a34a !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.openai-test-btn-error {
|
||||
background: #dc2626 !important;
|
||||
border-color: #dc2626 !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.model-discovery-list {
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-color);
|
||||
|
||||
Reference in New Issue
Block a user