diff options
Diffstat (limited to 'server/sonar-web/src/test/views')
-rw-r--r-- | server/sonar-web/src/test/views/layouts/main.jade | 2 | ||||
-rw-r--r-- | server/sonar-web/src/test/views/overview.jade | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/server/sonar-web/src/test/views/layouts/main.jade b/server/sonar-web/src/test/views/layouts/main.jade index 414392be48f..9c6e867aaa5 100644 --- a/server/sonar-web/src/test/views/layouts/main.jade +++ b/server/sonar-web/src/test/views/layouts/main.jade @@ -32,7 +32,7 @@ html script(src='/js/widgets/tag-cloud.js') script(src='/js/widgets/treemap.js') script(src='/js/graphics/pie-chart.js') - script(src='/js/graphics/timeline.js') + script(src='/js/graphics/sparkline.js') script(src='/js/graphics/barchart.js') script(src='/js/sortable.js') script(src='/js/common/inputs.js') diff --git a/server/sonar-web/src/test/views/overview.jade b/server/sonar-web/src/test/views/overview.jade new file mode 100644 index 00000000000..7f50024c955 --- /dev/null +++ b/server/sonar-web/src/test/views/overview.jade @@ -0,0 +1,17 @@ +extends layouts/main + +block body + #content + .overview + script. + window.overviewConf = { + period1Name: 'since previous analysis', + period1Date: '2015-03-30T18:41:20+0200', + period2Name: 'over 365 days', + period2Date: '2014-04-07T23:34:01+0200', + period3Name: 'since previous version', + period3Date: '2015-03-10T12:05:17+0100', + componentKey: 'org.codehaus.sonar:sonar', + componentUuid: '69e57151-be0d-4157-adff-c06741d88879' + }; + require(['overview/app']); |