mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 03:10:50 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55c1cd84b3 |
4
i18n.js
4
i18n.js
@@ -272,6 +272,7 @@ const i18n = {
|
|||||||
'auth_files.filter_aistudio': 'AIStudio',
|
'auth_files.filter_aistudio': 'AIStudio',
|
||||||
'auth_files.filter_claude': 'Claude',
|
'auth_files.filter_claude': 'Claude',
|
||||||
'auth_files.filter_codex': 'Codex',
|
'auth_files.filter_codex': 'Codex',
|
||||||
|
'auth_files.filter_antigravity': 'Antigravity',
|
||||||
'auth_files.filter_iflow': 'iFlow',
|
'auth_files.filter_iflow': 'iFlow',
|
||||||
'auth_files.filter_vertex': 'Vertex',
|
'auth_files.filter_vertex': 'Vertex',
|
||||||
'auth_files.filter_empty': '空文件',
|
'auth_files.filter_empty': '空文件',
|
||||||
@@ -282,6 +283,7 @@ const i18n = {
|
|||||||
'auth_files.type_aistudio': 'AIStudio',
|
'auth_files.type_aistudio': 'AIStudio',
|
||||||
'auth_files.type_claude': 'Claude',
|
'auth_files.type_claude': 'Claude',
|
||||||
'auth_files.type_codex': 'Codex',
|
'auth_files.type_codex': 'Codex',
|
||||||
|
'auth_files.type_antigravity': 'Antigravity',
|
||||||
'auth_files.type_iflow': 'iFlow',
|
'auth_files.type_iflow': 'iFlow',
|
||||||
'auth_files.type_vertex': 'Vertex',
|
'auth_files.type_vertex': 'Vertex',
|
||||||
'auth_files.type_empty': '空文件',
|
'auth_files.type_empty': '空文件',
|
||||||
@@ -792,6 +794,7 @@ const i18n = {
|
|||||||
'auth_files.filter_aistudio': 'AIStudio',
|
'auth_files.filter_aistudio': 'AIStudio',
|
||||||
'auth_files.filter_claude': 'Claude',
|
'auth_files.filter_claude': 'Claude',
|
||||||
'auth_files.filter_codex': 'Codex',
|
'auth_files.filter_codex': 'Codex',
|
||||||
|
'auth_files.filter_antigravity': 'Antigravity',
|
||||||
'auth_files.filter_iflow': 'iFlow',
|
'auth_files.filter_iflow': 'iFlow',
|
||||||
'auth_files.filter_vertex': 'Vertex',
|
'auth_files.filter_vertex': 'Vertex',
|
||||||
'auth_files.filter_empty': 'Empty',
|
'auth_files.filter_empty': 'Empty',
|
||||||
@@ -802,6 +805,7 @@ const i18n = {
|
|||||||
'auth_files.type_aistudio': 'AIStudio',
|
'auth_files.type_aistudio': 'AIStudio',
|
||||||
'auth_files.type_claude': 'Claude',
|
'auth_files.type_claude': 'Claude',
|
||||||
'auth_files.type_codex': 'Codex',
|
'auth_files.type_codex': 'Codex',
|
||||||
|
'auth_files.type_antigravity': 'Antigravity',
|
||||||
'auth_files.type_iflow': 'iFlow',
|
'auth_files.type_iflow': 'iFlow',
|
||||||
'auth_files.type_vertex': 'Vertex',
|
'auth_files.type_vertex': 'Vertex',
|
||||||
'auth_files.type_empty': 'Empty',
|
'auth_files.type_empty': 'Empty',
|
||||||
|
|||||||
@@ -502,6 +502,7 @@
|
|||||||
<button class="filter-btn" data-type="aistudio" data-i18n-text="auth_files.filter_aistudio">AIStudio</button>
|
<button class="filter-btn" data-type="aistudio" data-i18n-text="auth_files.filter_aistudio">AIStudio</button>
|
||||||
<button class="filter-btn" data-type="claude" data-i18n-text="auth_files.filter_claude">Claude</button>
|
<button class="filter-btn" data-type="claude" data-i18n-text="auth_files.filter_claude">Claude</button>
|
||||||
<button class="filter-btn" data-type="codex" data-i18n-text="auth_files.filter_codex">Codex</button>
|
<button class="filter-btn" data-type="codex" data-i18n-text="auth_files.filter_codex">Codex</button>
|
||||||
|
<button class="filter-btn" data-type="antigravity" data-i18n-text="auth_files.filter_antigravity">Antigravity</button>
|
||||||
<button class="filter-btn" data-type="iflow" data-i18n-text="auth_files.filter_iflow">iFlow</button>
|
<button class="filter-btn" data-type="iflow" data-i18n-text="auth_files.filter_iflow">iFlow</button>
|
||||||
<button class="filter-btn" data-type="vertex" data-i18n-text="auth_files.filter_vertex">Vertex</button>
|
<button class="filter-btn" data-type="vertex" data-i18n-text="auth_files.filter_vertex">Vertex</button>
|
||||||
<button class="filter-btn" data-type="empty" data-i18n-text="auth_files.filter_empty">Empty</button>
|
<button class="filter-btn" data-type="empty" data-i18n-text="auth_files.filter_empty">Empty</button>
|
||||||
|
|||||||
@@ -172,6 +172,9 @@ export const authFilesModule = {
|
|||||||
case 'codex':
|
case 'codex':
|
||||||
typeDisplayKey = 'auth_files.type_codex';
|
typeDisplayKey = 'auth_files.type_codex';
|
||||||
break;
|
break;
|
||||||
|
case 'antigravity':
|
||||||
|
typeDisplayKey = 'auth_files.type_antigravity';
|
||||||
|
break;
|
||||||
case 'iflow':
|
case 'iflow':
|
||||||
typeDisplayKey = 'auth_files.type_iflow';
|
typeDisplayKey = 'auth_files.type_iflow';
|
||||||
break;
|
break;
|
||||||
@@ -467,6 +470,7 @@ export const authFilesModule = {
|
|||||||
{ type: 'aistudio', labelKey: 'auth_files.filter_aistudio' },
|
{ type: 'aistudio', labelKey: 'auth_files.filter_aistudio' },
|
||||||
{ type: 'claude', labelKey: 'auth_files.filter_claude' },
|
{ type: 'claude', labelKey: 'auth_files.filter_claude' },
|
||||||
{ type: 'codex', labelKey: 'auth_files.filter_codex' },
|
{ type: 'codex', labelKey: 'auth_files.filter_codex' },
|
||||||
|
{ type: 'antigravity', labelKey: 'auth_files.filter_antigravity' },
|
||||||
{ type: 'iflow', labelKey: 'auth_files.filter_iflow' },
|
{ type: 'iflow', labelKey: 'auth_files.filter_iflow' },
|
||||||
{ type: 'vertex', labelKey: 'auth_files.filter_vertex' },
|
{ type: 'vertex', labelKey: 'auth_files.filter_vertex' },
|
||||||
{ type: 'empty', labelKey: 'auth_files.filter_empty' }
|
{ type: 'empty', labelKey: 'auth_files.filter_empty' }
|
||||||
|
|||||||
14
styles.css
14
styles.css
@@ -1816,6 +1816,16 @@ input:checked+.slider:before {
|
|||||||
color: #ffb74d;
|
color: #ffb74d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file-type-badge.antigravity {
|
||||||
|
background: #e0f7fa;
|
||||||
|
color: #006064;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-theme="dark"] .file-type-badge.antigravity {
|
||||||
|
background: #004d40;
|
||||||
|
color: #80deea;
|
||||||
|
}
|
||||||
|
|
||||||
.file-type-badge.iflow {
|
.file-type-badge.iflow {
|
||||||
background: #f3e5f5;
|
background: #f3e5f5;
|
||||||
color: #7b1fa2;
|
color: #7b1fa2;
|
||||||
@@ -1837,13 +1847,13 @@ input:checked+.slider:before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 未知类型通用样式 */
|
/* 未知类型通用样式 */
|
||||||
.file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.iflow):not(.empty) {
|
.file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.antigravity):not(.iflow):not(.empty) {
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
border: 1px dashed #999999;
|
border: 1px dashed #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme="dark"] .file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.iflow):not(.empty) {
|
[data-theme="dark"] .file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.antigravity):not(.iflow):not(.empty) {
|
||||||
background: #3a3a3a;
|
background: #3a3a3a;
|
||||||
color: #aaaaaa;
|
color: #aaaaaa;
|
||||||
border: 1px dashed #666666;
|
border: 1px dashed #666666;
|
||||||
|
|||||||
Reference in New Issue
Block a user