summaryrefslogtreecommitdiff
path: root/searx/templates/simple/info.html
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-03-13 23:12:46 +0100
committerGitHub <noreply@github.com>2022-03-13 23:12:46 +0100
commitcd92a7eacdd6b4c333e57111e1503b8455628067 (patch)
treea2f72a42d2024c1f612bee5f9058920c643e6878 /searx/templates/simple/info.html
parente847313007aa3a61c26acda122bb183df1df76a7 (diff)
parent1157462ff9fc08504297e259356ccbefb339965f (diff)
Merge pull request #930 from return42/merge-user-doc2
Integrate the user documentation into the application
Diffstat (limited to 'searx/templates/simple/info.html')
-rw-r--r--searx/templates/simple/info.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/templates/simple/info.html b/searx/templates/simple/info.html
new file mode 100644
index 000000000..5030cd490
--- /dev/null
+++ b/searx/templates/simple/info.html
@@ -0,0 +1,14 @@
+{% extends 'simple/page_with_header.html' %}
+{% block title %}{{ active_page.title }} - {% endblock %}
+{% block content %}
+<ul class="tabs">
+{% for pagename, page, locale in all_pages %}
+ <li>
+ <a href="{{ url_for('info', pagename=pagename, locale=locale) }}" {% if pagename == active_pagename %}class="active"{% endif %}>{{page.title}}</a>
+ </li>
+{% endfor %}
+</ul>
+<div class="info-page {{pagename}}">
+ {{- active_page.html | safe -}}
+</div>
+{% endblock %}