forked from Icycoide/searxng
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.
This commit is contained in:
parent
ec2516b93d
commit
77ba28cf50
17 changed files with 29 additions and 23 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue