1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-25 23:47:47 +01:00
pywb/pywb/templates/header.html

14 lines
477 B
HTML
Raw Normal View History

<header>
{% if not err_msg and locales|length > 1 %}
<div class="language-select">
{{ _('Language:') }}
<ul role="listbox" aria-activedescendant="{{ env.pywb_lang | default(default_locale) }}" aria-labelledby="{{ _('Language select') }}">
{% for locale in locales %}
<li role="option" id="{{ locale }}"><a href="{{ switch_locale(locale) }}">{{ locale }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
</header>