Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: scripts/slave/recipe_modules/chromium_android/resources/template/table.html

Issue 2252603002: Created a line of summary and enabled suite name onclick function. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/chromium_android/resources/template/table.html
diff --git a/scripts/slave/recipe_modules/chromium_android/resources/template/table.html b/scripts/slave/recipe_modules/chromium_android/resources/template/table.html
index 85c4cac23a0b027c4e5e81e393fc39c9ad4ea3ac..a004f2a40277287493466e5bb1c368975b237f5e 100644
--- a/scripts/slave/recipe_modules/chromium_android/resources/template/table.html
+++ b/scripts/slave/recipe_modules/chromium_android/resources/template/table.html
@@ -19,6 +19,8 @@
<pre>{{cell.data}}</pre>
{% elif cell.link %}
<a onclick="window.open('{{cell.link}}');">{{cell.data}}</a>
+ {% elif cell.action %}
+ <a onclick="{{cell.action}}">{{cell.data}}</a>
{% else %}
{{cell.data}}
{% endif %}
@@ -27,4 +29,17 @@
</tr>
{% endfor %}
</tbody>
+ <tfoot>
+ <tr>
+ {% for cell in tb_value.summary %}
+ <td class="{{loop.index0}} {{cell.class}}">
+ {% if cell.action %}
+ <a onclick="{{cell.action}}"><b>{{cell.data}}</b></a>
+ {% else %}
+ <b>{{cell.data}}</b>
+ {% endif %}
+ </td>
+ {% endfor %}
+ </tr>
+ </tfoot>
</table>

Powered by Google App Engine
This is Rietveld 408576698