feat(admin): add Custom ID/Original ID display with copy actions

This commit is contained in:
xboard
2025-10-20 21:46:26 +08:00
parent e3c746d314
commit 213aff3993
5 changed files with 22 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
title: 'Xboard',
version: '1.0.0',
logo: 'https://xboard.io/i6mages/logo.png',
secure_path: '/ea25d015',
secure_path: '/afbced4e',
}
</script>
<script src="./locales/en-US.js"></script>

View File

@@ -2037,6 +2037,8 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"disk": "Disk Usage",
"lastUpdate": "Last Updated"
},
"customId": "Custom ID",
"originalId": "Original ID",
"type": "Type",
"actions": "Actions",
"copyAddress": "Copy Connection Address",
@@ -2081,7 +2083,9 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"label": "Base Rate",
"error": "Base rate is required",
"error_numeric": "Base rate must be a number",
"error_gte_zero": "Base rate must be greater than or equal to 0"
"error_gte_zero": "Base rate must be greater than or equal to 0",
"child_node_tooltip": "Child node's base rate is inherited from parent node and cannot be set separately",
"child_node_note": "Child node rate inherited from parent"
},
"dynamic_rate": {
"section_title": "Dynamic Rate Configuration",

View File

@@ -2004,6 +2004,8 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"disk": "磁盘使用",
"lastUpdate": "最后更新"
},
"customId": "自定义ID",
"originalId": "原始ID",
"type": "类型",
"actions": "操作",
"copyAddress": "复制连接地址",
@@ -2048,7 +2050,9 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"label": "基础倍率",
"error": "基础倍率不能为空",
"error_numeric": "基础倍率必须是数字",
"error_gte_zero": "基础倍率必须大于或等于0"
"error_gte_zero": "基础倍率必须大于或等于0",
"child_node_tooltip": "子节点的基础倍率继承自父节点,无法单独设置",
"child_node_note": "子节点倍率继承自父节点"
},
"dynamic_rate": {
"section_title": "动态倍率配置",