initial commit
This commit is contained in:
commit
5f26bcc34b
7 changed files with 848 additions and 0 deletions
49
templates/search.html
Normal file
49
templates/search.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
<!--
|
||||
jet-search
|
||||
Copyright (C) 2024 VM-Experiments
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<!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