| Index: build/android/render_tests/render_webpage.html.jinja2
|
| diff --git a/build/android/render_tests/render_webpage.html.jinja2 b/build/android/render_tests/render_webpage.html.jinja2
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..183f9cc67dd56d8804d6382a65155e49bc9f4eb0
|
| --- /dev/null
|
| +++ b/build/android/render_tests/render_webpage.html.jinja2
|
| @@ -0,0 +1,36 @@
|
| +<html>
|
| + <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
| + <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
|
| + <script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
|
| +
|
| + {% for test_class, device_results in full_results.iteritems() %}
|
| + <div class="mdl-color--white mdl-shadow--1dp mdl-color-text--grey-800 mdl-cell">
|
| + <h3>{{ test_class }}</h3>
|
| + </div>
|
| +
|
| + {% for device_model, test_results in device_results.iteritems() %}
|
| + <table class="mdl-data-table mdl-js-data-table" width="100%" align="center">
|
| + <thead>
|
| + <tr>
|
| + <th class="mdl-data-table__cell--non-numeric">Device Model</th>
|
| + <th class="mdl-data-table__cell--non-numeric">Description</th>
|
| + <th class="mdl-data-table__cell--non-numeric">Golden</th>
|
| + <th class="mdl-data-table__cell--non-numeric">Failure</th>
|
| + <th class="mdl-data-table__cell--non-numeric">Diff</th>
|
| + </tr>
|
| + </thead>
|
| + <tbody>
|
| + {% for result in test_results %}
|
| + <tr>
|
| + <td class="mdl-data-table__cell--non-numeric">{{ device_model }}</td>
|
| + <td class="mdl-data-table__cell--non-numeric">{{ result['description'] }}</td>
|
| + <td><img src="{{ result['golden_image'] }}" width="100%"></td>
|
| + <td><img src="{{ result['failure_image'] }}" width="100%"></td>
|
| + <td><img src="{{ result['diff_image'] }}" width="100%"></td>
|
| + </tr>
|
| + {% endfor %}
|
| + </tbody>
|
| + </table>
|
| + {% endfor %}
|
| + {% endfor %}
|
| +</html>
|
|
|