diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 9bf8bbe35..b54a1a0ac 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -715,6 +715,7 @@ const message = { emptyTerminal: 'No terminal is currently connected', }, logs: { + panelLog: 'Panel logs', operation: 'Operation logs', login: 'Login logs', system: 'System logs', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index b7357d8d2..b4a622c09 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -720,6 +720,7 @@ const message = { emptyTerminal: '暂无终端连接', }, logs: { + panelLog: '面板日志', operation: '操作日志', login: '登录日志', loginIP: '登录 IP', diff --git a/frontend/src/styles/common.scss b/frontend/src/styles/common.scss index 98f62fcf9..c267aa88f 100644 --- a/frontend/src/styles/common.scss +++ b/frontend/src/styles/common.scss @@ -323,4 +323,9 @@ width: 300px; height: 300px; } +} + +.no-active-button { + background: none; + border: none; } \ No newline at end of file diff --git a/frontend/src/views/log/index.vue b/frontend/src/views/log/index.vue index 259b75595..5bf9d839c 100644 --- a/frontend/src/views/log/index.vue +++ b/frontend/src/views/log/index.vue @@ -14,17 +14,9 @@ import RouterButton from '@/components/router-button/index.vue'; const buttons = [ { - label: i18n.global.t('logs.operation'), + label: i18n.global.t('logs.panelLog'), path: '/logs/operation', }, - { - label: i18n.global.t('logs.login'), - path: '/logs/login', - }, - { - label: i18n.global.t('logs.system'), - path: '/logs/system', - }, { label: i18n.global.t('ssh.loginLogs'), path: '/logs/ssh', diff --git a/frontend/src/views/log/login/index.vue b/frontend/src/views/log/login/index.vue index da0f1f44d..457e009e0 100644 --- a/frontend/src/views/log/login/index.vue +++ b/frontend/src/views/log/login/index.vue @@ -4,8 +4,14 @@