diff --git a/frontend/src/components/SystemStatus.vue b/frontend/src/components/SystemStatus.vue new file mode 100644 index 0000000..4cb94ee --- /dev/null +++ b/frontend/src/components/SystemStatus.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 2a12909..97d1fcd 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -20,6 +20,12 @@ const router = createRouter({ component: () => import('@/views/LoginView.vue'), meta: { public: true }, }, + { + path: '/clips/:id(\\d+)', + name: 'clip-edit', + component: () => import('@/views/ClipEditView.vue'), + props: true, + }, { path: '/account', name: 'account', component: () => import('@/views/AccountView.vue') }, { path: '/admin/users', diff --git a/frontend/src/views/AdminUsersView.vue b/frontend/src/views/AdminUsersView.vue index 774b2df..65336c4 100644 --- a/frontend/src/views/AdminUsersView.vue +++ b/frontend/src/views/AdminUsersView.vue @@ -3,6 +3,7 @@ import { onMounted, ref } from 'vue' import { api } from '@/api/client' import type { Role, User } from '@/api/types' +import SystemStatus from '@/components/SystemStatus.vue' import { useAuthStore } from '@/stores/auth' import { formatDateTime } from '@/utils/format' @@ -155,6 +156,8 @@ onMounted(load) + + diff --git a/frontend/src/views/ClipEditView.vue b/frontend/src/views/ClipEditView.vue new file mode 100644 index 0000000..b8d1334 --- /dev/null +++ b/frontend/src/views/ClipEditView.vue @@ -0,0 +1,237 @@ + + + + +