webrtc/tools/quality_tracking/dashboard/templates/dashboard_template.html
2013-08-26 08:45:22 +00:00

79 lines
3.0 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 Quality Dashboard</title>
<meta http-equiv="refresh" content="60">
<link href="http://code.google.com/css/codesite.pack.04102009.css"
rel="stylesheet" type="text/css">
<link href="stylesheets/stylesheet.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 */
{% comment %}
Disable Django auto-escaping here since that will mess up our
coverage table JSON data otherwise.
{% endcomment %}
{% autoescape off %}
var small_medium_coverage_data_table =
new google.visualization.DataTable(
{{ small_medium_coverage_json_data }});
var large_coverage_data_table =
new google.visualization.DataTable(
{{ large_coverage_json_data }});
{% endautoescape %}
/* Display tables and charts */
var small_medium_coverage_chart = new google.visualization.LineChart(
document.getElementById('table_div_small_medium_coverage'));
small_medium_coverage_chart.draw(small_medium_coverage_data_table, {
colors: ['red', 'black'],
vAxis: {title: 'Coverage (%)'},
hAxis: {title: 'Date'},
width: 1200, height: 300,
});
var large_coverage_chart = new google.visualization.LineChart(
document.getElementById('table_div_large_coverage'));
large_coverage_chart.draw(large_coverage_data_table, {
colors: ['red', 'black'],
vAxis: {title: 'Coverage (%)'},
hAxis: {title: 'Date'},
width: 1200, height: 300,
});
}
</script>
</head>
<body>
<img src="images/webrtc_logo.png">
<h1>Performance Metrics</h1>
<p class="perf_links">
<a href="perf/video_perf.html">Chrome Video Quality</a> |
<a href="perf/audio_perf.html">Chrome Audio / Voice Engine Quality</a> |
<a href="perf/audio_perf_chrome.html">Chrome Audio Latency</a> |
<a href="perf/vie_auto_test_perf.html">Video Engine</a>
</p>
<h2>Code Coverage History (Small / Medium Tests)</h2>
<div id="table_div_small_medium_coverage"></div>
<h2>Code Coverage History (Large Tests)</h2>
<div id="table_div_large_coverage"></div>
</body>
</html>