style: ui for no data in table list

This commit is contained in:
jialin
2025-10-16 11:11:39 +08:00
parent ca9ceda2f7
commit e2da7c5f96
29 changed files with 546 additions and 108 deletions
+2 -1
View File
@@ -193,5 +193,6 @@ export default {
'models.accessSettings.authed': 'Authenticated',
'models.accessSettings.allowedUsers': 'Allowed users',
'models.accessSettings.public.tips':
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.'
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
'models.table.button.deploy': 'Deploy Now'
};
+37
View File
@@ -0,0 +1,37 @@
export default {
'noresult.button.add': 'Add Now',
'noresult.mymodels.title': 'No Accessible Models',
'noresult.mymodels.subTitle': 'Please contact the administrator for access.',
'noresult.mymodels.nofound': 'No matching models found',
'noresult.deployments.title': 'No Deployed Models',
'noresult.deployments.subTitle':
'You have not deployed any models yet. Click the button below to get started.',
'noresult.gpus.title': 'No GPU Devices Detected',
'noresult.gpus.subTitle': 'Please check if the Worker status is READY.',
'noresult.gpus.nofound': 'No matching GPU devices found.',
'noresult.workers.title': 'No Workers',
'noresult.workers.subTitle': 'No workers found in any clusters.',
'noresult.workers.nofound': 'No matching workers found.',
'noresult.workers.button.add': 'Go to Add Worker',
'noresult.modelfiles.title': 'No Model Files',
'noresult.modelfiles.subTitle': 'No model files have been added yet.',
'noresult.modelfiles.nofound': 'No matching model files found.',
'noresult.backend.title': 'No Inference Backends',
'noresult.backend.subTitle': 'No inference backends have been added yet.',
'noresult.backend.nofound': 'No matching inference backends found.',
'noresult.cluster.title': 'No Clusters',
'noresult.cluster.subTitle': 'No clusters have been added yet.',
'noresult.cluster.nofound': 'No matching clusters found.',
'noresult.credentials.title': 'No Credentials',
'noresult.credentials.subTitle': 'No credentials have been added yet.',
'noresult.credentials.nofound': 'No matching credentials found.',
'noresult.users.title': 'No Users',
'noresult.users.subTitle': 'No users have been added yet.',
'noresult.users.nofound': 'No matching users found.',
'noresult.keys.title': 'No API Keys',
'noresult.keys.subTitle': 'No API keys have been added yet.',
'noresult.keys.nofound': 'No matching API keys found.',
'noresult.catalog.title': 'No Models',
'noresult.catalog.subTitle': 'No models have been configured yet.',
'noresult.catalog.nofound': 'No matching models found.'
};
+1 -1
View File
@@ -8,7 +8,7 @@ export default {
'users.table.status': 'Status',
'users.status.active': 'Active',
'users.status.inactive': 'Inactive',
'users.form.active': 'Active account',
'users.form.active': 'Active Account',
'users.form.active.description': 'Enable or disable this user account',
'users.form.fullname': 'Full Name',
'users.form.source': 'Source',
+4 -2
View File
@@ -190,7 +190,8 @@ export default {
'models.accessSettings.authed': 'Authenticated',
'models.accessSettings.allowedUsers': 'Allowed users',
'models.accessSettings.public.tips':
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.'
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
'models.table.button.deploy': 'Deploy Now'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -222,6 +223,7 @@ export default {
// 27. 'models.accessSettings.public': 'Public',
// 28. 'models.accessSettings.authed': 'Authenticated',
// 29. 'models.accessSettings.allowedUsers': 'Allowed users',
// 30. 'models.accessSettings.public.tips': 'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.'
// 30. 'models.accessSettings.public.tips': 'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
// 31. 'models.table.button.deploy': 'Deploy Now'
// ========== End of To-Do List ==========
+37
View File
@@ -0,0 +1,37 @@
export default {
'noresult.button.add': 'Add Now',
'noresult.mymodels.title': 'No Accessible Models',
'noresult.mymodels.subTitle': 'Please contact the administrator for access.',
'noresult.mymodels.nofound': 'No matching models found',
'noresult.deployments.title': 'No Deployed Models',
'noresult.deployments.subTitle':
'You have not deployed any models yet. Click the button below to get started.',
'noresult.gpus.title': 'No GPU Devices Detected',
'noresult.gpus.subTitle': 'Please check if the Worker status is READY.',
'noresult.gpus.nofound': 'No matching GPU devices found.',
'noresult.workers.title': 'No Workers',
'noresult.workers.subTitle': 'No workers found in any clusters.',
'noresult.workers.nofound': 'No matching workers found.',
'noresult.workers.button.add': 'Go to Add Worker',
'noresult.modelfiles.title': 'No Model Files',
'noresult.modelfiles.subTitle': 'No model files have been added yet.',
'noresult.modelfiles.nofound': 'No matching model files found.',
'noresult.backend.title': 'No Inference Backends',
'noresult.backend.subTitle': 'No inference backends have been added yet.',
'noresult.backend.nofound': 'No matching inference backends found.',
'noresult.cluster.title': 'No Clusters',
'noresult.cluster.subTitle': 'No clusters have been added yet.',
'noresult.cluster.nofound': 'No matching clusters found.',
'noresult.credentials.title': 'No Credentials',
'noresult.credentials.subTitle': 'No credentials have been added yet.',
'noresult.credentials.nofound': 'No matching credentials found.',
'noresult.users.title': 'No Users',
'noresult.users.subTitle': 'No users have been added yet.',
'noresult.users.nofound': 'No matching users found.',
'noresult.keys.title': 'No API Keys',
'noresult.keys.subTitle': 'No API keys have been added yet.',
'noresult.keys.nofound': 'No matching API keys found.',
'noresult.catalog.title': 'No Models',
'noresult.catalog.subTitle': 'No models have been configured yet.',
'noresult.catalog.nofound': 'No matching models found.'
};
+4 -2
View File
@@ -193,7 +193,8 @@ export default {
'models.accessSettings.authed': 'Authenticated',
'models.accessSettings.allowedUsers': 'Allowed users',
'models.accessSettings.public.tips':
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.'
'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
'models.table.button.deploy': 'Deploy Now'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -217,5 +218,6 @@ export default {
// 19. 'models.accessSettings.public': 'Public',
// 20. 'models.accessSettings.authed': 'Authenticated',
// 21. 'models.accessSettings.allowedUsers': 'Allowed users',
// 22. 'models.accessSettings.public.tips': 'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.'
// 22. 'models.accessSettings.public.tips': 'When set to public, anyone can access this model without authentication, which may lead to data exposure risks.',
// 23. 'models.table.button.deploy': 'Deploy Now'
// ========== End of To-Do List ==========
+37
View File
@@ -0,0 +1,37 @@
export default {
'noresult.button.add': 'Add Now',
'noresult.mymodels.title': 'No Accessible Models',
'noresult.mymodels.subTitle': 'Please contact the administrator for access.',
'noresult.mymodels.nofound': 'No matching models found',
'noresult.deployments.title': 'No Deployed Models',
'noresult.deployments.subTitle':
'You have not deployed any models yet. Click the button below to get started.',
'noresult.gpus.title': 'No GPU Devices Detected',
'noresult.gpus.subTitle': 'Please check if the Worker status is READY.',
'noresult.gpus.nofound': 'No matching GPU devices found.',
'noresult.workers.title': 'No Workers',
'noresult.workers.subTitle': 'No workers found in any clusters.',
'noresult.workers.nofound': 'No matching workers found.',
'noresult.workers.button.add': 'Go to Add Worker',
'noresult.modelfiles.title': 'No Model Files',
'noresult.modelfiles.subTitle': 'No model files have been added yet.',
'noresult.modelfiles.nofound': 'No matching model files found.',
'noresult.backend.title': 'No Inference Backends',
'noresult.backend.subTitle': 'No inference backends have been added yet.',
'noresult.backend.nofound': 'No matching inference backends found.',
'noresult.cluster.title': 'No Clusters',
'noresult.cluster.subTitle': 'No clusters have been added yet.',
'noresult.cluster.nofound': 'No matching clusters found.',
'noresult.credentials.title': 'No Credentials',
'noresult.credentials.subTitle': 'No credentials have been added yet.',
'noresult.credentials.nofound': 'No matching credentials found.',
'noresult.users.title': 'No Users',
'noresult.users.subTitle': 'No users have been added yet.',
'noresult.users.nofound': 'No matching users found.',
'noresult.keys.title': 'No API Keys',
'noresult.keys.subTitle': 'No API keys have been added yet.',
'noresult.keys.nofound': 'No matching API keys found.',
'noresult.catalog.title': 'No Models',
'noresult.catalog.subTitle': 'No models have been configured yet.',
'noresult.catalog.nofound': 'No matching models found.'
};
+2 -1
View File
@@ -183,5 +183,6 @@ export default {
'models.accessSettings.authed': '认证用户',
'models.accessSettings.allowedUsers': '指定用户',
'models.accessSettings.public.tips':
'公开后,任何人无需认证即可访问,可能存在数据泄露风险。'
'公开后,任何人无需认证即可访问,可能存在数据泄露风险。',
'models.table.button.deploy': '立即部署'
};
+37
View File
@@ -0,0 +1,37 @@
export default {
'noresult.button.add': '立即添加',
'noresult.mymodels.title': '暂无可访问的模型',
'noresult.mymodels.subTitle': '请联系管理员获取访问权限。',
'noresult.mymodels.nofound': '未找到匹配的模型',
'noresult.deployments.title': '尚未部署模型',
'noresult.deployments.subTitle':
'您还没有部署任何模型,点击下方按钮即可开始。',
'noresult.gpus.title': '当前未检测到 GPU 设备',
'noresult.gpus.subTitle': '请确认 Worker 状态是否正常。',
'noresult.gpus.nofound': '未找到匹配的 GPU 设备',
'noresult.workers.title': '暂无 Worker',
'noresult.workers.subTitle': '当前集群中没有任何 Worker。',
'noresult.workers.nofound': '未找到匹配的 Worker',
'noresult.workers.button.add': '前往添加 Worker',
'noresult.modelfiles.title': '暂无模型文件',
'noresult.modelfiles.subTitle': '尚未添加任何模型文件。',
'noresult.modelfiles.nofound': '未找到匹配的模型文件',
'noresult.backend.title': '暂无推理后端',
'noresult.backend.subTitle': '尚未添加任何推理后端。',
'noresult.backend.nofound': '未找到匹配的推理后端',
'noresult.cluster.title': '暂无集群',
'noresult.cluster.subTitle': '尚未添加任何集群。',
'noresult.cluster.nofound': '未找到匹配的集群',
'noresult.credentials.title': '暂无凭据',
'noresult.credentials.subTitle': '尚未添加任何凭据。',
'noresult.credentials.nofound': '未找到匹配的凭据',
'noresult.users.title': '暂无用户',
'noresult.users.subTitle': '尚未添加任何用户。',
'noresult.users.nofound': '未找到匹配的用户',
'noresult.keys.title': '暂无 API 密钥',
'noresult.keys.subTitle': '尚未添加任何 API 密钥。',
'noresult.keys.nofound': '未找到匹配的 API 密钥',
'noresult.catalog.title': '暂无模型',
'noresult.catalog.subTitle': '尚未配置任何模型。',
'noresult.catalog.nofound': '未找到匹配的模型'
};