mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[enh] initial commit
This commit is contained in:
commit
ae9fb1d7dc
11 changed files with 139 additions and 0 deletions
17
searx/templates/base.html
Normal file
17
searx/templates/base.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="content-language" content="en" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
<title>searx {% block title %}{% endblock %}</title>
|
||||
<link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" charset="utf-8" />
|
||||
{% block styles %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
8
searx/templates/index.html
Normal file
8
searx/templates/index.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>searx</h1>
|
||||
<form method="post" action="">
|
||||
<input type="text" name="q" />
|
||||
<input type="submit" value="search" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
7
searx/templates/results.html
Normal file
7
searx/templates/results.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>searx</h1>
|
||||
{% for result in results %}
|
||||
<p>{{ result|safe }}</p>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue