Files
sunnypilot/selfdrive/ui/tests/test_ui/template.html
Justin Newberry d3ead5e4ff test_ui: create test ui screenshots and html report (#31147)
* test ui

* report + common

* in ci

* fix

* dont enable in ci yet
old-commit-hash: e2ec5be6ee
2024-01-24 13:54:31 -08:00

34 lines
378 B
HTML

<html>
<style>
.column {
float: left;
width: 50%;
padding: 5px;
}
.row::after {
content: "";
clear: both;
display: table;
}
.image {
width: 100%;
}
</style>
{% for name, (image, ref_image) in cases.items() %}
<h1>{{name}}</h1>
<div class="row">
<div class="column">
<img class="image" src="{{ image }}" />
</div>
</div>
<br>
{% endfor %}
</html>