diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index d22f4e0b8..fe63282a7 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -348,83 +348,82 @@ "": "" }, "route": { - "": "", "AdminUserCreate": "Admin user create", - "AdminUserDetail": "", + "AdminUserDetail": "Admin user detail", "AdminUserList": "Admin users", - "AdminUserUpdate": "", + "AdminUserUpdate": "Admin user update", "Applications": "Applications", - "AssetCreate": "", - "AssetDetail": "", + "AssetCreate": "Asset create", + "AssetDetail": "Asset detail", "AssetList": "Assets", "AssetPermission": "Asset permissions", "AssetPermissionCreate": "Asset permissions create", "AssetPermissionDetail": "Asset permissions detail", "AssetPermissionUpdate": "Asset permissions update", - "AssetUpdate": "", + "AssetUpdate": "Asset update", "Assets": "Assets", "Audits": "Audits", "BatchCommand": "Batch command", - "CeleryTaskLog": "", - "CommandExecutions": "", - "CommandFilterCreate": "\\u521b\\u5efa\\u547d\\u4ee4\\u8fc7\\u6ee4\\u5668", - "CommandFilterDetail": "", + "CeleryTaskLog": "Celery task log", + "CommandExecutions": "CommandExecutions ", + "CommandFilterCreate": "Command filter create", + "CommandFilterDetail": "Command filter detail", "CommandFilterList": "Command filters", - "CommandFilterRulesCreate": " \\u521b\\u5efa\\u547d\\u4ee4\\u8fc7\\u6ee4\\u5668\\u89c4\\u5219", - "CommandFilterRulesUpdate": "", - "CommandFilterUpdate": "\\u66f4\\u65b0\\u547d\\u4ee4\\u8fc7\\u6ee4\\u5668", + "CommandFilterRulesCreate": "Command filter rules create", + "CommandFilterRulesUpdate": "Command filter rules update", + "CommandFilterUpdate": "Command filter update", "CommandStorageUpdate": "Command storage update", "Commands": "Commands", "CreateCommandStorage": "Create command storage", "CreateReplayStorage": "Create replay storage", "Dashboard": "Dashboard", "DatabaseApp": "Database apps", - "DatabaseAppCreate": "", + "DatabaseAppCreate": "Database app create", "DatabaseAppDetail": "Database app detail", "DatabaseAppPermission": "Databases permissions", "DatabaseAppPermissionCreate": "Databases permissions create", "DatabaseAppPermissionDetail": "Databases permissions detail", "DatabaseAppPermissionUpdate": "Databases permissions update", - "DatabaseAppUpdate": "", - "DomainCreate": "", - "DomainDetail": "", + "DatabaseAppUpdate": "Database app update", + "DomainCreate": "Domain create", + "DomainDetail": "Domain detail", "DomainList": "Domains", - "DomainUpdate": "", + "DomainUpdate": "Domain update", "FileManager": "File manager", "FtpLog": "FTP logs", - "GatewayCreate": "", - "GatewayUpdate": "", + "GatewayCreate": "Gateway create", + "GatewayUpdate": "Gateway update", "JobCenter": "Job center", - "LabelCreate": "\\u521b\\u5efa\\u6807\\u7b7e", + "LabelCreate": "Label create", "LabelList": "Labels", - "LabelUpdate": "\\u66f4\\u65b0\\u6807\\u7b7e", + "LabelUpdate": "Label update", "LoginLog": "Login logs", - "MyApps": "", - "MyAssets": "", + "MyApps": "My apps", + "MyAssets": "My assets", "OperateLog": "Operation logs", "PasswordChangeLog": "Password update logs", "Perms": "Permissions", - "PlatformCreate": "\\u521b\\u5efa\\u7cfb\\u7edf\\u5e73\\u53f0", - "PlatformDetail": "", + "PlatformCreate": "Platform create", + "PlatformDetail": "Platform detail", "PlatformList": "Platforms", - "PlatformUpdate": "\\u66f4\\u65b0\\u7cfb\\u7edf\\u5e73\\u53f0", + "PlatformUpdate": "Platform update", "RemoteApp": "Remote apps", "RemoteAppDetail": "Remote app detail", "RemoteAppPermission": "Remote apps permissions", "RemoteAppPermissionCreate": "Remote apps permission create", "RemoteAppPermissionDetail": "Remote apps permissions detail", "RemoteAppPermissionUpdate": "Remote app permission update", - "RemoteAppUpdate": "", + "RemoteAppUpdate": "Remote app update", "ReplayStorageUpdate": "Replay storage update", "SessionDetail": "Sessions detail", "SessionOffline": "Sessions offline", "SessionOnline": "Sessions online", "Sessions": "Sessions", "Settings": "Settings", - "SystemUserCreate": "\\u521b\\u5efa\\u7cfb\\u7edf\\u7528\\u6237", - "SystemUserDetail": "\\u7cfb\\u7edf\\u7528\\u6237\\u8be6\\u60c5", + "SystemUserCreate": "System user create", + "SystemUserDetail": "System user detail", "SystemUserList": "System users", - "SystemUserUpdate": "\\u66f4\\u65b0\\u7cfb\\u7edf\\u7528\\u6237", + "SystemUserUpdate": "System user update", "TaskDetail": "Tasks detail", "TaskList": "Tasks", "Terminal": "Terminal", @@ -435,12 +434,12 @@ "UserGroupCreate": "User group create", "UserGroupDetail": "User group detail", "UserGroupList": "User groups", - "UserGroupUpdate": "", + "UserGroupUpdate": "User group update", "UserList": "Users", - "UserProfile": "", + "UserProfile": "User profile", "UserUpdate": "User update", "Users": "Users", - "WebFTP": "", + "WebFTP": "WebFTP", "WebTerminal": "Web terminal", "BatchCommandLog": "Batch command log" }, diff --git a/src/userviews/users/UserProfile/SSHUpdate.vue b/src/userviews/users/UserProfile/SSHUpdate.vue index 7316e9120..33869466f 100644 --- a/src/userviews/users/UserProfile/SSHUpdate.vue +++ b/src/userviews/users/UserProfile/SSHUpdate.vue @@ -55,7 +55,7 @@ export default { { title: this.$t('users.ResetAndDownloadSSHKey'), callback: function() { - window.open(`/users/profile/pubkey/generate/`, '_blank') + window.open(`/core/users/profile/pubkey/generate/`, '_blank') } } ] diff --git a/src/views/assets/AdminUser/AdminUserDetail/AssetsList.vue b/src/views/assets/AdminUser/AdminUserDetail/AssetsList.vue index 971e39ad3..b0f16fe86 100644 --- a/src/views/assets/AdminUser/AdminUserDetail/AssetsList.vue +++ b/src/views/assets/AdminUser/AdminUserDetail/AssetsList.vue @@ -67,7 +67,7 @@ export default { this.$axios.get( `api/v1/assets/admin-users/${this.object.id}/connective/` ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') } ) }.bind(this) @@ -123,7 +123,7 @@ export default { `api/v1/assets/asset-users/tasks/?id=${val.cellValue}`, { action: 'test' } ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') }) } }, diff --git a/src/views/assets/Asset/AssetDetail/AssetList.vue b/src/views/assets/Asset/AssetDetail/AssetList.vue index dc4144fbc..e851cb7d0 100644 --- a/src/views/assets/Asset/AssetDetail/AssetList.vue +++ b/src/views/assets/Asset/AssetDetail/AssetList.vue @@ -42,7 +42,7 @@ export default { { action: 'test' } ).then(res => { console.log(`/ops/celery/task/${res.task}/log/`) - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') } ) }.bind(this) diff --git a/src/views/assets/Asset/AssetDetail/Detail.vue b/src/views/assets/Asset/AssetDetail/Detail.vue index 25f3f1e27..f3d8daa39 100644 --- a/src/views/assets/Asset/AssetDetail/Detail.vue +++ b/src/views/assets/Asset/AssetDetail/Detail.vue @@ -64,7 +64,7 @@ export default { `/api/v1/assets/assets/${this.object.id}/tasks/`, { action: 'refresh' } ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') } ) }.bind(this) @@ -82,7 +82,7 @@ export default { `/api/v1/assets/assets/${this.object.id}/tasks/`, { action: 'test' } ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') } ) }.bind(this) diff --git a/src/views/assets/SystemUser/SystemUserDetail/AssetList.vue b/src/views/assets/SystemUser/SystemUserDetail/AssetList.vue index d09e842d9..0db4ddd2f 100644 --- a/src/views/assets/SystemUser/SystemUserDetail/AssetList.vue +++ b/src/views/assets/SystemUser/SystemUserDetail/AssetList.vue @@ -110,7 +110,7 @@ export default { `api/v1/assets/system-users/${this.object.id}/tasks/`, { action: 'test' } ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') } ) }.bind(this) @@ -166,7 +166,7 @@ export default { `api/v1/assets/asset-users/tasks/?id=${val.cellValue}`, { action: 'test' } ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') }) } }, diff --git a/src/views/assets/SystemUser/SystemUserList.vue b/src/views/assets/SystemUser/SystemUserList.vue index 7bcaffea9..578027ad9 100644 --- a/src/views/assets/SystemUser/SystemUserList.vue +++ b/src/views/assets/SystemUser/SystemUserList.vue @@ -64,7 +64,7 @@ export default { ] }, headerActions: { - // hasBulkDelete: false, + hasBulkDelete: false, hasMoreActions: false, createRoute: 'SystemUserCreate' }, diff --git a/src/views/audits/FTPLogList.vue b/src/views/audits/FTPLogList.vue index 4acbb9c04..b8cadf542 100644 --- a/src/views/audits/FTPLogList.vue +++ b/src/views/audits/FTPLogList.vue @@ -19,7 +19,7 @@ export default { ], columnsMeta: { remote_addr: { - width: '130px' + width: '140px' }, operate: { width: '90px' diff --git a/src/views/audits/LoginLogList.vue b/src/views/audits/LoginLogList.vue index e3f04f36e..47d6babff 100644 --- a/src/views/audits/LoginLogList.vue +++ b/src/views/audits/LoginLogList.vue @@ -39,9 +39,8 @@ export default { }, headerActions: { hasLeftActions: false, - hasDatePicker: true, hasImport: false, - hasRefresh: false + hasDatePicker: true } } } diff --git a/src/views/ops/TaskDetail/HistoryExecutionDetail/HistoryExecutionDetail.vue b/src/views/ops/TaskDetail/HistoryExecutionDetail/HistoryExecutionDetail.vue index 8d4a71717..e799b01b2 100644 --- a/src/views/ops/TaskDetail/HistoryExecutionDetail/HistoryExecutionDetail.vue +++ b/src/views/ops/TaskDetail/HistoryExecutionDetail/HistoryExecutionDetail.vue @@ -43,7 +43,7 @@ export default { callbacks: { click: function() { const taskId = vm.object.id - window.open(`/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600') } } } diff --git a/src/views/ops/TaskDetail/TaskDetail.vue b/src/views/ops/TaskDetail/TaskDetail.vue index 97e88e7b4..7c0c7d38a 100644 --- a/src/views/ops/TaskDetail/TaskDetail.vue +++ b/src/views/ops/TaskDetail/TaskDetail.vue @@ -43,7 +43,7 @@ export default { callbacks: { click: function() { const taskId = vm.object.latest_execution.id - window.open(`/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${taskId}/log/`, '', 'width=900,height=600') } } } diff --git a/src/views/ops/TaskList.vue b/src/views/ops/TaskList.vue index a953c3168..40c9e11af 100644 --- a/src/views/ops/TaskList.vue +++ b/src/views/ops/TaskList.vue @@ -72,7 +72,7 @@ export default { this.$axios.get( `/api/v1/ops/tasks/${cellValue}/run/` ).then(res => { - window.open(`/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') + window.open(`/core/ops/celery/task/${res.task}/log/`, '', 'width=900,height=600') }) } }