hopes and dreams
This commit is contained in:
parent
e3b1ac8bd1
commit
8f021fabf3
9 changed files with 23 additions and 26 deletions
36
src/templates/search.html
Normal file
36
src/templates/search.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<!--
|
||||
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>
|
Loading…
Add table
Add a link
Reference in a new issue