[LNT] r253221 - [html] Escape '&'. NFC.
Arnaud A. de Grandmaison via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 08:38:11 PST 2015
Author: aadg
Date: Mon Nov 16 10:38:10 2015
New Revision: 253221
URL: http://llvm.org/viewvc/llvm-project?rev=253221&view=rev
Log:
[html] Escape '&'. NFC.
Modified:
lnt/trunk/lnt/server/reporting/runs.py
lnt/trunk/lnt/server/ui/templates/v4_new_regressions.html
lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html
lnt/trunk/lnt/server/ui/templates/v4_run.html
Modified: lnt/trunk/lnt/server/reporting/runs.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/reporting/runs.py?rev=253221&r1=253220&r2=253221&view=diff
==============================================================================
--- lnt/trunk/lnt/server/reporting/runs.py (original)
+++ lnt/trunk/lnt/server/reporting/runs.py Mon Nov 16 10:38:10 2015
@@ -154,7 +154,7 @@ def generate_run_report(run, baseurl, on
url_fields.append(('compare_to', str(compare_to.id)))
if baseline:
url_fields.append(('baseline', str(baseline.id)))
- report_url = "%s?%s" % (run_url, "&".join("%s=%s" % (k,v)
+ report_url = "%s?%s" % (run_url, "&".join("%s=%s" % (k,v)
for k,v in url_fields))
# Compute static CSS styles for elemenets. We use the style directly on
Modified: lnt/trunk/lnt/server/ui/templates/v4_new_regressions.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_new_regressions.html?rev=253221&r1=253220&r2=253221&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_new_regressions.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_new_regressions.html Mon Nov 16 10:38:10 2015
@@ -238,7 +238,7 @@ function update_tooltip(event, pos, item
<td>{{utils.render_machine(fc.ri.machine)}}</td>
<td> {{ fc.ri.field.name }} </td>
{% set graph_base=v4_url_for('v4_graph', highlight_run=fc.run.id) %}
- <td><a href="{{graph_base}}&plot.{{fc.ri.test.id}}={{ fc.ri.machine.id}}.{{fc.ri.test.id}}.{{fc.ri.field.index}}">{{ fc.ri.test.name }}</a></td>
+ <td><a href="{{graph_base}}&plot.{{fc.ri.test.id}}={{ fc.ri.machine.id}}.{{fc.ri.test.id}}.{{fc.ri.field.index}}">{{ fc.ri.test.name }}</a></td>
<td>m{{ fc.ri.start_order.llvm_project_revision }}, {{utils.render_order_link(fc.ri.end_order)}}</td>
<td>{{ fc.cr.previous }}</td><td>{{ fc.cr.current }}</td>
{{ utils.get_regression_cell_value(fc.cr, analysis)}}
Modified: lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html?rev=253221&r1=253220&r2=253221&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_regression_detail.html Mon Nov 16 10:38:10 2015
@@ -36,7 +36,7 @@
{% set graph_base=v4_url_for('v4_graph', highlight_run=ind.run.id) %}
<td>{{utils.render_machine(ind.ri.machine)}}</td>
<td>{{ind.ri.field.name}}</td>
- <td><a href="{{graph_base}}&plot.{{ind.ri.test.id}}={{ ind.ri.machine.id}}.{{ind.ri.test.id}}.{{ind.ri.field.index}}">{{ ind.ri.test.name }}</a></td>
+ <td><a href="{{graph_base}}&plot.{{ind.ri.test.id}}={{ ind.ri.machine.id}}.{{ind.ri.test.id}}.{{ind.ri.field.index}}">{{ ind.ri.test.name }}</a></td>
<td><span class="reltime" data-toggle="tooltip" title="{{ind.run.end_time}}">{{ ind.run.end_time.isoformat() }}</td>
<td>{{utils.render_order_link(ind.ri.start_order)}}</td>
Modified: lnt/trunk/lnt/server/ui/templates/v4_run.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_run.html?rev=253221&r1=253220&r2=253221&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_run.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_run.html Mon Nov 16 10:38:10 2015
@@ -339,7 +339,7 @@
{% for test_name,test_id,cr in tests %}
<tr>
<td><input type="checkbox" name="plot.{{test_id}}" value="{{machine.id}}.{{test_id}}.{{field.index}}"></td>
- <td class="benchmark-name"><a href="{{graph_base}}&plot.{{test_id}}={{ machine.id}}.{{test_id}}.{{field.index}}">{{ test_name }}</a></td>
+ <td class="benchmark-name"><a href="{{graph_base}}&plot.{{test_id}}={{ machine.id}}.{{test_id}}.{{field.index}}">{{ test_name }}</a></td>
{{ get_cell_value(cr) }}
</tr>
{% endfor %}
@@ -348,8 +348,8 @@
{% set cr = request_info.sri.get_geomean_comparison_result(
run, compare_to, field, tests) %}
<td><input type="checkbox" name="mean" value="{{machine.id}}.{{field.index}}"></td>
- <td><a href="{{graph_base}}&mean={{machine.id}}.{{field.index}}">Geometric Mean</a></td>
{{ get_cell_value(cr) }}
+ <td><a href="{{graph_base}}&mean={{machine.id}}.{{field.index}}">Geometric Mean</a></td>
</tfoot>
</table>
{{ utils.render_popup_end() }}
More information about the llvm-commits
mailing list