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
+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.'
};