You've already forked agentic-coding-workflow
前端页面调整
This commit is contained in:
@@ -158,7 +158,7 @@ const routes: RouteRecordRaw[] = [
|
||||
path: '/admin/acp-sessions',
|
||||
name: 'admin-acp-sessions',
|
||||
component: () => import('@/views/acp/AcpAdminSessionsView.vue'),
|
||||
meta: { requiresAdmin: true },
|
||||
meta: { requiresAuth: true, requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: '/admin/acp/agent-kinds',
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted } from 'vue'
|
||||
import { useAcpStore } from '@/stores/acp'
|
||||
import AppShell from '@/components/layout/AppShell.vue'
|
||||
import SessionStatusBadge from '@/components/acp/SessionStatusBadge.vue'
|
||||
|
||||
const store = useAcpStore()
|
||||
@@ -21,10 +22,11 @@ async function terminate(id: string) {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="p-6 space-y-4">
|
||||
<AppShell>
|
||||
<div class="space-y-4">
|
||||
<div class="flex items-center justify-between">
|
||||
<h1 class="text-2xl font-semibold">All ACP Sessions</h1>
|
||||
<span class="text-sm text-gray-500">Global admin view (all users)</span>
|
||||
<h2 class="text-lg font-semibold">ACP 会话管理</h2>
|
||||
<span class="text-sm text-gray-500">全局管理员视图(所有用户)</span>
|
||||
</div>
|
||||
|
||||
<div v-if="store.loading" class="text-gray-500">Loading...</div>
|
||||
@@ -64,4 +66,5 @@ async function terminate(id: string) {
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</AppShell>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user