mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
40 lines
975 B
Django/Jinja
40 lines
975 B
Django/Jinja
<html>
|
|
<head>
|
|
<title>{{ test_name }}</title>
|
|
<script>
|
|
function toggleZoom() {
|
|
for (const img of document.getElementsByTagName("img")) {
|
|
if (img.hasAttribute('style')) {
|
|
img.removeAttribute('style');
|
|
} else {
|
|
img.style.width = '100%';
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<a href="https://cs.chromium.org/search/?q={{ test_name }}&m=100&type=cs">Link to Golden</a>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Failure</th>
|
|
<th>Golden</th>
|
|
<th>Diff</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody style="vertical-align: top">
|
|
<tr onclick="toggleZoom()">
|
|
<td><img src="{{ failure_link }}" style="width: 100%" /></td>
|
|
{% if golden_link %}
|
|
<td><img src="{{ golden_link }}" style="width: 100%" /></td>
|
|
<td><img src="{{ diff_link }}" style="width: 100%" /></td>
|
|
{% else %}
|
|
<td>No Golden Image.</td>
|
|
{% endif %}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|