blob: 02f6292a9be4eb354528081a316b57f839423b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
{% macro navlink(site, text) -%}
<li class="nav-item mx-2">
<a class="nav-link {{ 'active' if filename == site else '' }}"
href="{{ url_localized(site) }}">
{{ text }}
</a>
</li>
{%- endmacro %}
<div id="skip">
<a href="#maincontent" class="skip">{% trans %}Skip to main content{% endtrans %}</a>
</div>
<div class="container">
<nav class="navbar navbar-expand-lg border-bottom">
<div class="container-fluid">
<a class="navbar-brand d-flex" href="{{ url_localized('index.html') }}">
<img alt="Home" width="100.5" height="45" src="{{ url_static('images/logo-2021.svg') }}">
</a>
<button class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup"
aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<ul class="navbar-nav me-lg-auto">
{{ navlink('features.html', _('Features')) }}
{{ navlink('principles.html', _('Principles')) }}
{{ navlink('docs.html', _('Docs')) }}
{{ navlink('development.html', _('Development')) }}
{{ navlink('comingsoon.html', _('Coming soon')) }}
{{ navlink('news/index.html', _('News')) }}
<li class="nav-item mx-2">
<a class="nav-link" href="https://taler-systems.com/" target="_blank" rel="noopener noreferrer">{% trans %}Company{% endtrans %}</a>
</li>
</ul>
<div class="nav-item dropdown">
<button class="btn btn-dark dropdown-toggle"
type="button"
id="dropdownMenu1"
data-bs-toggle="dropdown"
data-bs-auto-close="true"
aria-haspopup="true"
aria-expanded="true">
<img src="{{ url_static('images/languageicon.svg') }}"
height="35"
alt="[{{lang}}]" />
{{ lang_full }} [{{ lang }}]
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
{% if lang != 'en' %}
<li><a class="dropdown-item" href="{{ self_localized('en') }}">English [en]</a></li>
{% endif %}
{% if lang != 'ar' %}
<li><a class="dropdown-item" href="{{ self_localized('ar') }}">عربى [ar]</a></li>
{% endif %}
{% if lang != 'zh_Hant' %}
<li><a class="dropdown-item" href="{{ self_localized('zh_Hant') }}">繁體中文 [zh]</a></li>
{% endif %}
{% if lang != 'zh_Hans' %}
<li><a class="dropdown-item" href="{{ self_localized('zh_Hans') }}">简体中文 [zh_Hans]</a></li>
{% endif %}
{% if lang != 'fr' %}
<li><a class="dropdown-item" href="{{ self_localized('fr') }}">Français [fr]</a></li>
{% endif %}
{% if lang != 'de' %}
<li><a class="dropdown-item" href="{{ self_localized('de') }}">Deutsch [de]</a></li>
{% endif %}
{% if lang != 'hu' %}
<li><a class="dropdown-item" href="{{ self_localized('hu') }}">Magyar [hu]</a></li>
{% endif %}
<!-- {% if lang != 'hi' %}
<li><a class="dropdown-item" href="{{ self_localized('hi') }}">हिंदी [hi]</a></li>
{% endif %} -->
{% if lang != 'it' %}
<li><a class="dropdown-item" href="{{ self_localized('it') }}">Italiano [it]</a></li>
{% endif %}
{% if lang != 'ja' %}
<li><a class="dropdown-item" href="{{ self_localized('ja') }}">日本語 [ja]</a></li>
{% endif %}
{% if lang != 'ko' %}
<li><a class="dropdown-item" href="{{ self_localized('ko') }}">한국어 [ko]</a></li>
{% endif %}
<!-- {% if lang != 'pt' %}
<li><a class="dropdown-item" href="{{ self_localized('pt') }}">Português [pt]</a></li>
{% endif %} -->
<!-- {% if lang != 'pt_BR' %}
<li><a class="dropdown-item" href="{{ self_localized('pt_BR') }}">Português (Brazil) [pt]</a></li>
{% endif %} -->
{% if lang != 'ru' %}
<li><a class="dropdown-item" href="{{ self_localized('ru') }}">Ру́сский язы́к [ru]</a></li>
{% endif %}
{% if lang != 'es' %}
<li><a class="dropdown-item" href="{{ self_localized('es') }}">Español [es]</a></li>
{% endif %}
{% if lang != 'sv' %}
<li><a class="dropdown-item" href="{{ self_localized('sv') }}">Svenska [sv]</a></li>
{% endif %}
{% if lang != 'tr' %}
<li><a class="dropdown-item" href="{{ self_localized('tr') }}">Türkçe [tr]</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
</nav>
</div>
|