[llvm-commits] [LNT] r166663 - in /lnt/trunk/lnt/server/ui: static/v4_global_status.js templates/v4_global_status.html

Michael Gottesman mgottesman at apple.com
Wed Oct 24 22:07:41 PDT 2012


Author: mgottesman
Date: Thu Oct 25 00:07:41 2012
New Revision: 166663

URL: http://llvm.org/viewvc/llvm-project?rev=166663&view=rev
Log:
[global_status] Fixed bug where clicking on the worst case cell would
open up a null graph.

Modified:
    lnt/trunk/lnt/server/ui/static/v4_global_status.js
    lnt/trunk/lnt/server/ui/templates/v4_global_status.html

Modified: lnt/trunk/lnt/server/ui/static/v4_global_status.js
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/v4_global_status.js?rev=166663&r1=166662&r2=166663&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/static/v4_global_status.js (original)
+++ lnt/trunk/lnt/server/ui/static/v4_global_status.js Thu Oct 25 00:07:41 2012
@@ -79,7 +79,7 @@
         sortrevind.innerHTML = ' ▾';
         initial_sort_header.appendChild(sortrevind);
         
-        $('.data-cell').click(function() {
+        $('.normal-data-cell').click(function() {
             var test_id = this.getAttribute('test_id');
             var machine_id = this.getAttribute('machine_id');
             var plot_param = ('plot.0=' + machine_id + '.' +

Modified: lnt/trunk/lnt/server/ui/templates/v4_global_status.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_global_status.html?rev=166663&r1=166662&r2=166663&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_global_status.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_global_status.html Thu Oct 25 00:07:41 2012
@@ -109,7 +109,7 @@
     {{ row[1]|aspctcell("data-cell worst-time")|safe }}
     {% for cr, run_id in row[2:] %}
       {% set machine = machines[loop.index0] %}
-      {{ cr.pct_delta|aspctcell("data-cell " + machine.get_css_name(),
+      {{ cr.pct_delta|aspctcell("normal-data-cell data-cell " + machine.get_css_name(),
                                 attributes={ 'test_id': row[0][0],
                                              'machine_id': machine.id })
          |safe }}





More information about the llvm-commits mailing list