diff --git a/public/i18n/en/translation.json b/public/i18n/en/translation.json index 55e44cf61..daa5da2f5 100644 --- a/public/i18n/en/translation.json +++ b/public/i18n/en/translation.json @@ -563,7 +563,14 @@ "title": "VPN" }, "logs": { - "title": "Logs" + "title": "Logs", + "limit_rows": "Limit rows", + "wrap_row": "Wrap log rows", + "search": "Search", + "search_placeholder": "Search logs", + "pooling": "Tail logs", + "search_error": "Invalid `grep` format.", + "search_tooltip": "Search uses `grep` command format." }, "report": { "title": "Report" diff --git a/src/router/index.ts b/src/router/index.ts index 6de83a861..2e0444fea 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -64,6 +64,11 @@ const standaloneRoutes = [ path: 'firewall/port-forward', name: 'PortForward', component: () => import('../views/standalone/firewall/PortForward.vue') + }, + { + path: 'logs', + name: 'Logs', + component: () => import('../views/standalone/LogsView.vue') } ] diff --git a/src/views/standalone/LogsView.vue b/src/views/standalone/LogsView.vue new file mode 100644 index 000000000..cdb4ed747 --- /dev/null +++ b/src/views/standalone/LogsView.vue @@ -0,0 +1,178 @@ + + +