[LNT] r253218 - [html] Fix tag closing in a number of places. NFC.

Arnaud A. de Grandmaison via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 08:20:53 PST 2015


Author: aadg
Date: Mon Nov 16 10:20:52 2015
New Revision: 253218

URL: http://llvm.org/viewvc/llvm-project?rev=253218&view=rev
Log:
[html] Fix tag closing in a number of places. NFC.

Modified:
    lnt/trunk/lnt/server/ui/templates/v4_machine.html
    lnt/trunk/lnt/server/ui/templates/v4_recent_activity.html
    lnt/trunk/lnt/server/ui/templates/v4_run.html

Modified: lnt/trunk/lnt/server/ui/templates/v4_machine.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_machine.html?rev=253218&r1=253217&r2=253218&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_machine.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_machine.html Mon Nov 16 10:20:52 2015
@@ -24,7 +24,7 @@
 {% endblock %}
 
 {% block body %}
-  <section id="fields" />
+  <section id="fields">
   <h3>Fields</h3>
   <table class="table table-striped table-hover table-condensed">
     <thead>
@@ -40,8 +40,9 @@
     </tr>
     {% endfor %}
   </table>
+  </section>
 
-  <section id="parameters" />
+  <section id="parameters">
   <h3>Parameters</h3>
   <table class="table table-striped table-hover table-condensed">
     <thead>
@@ -57,8 +58,9 @@
     </tr>
     {% endfor %}
   </table>
+  </section>
 
-  <section id="submissions" />
+  <section id="submissions">
   <h3>Submissions</h3>
   <table class="table table-striped table-hover table-condensed">
     <thead>
@@ -82,4 +84,5 @@
     {% endfor %}
     {% endfor %}
   </table>
+  </section>
 {% endblock %}

Modified: lnt/trunk/lnt/server/ui/templates/v4_recent_activity.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_recent_activity.html?rev=253218&r1=253217&r2=253218&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_recent_activity.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_recent_activity.html Mon Nov 16 10:20:52 2015
@@ -16,7 +16,7 @@
 
 {% block body %}
   {# Find recent runs. #}
-  <section id="machines" />
+  <section id="machines">
   <h3>Active Machines</h3>
   <table class="table table-striped table-hover table-condensed">
     <thead>
@@ -37,8 +37,9 @@
       {% endfor %}
     </tbody>
   </table>
+  </section>
 
-  <section id="submissions" />
+  <section id="submissions">
   <h3>Recent Submissions</h3>
   <table class="table table-striped table-hover table-condensed">
     <thead>
@@ -54,7 +55,7 @@
       {# Show the active submissions. #}
       {% for r,run_order in active_submissions %}
       <tr>
-        <td><a href="{{v4_url_for('v4_order', id=r.order.id)}}">{{run_order}}</a></td></td>
+        <td><a href="{{v4_url_for('v4_order', id=r.order.id)}}">{{run_order}}</a></td>
         <td><span class="reltime" data-toggle="tooltip" title="{{r.start_time}}">{{ r.start_time.isoformat() }}</span></td>
         <td>{{ r.end_time - r.start_time }}</td>
         <td>{{ utils.render_machine(r.machine) }}</td>
@@ -63,4 +64,5 @@
       {% endfor %}
     </tbody>
   </table>
+  </section>
 {% endblock %}

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=253218&r1=253217&r2=253218&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:20:52 2015
@@ -106,6 +106,7 @@
       {{ "<b>"|safe if r.id == run.id else "" }}
       <a href="{{v4_url_for('v4_run', id=r.id)}}"><span class="utctime">{{ r.start_time.isoformat() }}</span></a>
       {{ "</b>"|safe if r.id == run.id else "" }}
+    </li>
   {% endfor %}
   </ul>
   {# Show a small number of runs in the neighborhood of the comparison run. #}
@@ -117,6 +118,7 @@
         {{ "<b>"|safe if compare_to and r.id == compare_to.id else "" }}
         <a href="{{v4_url_for('v4_run', id=run.id, compare_to=r.id)}}"><span class="utctime">{{ r.start_time.isoformat() }}</span></a>
         {{ "</b>"|safe if compare_to and r.id == compare_to.id else "" }}
+      </li>
     {% endfor %}
     </ul>
   {% endif %}
@@ -124,7 +126,7 @@
 
 {% block body %}
 
-  <section id="machine_info" />
+  <section id="machine_info">
   {{ utils.render_popup_begin('machine_info', 'Machine Info', true) }}
   <h4>Fields</h4>
   <table class="table table-striped table-condensed table-hover">
@@ -146,8 +148,9 @@
   {% endfor %}
   </table>
   {{ utils.render_popup_end() }}
+  </section>
 
-  <section id="run_info" />
+  <section id="run_info">
   {{ utils.render_popup_begin('run_info', 'Run Info', true) }}
   <h4>Fields</h4>
   <table class="table table-striped table-condensed table-hover">
@@ -184,8 +187,9 @@
     {% endfor %}
   </table>
   {{ utils.render_popup_end() }}
+  </section>
 
-  <section id="view_options" />
+  <section id="view_options">
   {{ utils.render_popup_begin('view_options', 'View Options', true) }}
   <form action="" method="get">
     <table class="table table-striped table-condensed table-hover">
@@ -207,7 +211,7 @@
     </tr>
     <tr>
       <td>Show All Values:</td>
-      <td><input type="checkbox" name="show_all" value="yes" {{ "checked" if options.show_all else "" }}><td>
+      <td><input type="checkbox" name="show_all" value="yes" {{ "checked" if options.show_all else "" }}></td>
     </tr>
     <tr>
       <td>Show All Samples:</td>
@@ -250,9 +254,9 @@
       <td>
         <select name="aggregation_fn">
         <option value="min" {{ " selected" if "min" == options.aggregation_fn else ""}}>
-          Minimum</value>
+          Minimum</option>
         <option value="median" {{ " selected" if "median" == options.aggregation_fn else ""}}>
-          Median</value>
+          Median</option>
         </select>
       </td>
     </tr>
@@ -261,11 +265,11 @@
       <td>
         <select name="MW_confidence_lv">
           <option value="0.10" {{ "selected" if options.MW_confidence_lv == 0.10 else ""}}>
-            10%</value>
+            10%</option>
           <option value="0.05" {{ "selected" if options.MW_confidence_lv == 0.05 else ""}}>
-            5%</value>
+            5%</option>
           <option value="0.01" {{ "selected" if options.MW_confidence_lv == 0.01 else ""}}>
-            1%</value>
+            1%</option>
         </select>
       </td>
     </tr>
@@ -284,8 +288,9 @@
     </table>
   </form>
   {{ utils.render_popup_end() }}
+  </section>
 
-  <section id="report" />
+  <section id="report">
   {{ utils.render_popup_begin('html_report', 'Report',
                               options.hide_report_by_default) }}
 
@@ -302,7 +307,7 @@
 
     {# Report one table for each primary field. #}
     {% for field in metric_fields %}
-      <section id="{{ field.name }}" />
+      <section id="{{ field.name }}">
       {{ utils.render_popup_begin('test_data-' + field.name, field.name, false) }}
       <table class="table table-striped table-hover table-condensed sortable">
         <thead>
@@ -348,9 +353,11 @@
         </tfoot>
       </table>
       {{ utils.render_popup_end() }}
+      </section>
     {% endfor %}
     <p><input type="submit" value="Graph">
   </form>
+  </section>
 
   {% if options.show_data_table %}
     <h3>Test Data</h3>




More information about the llvm-commits mailing list