diff --git a/packages/frontend/src/pages/admin/federation.vue b/packages/frontend/src/pages/admin/federation.vue new file mode 100644 index 0000000000..96bd087e66 --- /dev/null +++ b/packages/frontend/src/pages/admin/federation.vue @@ -0,0 +1,123 @@ + + + + + + + + + + {{ i18n.ts.host }} + + + + {{ i18n.ts.state }} + {{ i18n.ts.all }} + {{ i18n.ts.federating }} + {{ i18n.ts.subscribing }} + {{ i18n.ts.publishing }} + {{ i18n.ts.suspended }} + {{ i18n.ts.blocked }} + {{ i18n.ts.notResponding }} + + + {{ i18n.ts.sort }} + {{ i18n.ts.pubSub }} ({{ i18n.ts.descendingOrder }}) + {{ i18n.ts.pubSub }} ({{ i18n.ts.ascendingOrder }}) + {{ i18n.ts.notes }} ({{ i18n.ts.descendingOrder }}) + {{ i18n.ts.notes }} ({{ i18n.ts.ascendingOrder }}) + {{ i18n.ts.users }} ({{ i18n.ts.descendingOrder }}) + {{ i18n.ts.users }} ({{ i18n.ts.ascendingOrder }}) + {{ i18n.ts.following }} ({{ i18n.ts.descendingOrder }}) + {{ i18n.ts.following }} ({{ i18n.ts.ascendingOrder }}) + {{ i18n.ts.followers }} ({{ i18n.ts.descendingOrder }}) + {{ i18n.ts.followers }} ({{ i18n.ts.ascendingOrder }}) + {{ i18n.ts.registeredAt }} ({{ i18n.ts.descendingOrder }}) + {{ i18n.ts.registeredAt }} ({{ i18n.ts.ascendingOrder }}) + + + + + + + + + + + + + + + + + + + + diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index c71ebd4e2e..c90a1c1b00 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -104,7 +104,7 @@ const menuDef = $computed(() => [{ }, { icon: 'ti ti-whirl', text: i18n.ts.federation, - to: '/about#federation', + to: '/admin/federation', active: currentPage?.route.name === 'federation', }, { icon: 'ti ti-clock-play', diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index bfa4a3ceab..4b9f49f8fd 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -339,6 +339,10 @@ export const routes = [{ path: '/files', name: 'files', component: page(() => import('./pages/admin/files.vue')), + }, { + path: '/federation', + name: 'federation', + component: page(() => import('./pages/admin/federation.vue')), }, { path: '/announcements', name: 'announcements',