summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-12-30 18:47:22 +0000
committerPascal Terjan <pterjan@mageia.org>2012-12-30 18:47:22 +0000
commit93da1ac920f3f5906861279424e32842d51f433d (patch)
tree7f27159452d61075167aebb8cb6a1630d1a9ad3d
parentbbb5e0bd5b2620513171de3689c5777927319b9d (diff)
downloadpkgsubmit-93da1ac920f3f5906861279424e32842d51f433d.tar
pkgsubmit-93da1ac920f3f5906861279424e32842d51f433d.tar.gz
pkgsubmit-93da1ac920f3f5906861279424e32842d51f433d.tar.bz2
pkgsubmit-93da1ac920f3f5906861279424e32842d51f433d.tar.xz
pkgsubmit-93da1ac920f3f5906861279424e32842d51f433d.zip
Add a start page with some graphs
-rw-r--r--autobuild/index.html47
-rw-r--r--autobuild/results.php (renamed from autobuild/index.php)0
2 files changed, 47 insertions, 0 deletions
diff --git a/autobuild/index.html b/autobuild/index.html
new file mode 100644
index 0000000..d3a13a9
--- /dev/null
+++ b/autobuild/index.html
@@ -0,0 +1,47 @@
+<html>
+ <head>
+ <script type='text/javascript' src='https://www.google.com/jsapi'></script>
+ <script type='text/javascript' src='data.js'></script>
+ <script type='text/javascript'>
+ google.load('visualization', '1', {packages:['table', 'corechart']});
+ google.setOnLoadCallback(drawTable);
+ function drawTable() {
+ var d = new google.visualization.DataTable(window.data);
+ var table = new google.visualization.Table(document.getElementById('table_div'));
+ table.draw(d, {showRowNumber: false, allowHtml: true});
+
+ var successView = new google.visualization.DataView(d);
+ successView.setColumns([0,9]);
+ var sg = new google.visualization.AreaChart(document.getElementById('success_graph_div'));
+ sg.draw(successView, {
+ title : 'Success Rate',
+ isStacked: true,
+ width: 900,
+ height: 200,
+ legend: {position: 'none'},
+ chartArea: {width: '87.5%'},
+ pointSize: 4,
+ });
+
+ var resultsView = new google.visualization.DataView(d);
+ resultsView.hideColumns([8,9]);
+ var rg = new google.visualization.AreaChart(document.getElementById('results_graph_div'));
+ rg.draw(resultsView, {
+ title : 'Build results',
+ width: 900,
+ height: 200,
+ legend: {position: 'bottom'},
+ chartArea: {width: '87.5%'},
+ pointSize: 4,
+ });
+ }
+ </script>
+ </head>
+
+ <body>
+ <h1>Automatic rebuild of Cauldron on x86_64</h1>
+ <div id='table_div'></div>
+ <div id='success_graph_div'></div>
+ <div id='results_graph_div'></div>
+ </body>
+</html>
diff --git a/autobuild/index.php b/autobuild/results.php
index a169193..a169193 100644
--- a/autobuild/index.php
+++ b/autobuild/results.php