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

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: fixes 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..640ca006876658dc37401054fd30f8238e6258af 100644
--- a/scripts/slave/recipe_modules/chromium_android/resources/template/table.html
+++ b/scripts/slave/recipe_modules/chromium_android/resources/template/table.html
@@ -12,13 +12,15 @@
</thead>
<tbody class="body">
{% for row in tb_value.table_rows %}
- <tr>
+ <tr class="{{tb_value.table_id}}-body-row">
{% for cell in row %}
- <td class="{{loop.index0}} {{cell.class}}">
+ <td class="{{tb_value.table_id}}-body-column-{{loop.index0}} {{cell.class}}">
{% if cell.is_pre %}
<pre>{{cell.data}}</pre>
{% elif cell.link %}
<a onclick="window.open('{{cell.link}}');">{{cell.data}}</a>
+ {% elif cell.action %}
+ <a>{{cell.data}}</a>
{% else %}
{{cell.data}}
{% endif %}
@@ -27,4 +29,17 @@
</tr>
{% endfor %}
</tbody>
+ <tfoot>
+ <tr>
+ {% for cell in tb_value.summary %}
+ <td class="{{tb_value.table_id}}-summary-column-{{loop.index0}} {{cell.class}}">
+ {% if cell.action %}
+ <a><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