From 399ec2f328f56c1f81c454ecedfb6b99eaf93c42 Mon Sep 17 00:00:00 2001
From: LeoQi <QibinZheng2014@tongji.edu.cn>
Date: Thu, 20 Sep 2018 09:38:01 +0800
Subject: fix testsuite name bugs and improve some ui details

JIRA: BOTTLENECK-247

fix the bug where the testsuite name contains Chinese characters.
add license header automatically when a testcase created.
ui improvements:
workflow panel only turns up when a testcase executes.
add grafana pages in the webpage 'Test Result'.
add the highlight effect on the navigation item.

Change-Id: If0ddf82fd4630128f2c4dd7fdde30f037e5bfba7
Signed-off-by: LeoQi <QibinZheng2014@tongji.edu.cn>
---
 test-scheduler/ui/src/Global.vue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'test-scheduler/ui/src/Global.vue')

diff --git a/test-scheduler/ui/src/Global.vue b/test-scheduler/ui/src/Global.vue
index 71defaac..f9dfed72 100644
--- a/test-scheduler/ui/src/Global.vue
+++ b/test-scheduler/ui/src/Global.vue
@@ -2,9 +2,12 @@
 const SERVER_ADDR = '/parser/'
 const WF_GRAPH_ADDR = '/wf-graph/'
 const WF_SERVER_ADDR = '/wf-server/'
+const GRAFANA_PORT = 3000
+const GRAFANA_ADDR = 'http://' + window.location.hostname + ':' + GRAFANA_PORT + '/?orgId=1'
 export default {
     SERVER_ADDR,
     WF_GRAPH_ADDR,
-    WF_SERVER_ADDR
+    WF_SERVER_ADDR,
+    GRAFANA_ADDR
 }
 </script>
-- 
cgit 1.2.3-korg

