[llvm-commits] [LNT] r165452 - /lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html

Daniel Dunbar daniel at zuster.org
Mon Oct 8 16:03:04 PDT 2012


Author: ddunbar
Date: Mon Oct  8 18:03:03 2012
New Revision: 165452

URL: http://llvm.org/viewvc/llvm-project?rev=165452&view=rev
Log:
daily_report: Add links to graphs.

Modified:
    lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html

Modified: lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html?rev=165452&r1=165451&r2=165452&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/reporting/daily_report.html Mon Oct  8 18:03:03 2012
@@ -55,6 +55,7 @@
 {% endmacro %}
 
 {# Generate the table showing the raw sample data. #}
+{% set graph_base=v4_url_for('v4_graph') %}
 {% for field,field_results in report.result_table %}
 <h3>Result Table ({{ field.name }})</h3>
 <table border="1" style="{{ styles.table }}">
@@ -75,7 +76,9 @@
 {%   set machine_loop = loop %}
   <tr>
     <td style="{{ styles.td }}"> </td>
-    <td style="{{ styles.td }}">{{machine.name}}</td>
+    <td style="{{ styles.td }}"><a href="{{
+      graph_base}}?plot.0={{machine.id}}.{{test.id}}.{{field.index}}">{{
+          machine.name}}</a></td>
     <td style="{{ styles.td }}">{{ day_results[-1].current }}</td>
 {%     for day_result in day_results[:-1]|reverse %}
     {{ get_cell_value(day_result) }}





More information about the llvm-commits mailing list