New perf dashboard should compare results to baseline and target
[WebKit-https.git] / Websites / perf.webkit.org / public / v2 / index.html
index 0147cf7..dd9b486 100755 (executable)
                 {{/if}}
             {{/each}}
             </tbody>
-            <tr><th>Current</th><td>{{details.currentValue}} {{chartData.unit}}
-            {{#if details.oldValue}}
-                (from {{details.oldValue}})
-            {{/if}}</td></tr>
+            <tbody class="status">
+                <tr>
+                    <th>Current</th>
+                    <td>
+                        {{details.currentValue}} {{chartData.unit}}
+                        {{#if details.oldValue}}
+                            (from {{details.oldValue}} {{chartData.unit}})
+                        {{/if}}
+                        {{#if details.status.label}}
+                            <br>
+                            <span {{bind-attr class=details.status.className}}>{{details.status.label}}</span>
+                        {{/if}}
+                    </td>
+                </tr>
+            </tbody>
             {{#if details.buildNumber}}
                 <tr>
                     <th>Build</th>