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/macros.html | |
parent | ec2516b93db6343afc4bd86291082dfb64914595 (diff) | |
download | searxng-77ba28cf505e7f0cdde294e8ad10f9c07db43f6a.tar.gz searxng-77ba28cf505e7f0cdde294e8ad10f9c07db43f6a.zip |
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/macros.html')
-rw-r--r-- | searx/templates/oscar/macros.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 42721a812..1ba1617a9 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -33,13 +33,14 @@ {% macro result_footer_rtl(result) -%}
<div class="clearfix"></div>
<span class="label label-default pull-left">{{ result.engine }}</span>
- <p class="text-muted">{{ result.pretty_url }}</p>
+ <p class="text-muted">{{ result.pretty_url }}‎</p>
{%- endmacro %}
{% macro preferences_item_header(info, label, rtl) -%}
{% if rtl %}
<div class="row form-group">
- <span class="col-sm-5 col-md-6 help-block">{{ info }}</span>
+ <label class="col-sm-3 col-md-2 pull-right">{{ label }}</label>
+ <span class="col-sm-5 col-md-6 help-block pull-left">{{ info }}</span>
<div class="col-sm-4 col-md-4">
{% else %}
<div class="row form-group">
@@ -51,7 +52,6 @@ {% macro preferences_item_footer(info, label, rtl) -%}
{% if rtl %}
</div>
- <label class="col-sm-3 col-md-2">{{ label }}</label>
</div>
{% else %}
</div>
|