mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-15 12:30:51 +08:00
feat(admin): add user details dialog and fix editor resize bug
This commit is contained in:
26
public/assets/admin/assets/index.js
vendored
26
public/assets/admin/assets/index.js
vendored
File diff suppressed because one or more lines are too long
84
public/assets/admin/locales/en-US.js
vendored
84
public/assets/admin/locales/en-US.js
vendored
@@ -2491,6 +2491,7 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
||||
},
|
||||
"actions_menu": {
|
||||
"edit": "Edit",
|
||||
"view_details": "View Details",
|
||||
"assign_order": "Assign Order",
|
||||
"copy_url": "Copy Subscribe URL",
|
||||
"reset_secret": "Reset UUID & URL",
|
||||
@@ -2631,36 +2632,13 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"title": "Actions",
|
||||
"send_email": "Send Email",
|
||||
"export_csv": "Export CSV",
|
||||
"traffic_reset_stats": "Traffic Reset Stats",
|
||||
"batch_ban": "Batch Ban",
|
||||
"confirm_ban": {
|
||||
"title": "Confirm Batch Ban",
|
||||
"filtered_description": "This action will ban all users that match your current filters. This action cannot be undone.",
|
||||
"all_description": "This action will ban all users in the system. This action cannot be undone.",
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Confirm Ban",
|
||||
"banning": "Banning..."
|
||||
}
|
||||
"unbind": "Unbind",
|
||||
"unbindTelegramTitle": "Confirm Unbind Telegram",
|
||||
"unbindTelegramDescription": "This action will unbind the user's Telegram account. The user will need to rebind to receive notifications. Are you sure you want to continue?"
|
||||
},
|
||||
"messages": {
|
||||
"success": "Success",
|
||||
"error": "Error",
|
||||
"export": {
|
||||
"success": "Export successful",
|
||||
"failed": "Export failed"
|
||||
},
|
||||
"batch_ban": {
|
||||
"success": "Batch ban successful",
|
||||
"failed": "Batch ban failed"
|
||||
},
|
||||
"send_mail": {
|
||||
"success": "Email sent successfully",
|
||||
"failed": "Failed to send email",
|
||||
"required_fields": "Please fill in all required fields"
|
||||
}
|
||||
"telegramUnbound": "Telegram unbound successfully",
|
||||
"telegramUnbindFailed": "Failed to unbind Telegram"
|
||||
},
|
||||
"traffic_reset": {
|
||||
"title": "Traffic Reset",
|
||||
@@ -2780,6 +2758,56 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
||||
"content": "Content",
|
||||
"sending": "Sending...",
|
||||
"send": "Send"
|
||||
},
|
||||
"dialog": {
|
||||
"title": "User Details",
|
||||
"basicInfo": "Basic Information",
|
||||
"subscriptionInfo": "Subscription Information",
|
||||
"trafficInfo": "Traffic Information",
|
||||
"financialInfo": "Financial Information",
|
||||
"activityInfo": "Activity Information",
|
||||
"inviteInfo": "Invitation Information",
|
||||
"timeInfo": "Time Information",
|
||||
"subscriptionUrl": "Subscription URL",
|
||||
"fields": {
|
||||
"userId": "User ID",
|
||||
"email": "Email",
|
||||
"uuid": "UUID",
|
||||
"token": "Token",
|
||||
"remarks": "Remarks",
|
||||
"subscriptionPlan": "Subscription Plan",
|
||||
"permissionGroup": "Permission Group",
|
||||
"expiredAt": "Expired At",
|
||||
"deviceLimit": "Device Limit",
|
||||
"speedLimit": "Speed Limit",
|
||||
"transferEnable": "Total Traffic",
|
||||
"uploadUsed": "Upload Used",
|
||||
"downloadUsed": "Download Used",
|
||||
"totalUsed": "Total Used",
|
||||
"lastResetAt": "Last Reset",
|
||||
"nextResetAt": "Next Reset",
|
||||
"resetCount": "Reset Count",
|
||||
"balance": "Balance",
|
||||
"commissionBalance": "Commission Balance",
|
||||
"commissionType": "Commission Type",
|
||||
"commissionRate": "Commission Rate",
|
||||
"lastLoginAt": "Last Login",
|
||||
"lastLoginIp": "Last Login IP",
|
||||
"lastOnlineAt": "Last Online",
|
||||
"onlineCount": "Online Devices",
|
||||
"inviteUser": "Inviter",
|
||||
"inviteUserId": "Inviter ID",
|
||||
"createdAt": "Created At",
|
||||
"updatedAt": "Updated At",
|
||||
"subscribeUrl": "Subscription URL",
|
||||
"telegramId": "Telegram ID"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"normal": "Normal",
|
||||
"banned": "Banned",
|
||||
"admin": "Admin",
|
||||
"staff": "Staff"
|
||||
}
|
||||
},
|
||||
"subscribe": {
|
||||
|
||||
84
public/assets/admin/locales/zh-CN.js
vendored
84
public/assets/admin/locales/zh-CN.js
vendored
@@ -2457,6 +2457,7 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
},
|
||||
"actions_menu": {
|
||||
"edit": "编辑",
|
||||
"view_details": "查看详情",
|
||||
"assign_order": "分配订单",
|
||||
"copy_url": "复制订阅URL",
|
||||
"reset_secret": "重置UUID及订阅URL",
|
||||
@@ -2597,19 +2598,9 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"title": "操作",
|
||||
"send_email": "发送邮件",
|
||||
"export_csv": "导出 CSV",
|
||||
"traffic_reset_stats": "流量重置统计",
|
||||
"batch_ban": "批量封禁",
|
||||
"confirm_ban": {
|
||||
"title": "确认批量封禁",
|
||||
"filtered_description": "此操作将封禁所有符合当前筛选条件的用户。此操作无法撤销。",
|
||||
"all_description": "此操作将封禁系统中的所有用户。此操作无法撤销。",
|
||||
"cancel": "取消",
|
||||
"confirm": "确认封禁",
|
||||
"banning": "封禁中..."
|
||||
}
|
||||
"unbind": "解绑",
|
||||
"unbindTelegramTitle": "确认解绑Telegram",
|
||||
"unbindTelegramDescription": "此操作将解绑用户的Telegram账号,用户需要重新绑定才能接收通知。确定要继续吗?"
|
||||
},
|
||||
"traffic_reset": {
|
||||
"title": "流量重置",
|
||||
@@ -2723,21 +2714,8 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
"success": "成功",
|
||||
"error": "错误",
|
||||
"export": {
|
||||
"success": "导出成功",
|
||||
"failed": "导出失败"
|
||||
},
|
||||
"batch_ban": {
|
||||
"success": "批量封禁成功",
|
||||
"failed": "批量封禁失败"
|
||||
},
|
||||
"send_mail": {
|
||||
"success": "邮件发送成功",
|
||||
"failed": "邮件发送失败",
|
||||
"required_fields": "请填写所有必填字段"
|
||||
}
|
||||
"telegramUnbound": "Telegram解绑成功",
|
||||
"telegramUnbindFailed": "Telegram解绑失败"
|
||||
},
|
||||
"send_mail": {
|
||||
"title": "发送邮件",
|
||||
@@ -2746,6 +2724,56 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
"content": "内容",
|
||||
"sending": "发送中...",
|
||||
"send": "发送"
|
||||
},
|
||||
"dialog": {
|
||||
"title": "用户详情",
|
||||
"basicInfo": "基本信息",
|
||||
"subscriptionInfo": "订阅信息",
|
||||
"trafficInfo": "流量信息",
|
||||
"financialInfo": "财务信息",
|
||||
"activityInfo": "活动信息",
|
||||
"inviteInfo": "邀请信息",
|
||||
"timeInfo": "时间信息",
|
||||
"subscriptionUrl": "订阅链接",
|
||||
"fields": {
|
||||
"userId": "用户ID",
|
||||
"email": "邮箱",
|
||||
"uuid": "UUID",
|
||||
"token": "Token",
|
||||
"remarks": "备注",
|
||||
"subscriptionPlan": "订阅套餐",
|
||||
"permissionGroup": "权限组",
|
||||
"expiredAt": "到期时间",
|
||||
"deviceLimit": "设备限制",
|
||||
"speedLimit": "速度限制",
|
||||
"transferEnable": "总流量",
|
||||
"uploadUsed": "上传已用",
|
||||
"downloadUsed": "下载已用",
|
||||
"totalUsed": "总已用",
|
||||
"lastResetAt": "上次重置",
|
||||
"nextResetAt": "下次重置",
|
||||
"resetCount": "重置次数",
|
||||
"balance": "余额",
|
||||
"commissionBalance": "佣金余额",
|
||||
"commissionType": "佣金类型",
|
||||
"commissionRate": "佣金比例",
|
||||
"lastLoginAt": "最后登录",
|
||||
"lastLoginIp": "最后登录IP",
|
||||
"lastOnlineAt": "最后在线",
|
||||
"onlineCount": "在线设备",
|
||||
"inviteUser": "邀请人",
|
||||
"inviteUserId": "邀请人ID",
|
||||
"createdAt": "创建时间",
|
||||
"updatedAt": "更新时间",
|
||||
"subscribeUrl": "订阅链接",
|
||||
"telegramId": "Telegram ID"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"normal": "正常",
|
||||
"banned": "已封禁",
|
||||
"admin": "管理员",
|
||||
"staff": "员工"
|
||||
}
|
||||
},
|
||||
"subscribe": {
|
||||
|
||||
Reference in New Issue
Block a user