summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-05-31 23:45:14 +0200
committerGitHub <noreply@github.com>2020-05-31 23:45:14 +0200
commit19e32dc686e40f5e7ec1653f4a05aaa75cb17d80 (patch)
tree5b2e8e02a72f044f48406883c6a43e1b0125a882 /searx/templates
parentda02e0b8d89fb664786e7bb8f1050fad0c86db6a (diff)
parenta3e15a3df6f5502c58f82f18e09d80a2fdf7a957 (diff)
downloadsearxng-19e32dc686e40f5e7ec1653f4a05aaa75cb17d80.tar.gz
searxng-19e32dc686e40f5e7ec1653f4a05aaa75cb17d80.zip
Merge pull request #1978 from kvch/fix-rtl-in-oscar
Fix Farsi language in Oscar && adjust tables with RTL
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/preferences.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 38d9c7b04..0d96ff5f2 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -182,14 +182,14 @@
<th>{{ _("Avg. time") }}</th>
<th>{{ _("Max time") }}</th>
{% else %}
- <th>{{ _("Max time") }}</th>
- <th>{{ _("Avg. time") }}</th>
- <th>{{ _("Time range") }}</th>
- <th>{{ _("SafeSearch") }}</th>
- <th>{{ _("Selected language") }}</th>
- <th>{{ _("Shortcut") }}</th>
- <th>{{ _("Engine name") }}</th>
- <th>{{ _("Allow") }}</th>
+ <th class="text-right">{{ _("Max time") }}</th>
+ <th class="text-right">{{ _("Avg. time") }}</th>
+ <th class="text-right">{{ _("Time range") }}</th>
+ <th class="text-right">{{ _("SafeSearch") }}</th>
+ <th class="text-right">{{ _("Selected language") }}</th>
+ <th class="text-right">{{ _("Shortcut") }}</th>
+ <th class="text-right">{{ _("Engine name") }}</th>
+ <th class="text-right">{{ _("Allow") }}</th>
{% endif %}
</tr>
{% for search_engine in engines_by_category[categ] %}
@@ -264,10 +264,10 @@
</p>
<table class="table table-striped">
<tr>
- <th class="text-muted">{{ _('Name') }}</th>
- <th class="text-muted">{{ _('Keywords') }}</th>
- <th class="text-muted">{{ _('Description') }}</th>
- <th class="text-muted">{{ _('Examples') }}</th>
+ <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Name') }}</th>
+ <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Keywords') }}</th>
+ <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Description') }}</th>
+ <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Examples') }}</th>
</tr>
{% for answerer in answerers %}
@@ -293,8 +293,8 @@
{% if cookies %}
<table class="table table-striped">
<tr>
- <th class="text-muted" style="padding-right:40px;">{{ _('Cookie name') }}</th>
- <th class="text-muted">{{ _('Value') }}</th>
+ <th class="text-muted{% if rtl %} text-right{% endif %}" style="padding-right:40px;">{{ _('Cookie name') }}</th>
+ <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Value') }}</th>
</tr>
{% for cookie in cookies %}