fix: agent list opt style
This commit is contained in:
@@ -416,6 +416,10 @@ onUnmounted(() => {
|
||||
<Label class="text-muted-foreground text-xs">版本</Label>
|
||||
<div class="text-sm">{{ viewingAgent.version || '-' }}</div>
|
||||
</div>
|
||||
<div class="flex items-center justify-between sm:block">
|
||||
<Label class="text-muted-foreground text-xs">构建时间</Label>
|
||||
<div class="text-sm">{{ viewingAgent.build_time || '-' }}</div>
|
||||
</div>
|
||||
<div class="flex items-center justify-between sm:block">
|
||||
<Label class="text-muted-foreground text-xs">在线状态</Label>
|
||||
<div class="flex items-center gap-2">
|
||||
@@ -438,10 +442,6 @@ onUnmounted(() => {
|
||||
<Label class="text-muted-foreground text-xs">注册时间</Label>
|
||||
<div class="text-sm">{{ viewingAgent.created_at || '-' }}</div>
|
||||
</div>
|
||||
<div class="flex items-center justify-between sm:block">
|
||||
<Label class="text-muted-foreground text-xs">更新时间</Label>
|
||||
<div class="text-sm">{{ viewingAgent.updated_at || '-' }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="viewingAgent.description" class="pt-2 border-t">
|
||||
<Label class="text-muted-foreground text-xs">描述</Label>
|
||||
|
||||
@@ -185,7 +185,6 @@ watch(() => route.query.task_id, (newTaskId) => {
|
||||
<span class="flex-1 min-w-0 font-medium truncate text-xs">{{ log.task_name }}</span>
|
||||
<span class="w-8 flex justify-center shrink-0">
|
||||
<span class="relative flex h-2.5 w-2.5">
|
||||
<span v-if="log.status === 'success'" class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
|
||||
<span :class="log.status === 'success' ? 'bg-green-500' : log.status === 'failed' ? 'bg-red-500' : 'bg-yellow-500'" class="relative inline-flex rounded-full h-2.5 w-2.5"></span>
|
||||
</span>
|
||||
</span>
|
||||
@@ -204,7 +203,6 @@ watch(() => route.query.task_id, (newTaskId) => {
|
||||
</code>
|
||||
<span class="w-12 flex justify-center shrink-0">
|
||||
<span class="relative flex h-2.5 w-2.5">
|
||||
<span v-if="log.status === 'success'" class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
|
||||
<span :class="log.status === 'success' ? 'bg-green-500' : log.status === 'failed' ? 'bg-red-500' : 'bg-yellow-500'" class="relative inline-flex rounded-full h-2.5 w-2.5"></span>
|
||||
</span>
|
||||
</span>
|
||||
@@ -237,7 +235,6 @@ watch(() => route.query.task_id, (newTaskId) => {
|
||||
<span class="text-muted-foreground">状态</span>
|
||||
<span class="flex items-center gap-1.5">
|
||||
<span class="relative flex h-2.5 w-2.5">
|
||||
<span v-if="selectedLog.status === 'success'" class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
|
||||
<span :class="selectedLog.status === 'success' ? 'bg-green-500' : selectedLog.status === 'failed' ? 'bg-red-500' : 'bg-yellow-500'" class="relative inline-flex rounded-full h-2.5 w-2.5"></span>
|
||||
</span>
|
||||
{{ selectedLog.status }}
|
||||
|
||||
Reference in New Issue
Block a user