<!--
This file is part of VM-Experiments.
Licensed under the AGPL-3.0-or-later. See LICENSE for details.
-->

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href=/static/style.css>
    <title>Document</title>
</head>

<body>
    <div id="top">
        <h1 id="title">JetSearch</h1>
    </div>

    <div id="content">
        <form id="form" action="/search" method="get">
            <label for="textInput">Search:</label>
            <input type="text" name="query" required>
            <input type="submit" value="Submit">
        </form>
        {% for result in results %}
        <a href="{{ result.link }}">{{ result.term }} <p class="link">{{ result.link }}</p>
            <p class="description">{{ result.description }}</p>
        </a>
        <br>
        {% endfor %}
    </div>
</body>

</html>