Add conductor UI to the result page of test scheduler
[bottlenecks.git] / test-scheduler / ui / src / router / index.js
1 import Vue from 'vue'
2 import Router from 'vue-router'
3 import testsuite from '@/components/testsuite'
4 import testcase from '@/components/testcase'
5 import testcase_content from '@/components/testcase_content'
6 import test_result from '@/components/test_result'
7 import environment from '@/components/environment'
8 import conductorUI from '@/components/conductor_ui'
9 Vue.use(Router)
10
11 const Report = {
12   template: "<div></div>"
13 }
14 export default new Router({
15   routes: [
16     {
17       path: '/',
18       name: 'testsuite',
19       component: testsuite
20     },
21     {
22       path: '/testcase',
23       name: 'testcase',
24       component: testcase
25     },
26     {
27       path: '/content',
28       name: 'testcase_content',
29       component: testcase_content
30     },
31     {
32       path: '/result',
33       name: 'result',
34       component: test_result
35     },
36     {
37       path: '/report',
38       name: 'report',
39       component: conductorUI
40     },
41     {
42       path: '/environment',
43       name: 'environment',
44       component: environment
45     }
46   ]
47 })