Skip to content

Commit

Permalink
Move flags to breadcrumbs_aside
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfire84 committed Jan 19, 2020
1 parent f6b6948 commit 7738f0e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
13 changes: 13 additions & 0 deletions docs/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{%- extends '!breadcrumbs.html' %}

{% block breadcrumbs_aside %}
<div>
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-fr" alt="France" role="button" onclick="gTranslate('fr')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-de" alt="Germany" role="button" onclick="gTranslate('de')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-jp" alt="Japan" role="button" onclick="gTranslate('ja')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-mx" alt="Mexico" role="button" onclick="gTranslate('es')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-it" alt="Italy" role="button" onclick="gTranslate('it')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-es" alt="Spain" role="button" onclick="gTranslate('es')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-us" alt="United States of America" role="button" onclick="gTranslate('en')" />
</div>
{% endblock %}
12 changes: 0 additions & 12 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
{% extends '!layout.html' %}

{% block sidebartitle %}
<div>
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-fr" alt="France" role="button" onclick="gTranslate('fr')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-de" alt="Germany" role="button" onclick="gTranslate('de')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-jp" alt="Japan" role="button" onclick="gTranslate('ja')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-mx" alt="Mexico" role="button" onclick="gTranslate('es')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-it" alt="Italy" role="button" onclick="gTranslate('it')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-es" alt="Spain" role="button" onclick="gTranslate('es')" />
<img src="{{ pathto("_static/images/blank.gif", True) }}" class="flag flag-us" alt="United States of America" role="button" onclick="gTranslate('en')" />
</div>
{% endblock %}

{% block extrahead %}
<link href="{{ pathto("_static/css/rtd_dark_centre.css", True) }}" rel="stylesheet" type="text/css">
<link href="{{ pathto("_static/css/flags.css", True) }}" rel="stylesheet" type="text/css">
Expand Down

0 comments on commit 7738f0e

Please sign in to comment.