From 7060625adfa4fe10daefa871510620c34db14987 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 1 Nov 2020 22:09:16 +0900 Subject: [PATCH] Improve task manager etc --- src/client/components/dialog.vue | 6 +-- src/client/components/taskmanager.vue | 53 ++++++++++++++++++++++---- src/client/directives/follow-append.ts | 25 ++++++++++++ src/client/os.ts | 33 +++++++++------- src/client/pages/test.vue | 8 ++++ src/client/themes/_dark.json5 | 3 ++ src/client/themes/_light.json5 | 3 ++ 7 files changed, 108 insertions(+), 23 deletions(-) create mode 100644 src/client/directives/follow-append.ts diff --git a/src/client/components/dialog.vue b/src/client/components/dialog.vue index f157a37ea..f8d700202 100644 --- a/src/client/components/dialog.vue +++ b/src/client/components/dialog.vue @@ -169,15 +169,15 @@ export default defineComponent({ font-size: 32px; &.success { - color: var(--accent); + color: var(--success); } &.error { - color: #ec4137; + color: var(--error); } &.warning { - color: #ecb637; + color: var(--warn); } > * { diff --git a/src/client/components/taskmanager.vue b/src/client/components/taskmanager.vue index 29b054d0f..704e2d3e8 100644 --- a/src/client/components/taskmanager.vue +++ b/src/client/components/taskmanager.vue @@ -7,7 +7,7 @@
-
+
#ID
Component
@@ -19,7 +19,7 @@
-
+
#ID
Ch
@@ -36,7 +36,7 @@
{{ c.out }}
-
+
#ID
Ch
@@ -48,6 +48,18 @@
{{ p.users }}
+
+
+
#ID
+
Endpoint
+
State
+
+
+
#{{ req.id }}
+
{{ req.endpoint }}
+
{{ req.state }}
+
+