mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
56 lines
2.1 KiB
HTML
56 lines
2.1 KiB
HTML
<nav class="md-nav md-nav--primary" data-md-level="0">
|
|
{% if not config.extra.single_page %}
|
|
<label class="md-nav__title md-nav__title--site" for="drawer">
|
|
{{ config.site_name }}
|
|
</label>
|
|
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
{% for nav_item in nav %}
|
|
{% set path = "nav-" + loop.index | string %}
|
|
{% set level = 1 %}
|
|
{% include "partials/nav-item.html" %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<ul id="md-extra-nav" class="md-nav__list" data-md-scrollfix>
|
|
<li class="md-nav__item md-nav__item--active">
|
|
{{ lang.t("nav.release") }}:
|
|
<span class="md-selector">
|
|
<select id="releases-selector">
|
|
<option value="">{{ lang.t("nav.latest") }}</option>
|
|
{% for release in config.extra.stable_releases %}
|
|
<option value="{{ release.0 }}"
|
|
{% if release.0 == config.extra.version_prefix %}
|
|
selected="selected"
|
|
{% endif %}
|
|
>{{ release.0 }}</option>
|
|
{% endfor %}
|
|
</select><span id="releases-selector-after"> ▾</span>
|
|
</span>
|
|
</li>
|
|
<li class="md-nav__item md-nav__item--active">
|
|
{% if config.extra.single_page %}
|
|
<a href="{{ base_url }}" class="md-nav__link md-nav__link--active">{{ lang.t("nav.multi_page") }}</a>
|
|
{% else %}
|
|
<a href="{{ base_url }}/single/" class="md-nav__link md-nav__link--active">{{ lang.t("nav.single_page") }}</a>
|
|
{% endif %}
|
|
</li>
|
|
<li class="md-nav__item md-nav__item--active">
|
|
<a href="{{ base_url }}/single/clickhouse_{{ config.theme.language }}.pdf" class="md-nav__link md-nav__link--active">{{ lang.t("nav.pdf") }}</a>
|
|
</li>
|
|
{% if config.repo_url %}
|
|
<li class="md-nav__item md-nav__item--active">
|
|
<a href="{{ config.repo_url }}" rel="external nofollow" target="_blank" class="md-nav__link">
|
|
{{ lang.t("nav.source") }}
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
<li class="md-nav__item md-nav__item--active">
|
|
<span id="md-sidebar-flags" class="md-nav__link">
|
|
{% include "partials/flags.html" %}
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
</nav>
|