Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
| 2 <head> | |
| 3 <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Materi al+Icons"> | |
| 4 <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.cyan-teal .min.css"> | |
| 5 <script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script> | |
| 6 </head> | |
| 7 | |
| 8 <body> | |
| 9 {% for test_class, device_results in full_results.iteritems() %} | |
| 10 <div class="mdl-color--primary" width="100%"> | |
| 11 <h3>{{ test_class }}</h3> | |
| 12 </div> | |
| 13 | |
| 14 {% for device_model, test_results in device_results.iteritems() %} | |
| 15 <div class="mdl-color--accent" width="100%"> | |
| 16 <h4>{{ device_model }}</h4> | |
| 17 </div> | |
| 18 <table class="mdl-data-table mdl-js-data-table" width="100%" align="cent er"> | |
| 19 <thead> | |
| 20 <tr> | |
| 21 <th class="mdl-data-table__cell--non-numeric">Device Model</th> | |
| 22 <th class="mdl-data-table__cell--non-numeric">Description</th> | |
| 23 <th class="mdl-data-table__cell--non-numeric">Golden</th> | |
| 24 <th class="mdl-data-table__cell--non-numeric">Failure</th> | |
| 25 <th class="mdl-data-table__cell--non-numeric">Diff</th> | |
| 26 </tr> | |
| 27 </thead> | |
| 28 <tbody> | |
| 29 {% for result in test_results %} | |
| 30 <tr> | |
| 31 <td class="mdl-data-table__cell--non-numeric">{{ device_model }} </td> | |
| 32 <td class="mdl-data-table__cell--non-numeric">{{ result['descrip tion'] }}</td> | |
| 33 <td><img src="{{ result['golden_image'] }}" width="100%"></td> | |
|
PEConn
2016/10/11 12:20:07
The images could be quite large, maybe it would be
mikecase (-- gone --)
2016/10/18 16:00:13
Made clicking them open them in a new tab. The ima
| |
| 34 <td><img src="{{ result['failure_image'] }}" width="100%"></td> | |
| 35 <td><img src="{{ result['diff_image'] }}" width="100%"></td> | |
| 36 </tr> | |
| 37 {% endfor %} | |
| 38 </tbody> | |
| 39 </table> | |
| 40 {% endfor %} | |
| 41 {% endfor %} | |
| 42 </body> | |
| 43 </html> | |
| OLD | NEW |