summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-06-04 23:18:22 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-06-04 23:18:22 +0200
commit434e452d54eb5ebdb363a05bea161291ad922cc1 (patch)
tree227edad9ea63f3313c7b5f38a6bb60e357534a13 /searx/templates
parenta3431d59d381ff3b5cfb70a2b12ef0518821ed95 (diff)
parentde1b08a941a6834a39159b9a2aa3ff3552df029f (diff)
downloadsearxng-434e452d54eb5ebdb363a05bea161291ad922cc1.tar.gz
searxng-434e452d54eb5ebdb363a05bea161291ad922cc1.zip
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/courgette/base.html2
-rw-r--r--searx/templates/courgette/preferences.html4
-rw-r--r--searx/templates/legacy/base.html2
-rw-r--r--searx/templates/legacy/preferences.html4
-rw-r--r--searx/templates/oscar/base.html2
-rw-r--r--searx/templates/simple/base.html2
6 files changed, 10 insertions, 6 deletions
diff --git a/searx/templates/courgette/base.html b/searx/templates/courgette/base.html
index 8e272585c..f4c61dac2 100644
--- a/searx/templates/courgette/base.html
+++ b/searx/templates/courgette/base.html
@@ -29,7 +29,7 @@
searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
</script>
</head>
- <body>
+ <body class="{{ endpoint }}_endpoint" >
<div id="container">
{% block content %}
{% endblock %}
diff --git a/searx/templates/courgette/preferences.html b/searx/templates/courgette/preferences.html
index 56a6e0202..c67f7662b 100644
--- a/searx/templates/courgette/preferences.html
+++ b/searx/templates/courgette/preferences.html
@@ -98,6 +98,7 @@
<table class="engine-table">
<tr>
<th>{{ _('Engine name') }}</th>
+ <th>{{ _('Shortcut') }}</th>
<th>{{ _('Category') }}</th>
<th>{{ _('Allow') }} / {{ _('Block') }}</th>
</tr>
@@ -106,7 +107,8 @@
{% if not search_engine.private %}
<tr>
- <td>{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})&lrm;</td>
+ <td>{{ search_engine.name }}</td>
+ <td>{{ shortcuts[search_engine.name] }}</td>
<td>{{ _(categ) }}</td>
<td class="engine_checkbox">
<input type="checkbox" id="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}" name="engine_{{ search_engine.name }}__{{ categ }}"{% if (search_engine.name, categ) in disabled_engines %} checked="checked"{% endif %} />
diff --git a/searx/templates/legacy/base.html b/searx/templates/legacy/base.html
index da19741cb..21fe42e16 100644
--- a/searx/templates/legacy/base.html
+++ b/searx/templates/legacy/base.html
@@ -20,7 +20,7 @@
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
{% endblock %}
</head>
- <body>
+ <body class="{{ endpoint }}_endpoint" >
<div id="container">
{% block content %}
{% endblock %}
diff --git a/searx/templates/legacy/preferences.html b/searx/templates/legacy/preferences.html
index f418dcd5b..414b3f6c0 100644
--- a/searx/templates/legacy/preferences.html
+++ b/searx/templates/legacy/preferences.html
@@ -95,6 +95,7 @@
<table>
<tr>
<th>{{ _('Engine name') }}</th>
+ <th>{{ _('Shortcut') }}</th>
<th>{{ _('Category') }}</th>
<th>{{ _('Allow') }} / {{ _('Block') }}</th>
</tr>
@@ -103,7 +104,8 @@
{% if not search_engine.private %}
<tr>
- <td>{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})&lrm;</td>
+ <td>{{ search_engine.name }}</td>
+ <td>{{ shortcuts[search_engine.name] }}</td>
<td>{{ _(categ) }}</td>
<td class="engine_checkbox">
<input type="checkbox" id="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}" name="engine_{{ search_engine.name }}__{{ categ }}"{% if (search_engine.name, categ) in disabled_engines %} checked="checked"{% endif %} />
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 5eb4462e4..cd3d23df5 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -47,7 +47,7 @@
</style>
</noscript>
</head>
-<body>
+<body class="{{ endpoint }}_endpoint" >
{% include 'oscar/navbar.html' %}
<div class="container">
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index 71df123ea..650ef771c 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -32,7 +32,7 @@
{% endblock %}
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
</head>
-<body>
+<body class="{{ endpoint }}_endpoint" >
<main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}">
{% if errors %}
<div class="dialog-error" role="alert">