aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/test/views
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-03-31 14:19:01 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-03-31 15:06:10 +0200
commitac60aa9eef80689f24b10857dbaf83dd1eb412fe (patch)
tree26ca0078baf516cbe24a389990907e47acbdf79c /server/sonar-web/src/test/views
parentdb171f5d73c0b6468efdd612553876406a673786 (diff)
downloadsonarqube-ac60aa9eef80689f24b10857dbaf83dd1eb412fe.tar.gz
sonarqube-ac60aa9eef80689f24b10857dbaf83dd1eb412fe.zip
SONAR-6331 refactor overview page
Diffstat (limited to 'server/sonar-web/src/test/views')
-rw-r--r--server/sonar-web/src/test/views/layouts/main.jade2
-rw-r--r--server/sonar-web/src/test/views/overview.jade17
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']);