d4f0a0e2bc
Note that all files were moved to a new directory. The diffs won't be 100% friendly because of this. Extracted common handling for OAuth on both sides of the connection in order to add a new build status data handler. This data handler will be used to report build status data. Don't look too closely at the details of what data is transferred as this will change in the next patch. We will also extract data from a different page in a slightly different way, but there won't be huge differences. In particular, we won't look at the /one_box_per_builder page on the master but rather at the transposed grid (/tgrid) on the build master since we also need the revision number. The regular expressions to extract the data will be slightly more complex. BUG= TEST= Review URL: https://webrtc-codereview.appspot.com/367023 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1586 4adac7df-926f-26a2-2b94-8c16560cd09d
48 lines
1.6 KiB
HTML
48 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<!--
|
|
Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
|
|
Use of this source code is governed by a BSD-style license
|
|
that can be found in the LICENSE file in the root of the source
|
|
tree. An additional intellectual property rights grant can be found
|
|
in the file PATENTS. All contributing project authors may
|
|
be found in the AUTHORS file in the root of the source tree.
|
|
|
|
Template file to be used to generate the WebRTC dashboard.
|
|
-->
|
|
<head>
|
|
<title>WebRTC Coverage Dashboard</title>
|
|
<link href="http://code.google.com/css/codesite.pack.04102009.css"
|
|
rel="stylesheet" type="text/css">
|
|
|
|
<script src="https://www.google.com/jsapi" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
google.load('visualization', '1', {packages:['table', 'corechart']});
|
|
|
|
google.setOnLoadCallback(drawTable);
|
|
function drawTable() {
|
|
/* Build data tables and views */
|
|
var coverage_data_table =
|
|
new google.visualization.DataTable(%(coverage_json_data)s);
|
|
|
|
/* Display tables and charts */
|
|
var coverage_chart = new google.visualization.LineChart(
|
|
document.getElementById('table_div_coverage'));
|
|
coverage_chart.draw(coverage_data_table, {
|
|
colors: ['blue', 'red'],
|
|
vAxis: {title: 'Coverage'},
|
|
hAxis: {title: 'Date'},
|
|
width: 1200, height: 300,
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1>WebRTC Dashboard</h1>
|
|
<h3>Coverage:</h3>
|
|
<div id="table_div_coverage"></div>
|
|
</body>
|
|
</html>
|