diff options
| author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-13 01:03:18 +0100 |
|---|---|---|
| committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-13 01:03:18 +0100 |
| commit | 77ba28cf505e7f0cdde294e8ad10f9c07db43f6a (patch) | |
| tree | d56a6204345d41c46ddf68de6928a68e10179952 /searx/templates/oscar/results.html | |
| parent | ec2516b93db6343afc4bd86291082dfb64914595 (diff) | |
Some RTL fixes
- Pull the suggestions to the right in oscar
- Add `‎` to a few places to print good url
- Always LTR code display
- Order pref label and info in pref for mobile view
And add `sort` for ui languages and languages to find them more easily.
Diffstat (limited to 'searx/templates/oscar/results.html')
| -rw-r--r-- | searx/templates/oscar/results.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index 8303573f0..a75825611 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -91,7 +91,7 @@ </div>
<div class="panel-body">
{% for suggestion in suggestions %}
- <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">
+ <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-{% if rtl %}right{% else %}left{% endif %} suggestion_item">
<input type="hidden" name="q" value="{{ suggestion }}">
<button type="submit" class="btn btn-default btn-xs">{{ suggestion }}</button>
</form>
@@ -115,7 +115,7 @@ <label>{{ _('Download results') }}</label>
<div class="clearfix"></div>
{% for output_type in ('csv', 'json', 'rss') %}
- <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" class="form-inline pull-left result_download">
+ <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" class="form-inline pull-{% if rtl %}right{% else %}left{% endif %} result_download">
<input type="hidden" name="q" value="{{ q }}">
<input type="hidden" name="format" value="{{ output_type }}">
{% for category in selected_categories %}<input type="hidden" name="category_{{ category }}" value="1">{% endfor %}
|