<!DOCTYPE html>
<html lang="cs">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<style>
    table, th, td {
        border: 1px solid;
    }

    table {
        border-collapse: collapse;
    }

    th, td {
        padding: 15px;
        text-align: center;
    }
</style>

<h1>Zprava o detekci pohybu</h1>
<p>Začátek zpracování: <i>{{ format_datetime(start_time) }}</i></p>
<p>Konec zpracování: <i>{{ format_datetime(end_time) }}</i></p>
<p>Delka zpracování: <i>{{ format_timedelta(end_time - start_time) }}</i></p>
{% for result in video_results %}
    {% include "video_report.html" %}
{% endfor %}
</body>
</html>