diff --git a/frontend/src/components/Layout/AppLayout.vue b/frontend/src/components/Layout/AppLayout.vue index bfe352f..9bdbda8 100644 --- a/frontend/src/components/Layout/AppLayout.vue +++ b/frontend/src/components/Layout/AppLayout.vue @@ -39,6 +39,7 @@ ]" :title="sidebarCollapsed ? t('app.dashboard') : ''" > + @@ -55,6 +56,7 @@ ]" :title="sidebarCollapsed ? t('app.users') : ''" > + @@ -70,22 +72,24 @@ ]" :title="sidebarCollapsed ? t('app.restaurants') : ''" > - - + + + {{ t('app.restaurants') }} + @@ -101,13 +105,14 @@ route.path === '/olap/queries' ? 'bg-primary-50 text-primary-700' : 'text-gray-700', sidebarCollapsed ? 'justify-center p-2' : 'px-4 py-3 space-x-3' ]" - :title="sidebarCollapsed ? 'OLAP Queries' : ''" + :title="sidebarCollapsed ? 'OLAP Запросы' : ''" > + - - + + - OLAP Queries + OLAP запросы + @@ -136,6 +142,7 @@ ]" :title="sidebarCollapsed ? t('app.settings') : ''" > + diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 27ab445..3a837ae 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -52,19 +52,9 @@ const routes = [ meta: { requiresAuth: true, title: 'Restaurants' } }, { - path: '/olap-columns', + path: '/olap/columns', component: OlapColumnsView, - meta: { requiresAuth: true, requiresAdmin: true, title: 'OlapColumns' } - }, - { - path: '/database-connections', - component: DBConnections, - meta: { requiresAuth: true, requiresAdmin: true, title: 'Database Connections' } - }, - { - path: '/settings', - component: AdminSettings, - meta: { requiresAuth: true, requiresAdmin: true, title: 'Settings' } + meta: { requiresAuth: true, requiresAdmin: true, title: 'Olap Columns' } }, { path: '/olap/queries', @@ -76,6 +66,16 @@ const routes = [ component: OlapConstructor, meta: { requiresAuth: true, title: 'OLAP Constructor' } }, + { + path: '/database-connections', + component: DBConnections, + meta: { requiresAuth: true, requiresAdmin: true, title: 'Database Connections' } + }, + { + path: '/settings', + component: AdminSettings, + meta: { requiresAuth: true, requiresAdmin: true, title: 'Settings' } + }, { path: '/profile', component: Profile, diff --git a/frontend/src/views/OlapQueriesPage.vue b/frontend/src/views/OlapQueriesPage.vue index 8e542e7..dd5786a 100644 --- a/frontend/src/views/OlapQueriesPage.vue +++ b/frontend/src/views/OlapQueriesPage.vue @@ -10,15 +10,15 @@ - - - - - - - - - + + + + + + + + +
IDНазваниеАктивенПоследнее выполнениеРезультатПодключениеРестораныСозданДействияIDНазваниеАктивенПоследнее выполнениеРезультатПодключениеРестораныСозданДействия