X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=blobdiff_plain;f=test-scheduler%2Fui%2Fsrc%2Frouter%2Findex.js;fp=testing-scheduler%2Fui%2Fsrc%2Frouter%2Findex.js;h=8cc3da13eb971ee4fabfdbda6f2c3c0168bc173f;hp=fa178cd741b683bc4dae973dbb88d6eaaa4bc0af;hb=e32043f58a2450b6a5986dc2a01f64f8b22c3992;hpb=a09bbea983aca3e437e254566da98196177748d9 diff --git a/testing-scheduler/ui/src/router/index.js b/test-scheduler/ui/src/router/index.js similarity index 95% rename from testing-scheduler/ui/src/router/index.js rename to test-scheduler/ui/src/router/index.js index fa178cd7..8cc3da13 100644 --- a/testing-scheduler/ui/src/router/index.js +++ b/test-scheduler/ui/src/router/index.js @@ -1,44 +1,44 @@ -import Vue from 'vue' -import Router from 'vue-router' -import testsuite from '@/components/testsuite' -import testcase from '@/components/testcase' -import testcase_content from '@/components/testcase_content' -import environment from '@/components/environment' -Vue.use(Router) -const Result = { - template: "
please visit grafana page.
" -} -const Report = { - template: "
" -} -export default new Router({ - routes: [ - { - path: '/', - name: 'testsuite', - component: testsuite - }, - { - path: '/testcase', - name: 'testcase', - component: testcase - }, - { - path: '/content', - name: 'testcase_content', - component: testcase_content - }, - { - path: '/result', - component: Result - }, - { - path: '/report', - component: Report - }, - { - path: '/environment', - component: environment - } - ] -}) \ No newline at end of file +import Vue from 'vue' +import Router from 'vue-router' +import testsuite from '@/components/testsuite' +import testcase from '@/components/testcase' +import testcase_content from '@/components/testcase_content' +import environment from '@/components/environment' +Vue.use(Router) +const Result = { + template: "
please visit grafana page.
" +} +const Report = { + template: "
" +} +export default new Router({ + routes: [ + { + path: '/', + name: 'testsuite', + component: testsuite + }, + { + path: '/testcase', + name: 'testcase', + component: testcase + }, + { + path: '/content', + name: 'testcase_content', + component: testcase_content + }, + { + path: '/result', + component: Result + }, + { + path: '/report', + component: Report + }, + { + path: '/environment', + component: environment + } + ] +})