fix: remove quick create UI (sidebar, i18n) and delete InboundTemplates page

This commit is contained in:
風雪 committed 2026-08-16 15:25:49 +08:00
1 parent aa3dfd9dc9
commit 2a4d6dbd60
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -2,7 +2,7 @@ import React from 'react';
import { Layout, Menu } from 'antd';
import {
DashboardOutlined, NodeIndexOutlined, UserOutlined, SettingOutlined,
CodeOutlined, FileTextOutlined, ApiOutlined, LogoutOutlined, ThunderboltOutlined,
CodeOutlined, FileTextOutlined, ApiOutlined, LogoutOutlined,
} from '@ant-design/icons';
import { useNavigate, useLocation } from 'react-router-dom';
import { useAuthStore } from '../stores/authStore';
@@ -19,7 +19,6 @@ const Sidebar: React.FC<{ collapsed: boolean }> = ({ collapsed }) => {
const items = [
{ key: '/', icon: <DashboardOutlined />, label: t('nav.dashboard') },
{ key: '/listeners', icon: <NodeIndexOutlined />, label: t('nav.listeners') },
{ key: '/inbound-templates', icon: <ThunderboltOutlined />, label: t('nav.inboundTemplates') },
{ key: '/users', icon: <UserOutlined />, label: t('nav.users') },
{ key: '/core', icon: <ApiOutlined />, label: t('nav.core') },
{ key: '/logs', icon: <FileTextOutlined />, label: t('nav.logs') },
+1 -2
View File
@@ -1,7 +1,7 @@
export default {
app: { name: '3M-UI', title: 'Mihomo Core Management' },
nav: {
dashboard: 'Dashboard', listeners: 'Nodes', inboundTemplates: 'Quick Create', users: 'Users',
dashboard: 'Dashboard', listeners: 'Nodes', users: 'Users',
core: 'Core', logs: 'Logs', config: 'Config', settings: 'Settings', logout: 'Logout',
},
common: {
@@ -70,5 +70,4 @@ export default {
passwordDescription: 'Change your password regularly to improve security', changePassword: 'Change Password',
about: 'About 3M-UI', version: 'Version',
},
templates: { title: 'Quick Create Node' },
};