diff options
| author | asciimoo <asciimoo@gmail.com> | 2013-10-14 23:09:13 +0200 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2013-10-14 23:09:13 +0200 |
| commit | ae9fb1d7dccf061032b5d4b167086838feb1463d (patch) | |
| tree | 76cc836e07f9e14fd9f661660ea96bafcf92fa9c /searx/templates | |
[enh] initial commit
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/base.html | 17 | ||||
| -rw-r--r-- | searx/templates/index.html | 8 | ||||
| -rw-r--r-- | searx/templates/results.html | 7 |
3 files changed, 32 insertions, 0 deletions
diff --git a/searx/templates/base.html b/searx/templates/base.html new file mode 100644 index 000000000..b1b051fad --- /dev/null +++ b/searx/templates/base.html @@ -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> diff --git a/searx/templates/index.html b/searx/templates/index.html new file mode 100644 index 000000000..2905cbce2 --- /dev/null +++ b/searx/templates/index.html @@ -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 %} diff --git a/searx/templates/results.html b/searx/templates/results.html new file mode 100644 index 000000000..c7851461a --- /dev/null +++ b/searx/templates/results.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} +{% block content %} +<h1>searx</h1> +{% for result in results %} + <p>{{ result|safe }}</p> +{% endfor %} +{% endblock %} |