Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: frontend/croschart/templates/charts.html

Issue 6821082: Integrate dynamic charts into autotest frontend. (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Add license. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frontend/croschart/templates/base.html ('k') | frontend/croschart/templates/plot_chart.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frontend/croschart/templates/charts.html
diff --git a/frontend/croschart/templates/charts.html b/frontend/croschart/templates/charts.html
new file mode 100644
index 0000000000000000000000000000000000000000..179ac2248c6c408ba0e7c90ec45177eb3011738a
--- /dev/null
+++ b/frontend/croschart/templates/charts.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+{% comment %}
+
+Copyright 2010 Google Inc. All Rights Reserved.
+
+This template builds a page with multiple plots in frames.
+{% endcomment %}
+{% block header_block %}
+<h2><center>Chrome OS Performance Test Results</center></h2>
+<h3><center>{{ tpl_boards }} - {{ tpl_netbook }}</center></h3>
+<div>
+{% for test_name, test_key in tpl_charts %}
+ {% ifchanged %}
+ <a href="#{{ test_name }}">{{ test_name }}</a>
+ &nbsp;|&nbsp;
+ {% endifchanged %}
+{% endfor %}
+<i>last updated: {% now "D M H:i:s Y" %}</i>
+</div>
+{% endblock %}
+{% block html_block %}
+{% for test_name, test_key in tpl_charts %}
+{% ifchanged %}
+<hr><center><a name="{{ test_name }}"><strong>{{ test_name }}</strong></a><center>
+{% endifchanged %}
+<iframe width="{{ tpl_width|add:'20' }}"
+ height="{{ tpl_height|add:'20' }}"
+ frameborder="0"
+ src="/croschart/server/{{ tpl_boards }}/{{ tpl_netbook }}/{{ test_name }}/{{ test_key }}/{{ tpl_width }}/{{ tpl_height }}/">
+</iframe>
+{% endfor %}
+{% endblock %}
« no previous file with comments | « frontend/croschart/templates/base.html ('k') | frontend/croschart/templates/plot_chart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698