baoSOC/reports/templates/queries.html.j2
2024-06-18 21:46:23 +02:00

44 lines
1.5 KiB
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en" data-bs-theme="auto">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.112.5">
<title>{{ data['title'] }}</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.3/examples/jumbotron/">
<link href="../templates/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<main>
<div class="container py-4">
<header class="pb-3 mb-4 border-bottom">
<span class="d-flex align-items-center text-body-emphasis text-decoration-none; fs-4">Report</span>
</header>
{% include 'nav.html.j2' %}
<div class="p-5 mb-4 bg-body-tertiary rounded-3">
<div class="container-fluid py-5">
<h1 class="display-5 fw-bold">Report - queries</h1>
<p class="col-md-8 fs-4">Report of the day... blablabla</p>
</div>
</div>
{% for item in data['queries'] %}
Packet id: {{ item['id'] }}<br />
<span style="margin-left:15pt;">Src: {{ item['src'] }};
Dest: {{ item['dst'] }};
{% if 'query' in item %}
Query: {{ item['query'] }};
{% elif 'answer' in item %}
Answer: {{ item['answer'] }};
{% endif %}
Type: {{ item['type'] }}
Len: {{ item['len'] }}</span><br /><br />
{% endfor %}
{% include 'footer.html.j2' %}