From 2e0896e34d76f75d7b9f5a69348dba451d477007 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sat, 16 May 2026 09:30:31 +0000 Subject: [PATCH] feat(admin): AdminView with users, config, and executions tabs --- frontend/src/views/AdminView.vue | 278 ++++++++++++++++++++++++++++++- locales/en.json | 24 +++ locales/zh.json | 24 +++ 3 files changed, 323 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/AdminView.vue b/frontend/src/views/AdminView.vue index d764dd3a..36759380 100644 --- a/frontend/src/views/AdminView.vue +++ b/frontend/src/views/AdminView.vue @@ -1,9 +1,281 @@ + + diff --git a/locales/en.json b/locales/en.json index 4441f452..4ca1ecca 100644 --- a/locales/en.json +++ b/locales/en.json @@ -790,5 +790,29 @@ }, "error": { "filesLostAfterRefresh": "Files were lost after page refresh. Redirecting to home to re-select files…" + }, + "admin": { + "users": "Users", + "config": "Configuration", + "executions": "Execution History", + "inviteUser": "Invite User", + "name": "Name", + "email": "Email", + "role": "Role", + "status": "Status", + "created": "Created", + "actions": "Actions", + "send": "Send", + "inviteSent": "Invitation sent.", + "reinvite": "Resend invitation", + "disable": "Disable user", + "noUsers": "No users found.", + "noConfig": "No configuration entries.", + "configSaved": "Configuration saved.", + "noExecutions": "No executions found.", + "user": "User", + "project": "Project", + "platform": "Platform", + "rounds": "Rounds" } } \ No newline at end of file diff --git a/locales/zh.json b/locales/zh.json index deda77bc..20050781 100644 --- a/locales/zh.json +++ b/locales/zh.json @@ -790,5 +790,29 @@ }, "error": { "filesLostAfterRefresh": "刷新页面后文件丢失,正在跳转到首页重新选择文件…" + }, + "admin": { + "users": "用户", + "config": "配置", + "executions": "执行历史", + "inviteUser": "邀请用户", + "name": "姓名", + "email": "邮箱", + "role": "角色", + "status": "状态", + "created": "创建时间", + "actions": "操作", + "send": "发送", + "inviteSent": "邀请已发送。", + "reinvite": "重新发送邀请", + "disable": "禁用用户", + "noUsers": "暂无用户。", + "noConfig": "暂无配置项。", + "configSaved": "配置已保存。", + "noExecutions": "暂无执行记录。", + "user": "用户", + "project": "项目", + "platform": "平台", + "rounds": "轮次" } } \ No newline at end of file