2021-09-20 06:52:51 +00:00
< nav id = "top-nav" class = "navbar py-1 navbar-dark navbar-expand-md bg-dark-alt text-white fixed-top" >
2020-03-30 08:25:29 +00:00
< div class = "container-fluid justify-content-between" >
< a class = "d-block navbar-brand mr-3" href = "/" >
< img id = "docs-logo-icon" src = "/images/logo.svg" alt = "ClickHouse logo" title = "ClickHouse logo" / >
< / a >
< div class = "w-100 navbar-text text-left d-none d-md-block" >
< h1 class = "h3 m-0 p-0 d-inline" >
< a href = "#" class = "text-white text-decoration-none" >
2020-06-22 13:35:41 +00:00
{% if not page.title.startswith('hidden') %}
2020-04-16 18:03:52 +00:00
{{ page.title or config.site_name }}
{% else %}
{{ page.meta.toc_folder_title or config.site_name }}
{% endif %}
2020-03-30 08:25:29 +00:00
< / a >
< / h1 >
< / div >
< div class = "d-none d-md-block" >
< ul class = "navbar-nav ml-auto mt-2 mt-lg-0 justify-content-end" >
{% if config.extra.single_page %}
{% set edit_url = config.repo_url + 'tree/master/docs' %}
{% else %}
{% set edit_url = page.edit_url %}
{% endif %}
{% if edit_url %}
2020-05-18 14:38:36 +00:00
< li id = "edit-wrapper" class = "nav-item" >
2021-09-20 06:52:51 +00:00
< a id = "edit-link" href = "{{ edit_url }}" title = "Edit this article" class = "nav-link" rel = "external nofollow noreferrer" target = "_blank" > < img src = "/images/mkdocs/edit.svg" alt = "Edit this article" height = "60" / > < / a >
2020-03-30 08:25:29 +00:00
< / li >
{% endif %}
< li class = "nav-item" >
< a class = "nav-link" href = "https://github.com/ClickHouse/ClickHouse" rel = "external nofollow noreferrer" >
2021-09-20 06:52:51 +00:00
< img src = "/images/index/github.svg" alt = "GitHub repository" title = "Go to GitHub" height = "72" / >
2020-03-30 08:25:29 +00:00
< / a >
< / li >
2021-09-20 06:52:51 +00:00
< li id = "languages-wrapper" class = "nav-item dropdown mr-3" >
2020-03-30 08:25:29 +00:00
< div id = "languages-dropdown" >
< a class = "nav-link dropdown-toggle d-inline-block mt-1 text-muted" href = "#" id = "lang-dropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2021-09-20 06:52:51 +00:00
< img src = "/images/flags/{{ language }}.svg" alt = "{{ config.extra.languages[language] }}" title = "{{ config.extra.languages[language] }}" width = "60" class = "d-inline-block mt-n1" / >
2020-03-30 08:25:29 +00:00
< / a >
< div class = "dropdown-menu bg-dark" aria-labelledby = "lang-dropdown" >
{% for code, name in config.extra.languages.items() %}
< a class = "dropdown-item{% if language == code %} disabled{% endif %}"
2020-12-21 20:04:22 +00:00
href="/docs/{{ code }}/{{ page.url }}">
2021-09-20 06:52:51 +00:00
< img src = "/images/flags/{{ code }}.svg" alt = "" title = "" width = "60" class = "d-inline-block mr-2" / > {{ name }}
2020-03-30 08:25:29 +00:00
< / a >
{% endfor %}
< / div >
< / div >
< / li >
< / ul >
< / div >
< form id = "search-form" class = "form-inline m-0" >
< div class = "input-group" >
< div class = "input-group-prepend w-100" >
< span class = "input-group-text bg-secondary-alt text-muted border-0 mr-n1" id = "search-icon" >
< img src = "/images/mkdocs/search.svg" / >
< / span >
< input id = "docsearch-input" class = "form-control bg-secondary-alt text-muted border-0 pl-1" type = "search" placeholder = "Search" aria-label = "Search" >
< / div >
< / div >
< / form >
< button id = "navbar-toggler" class = "navbar-toggler border-0" type = "button" data-toggle = "collapse" data-target = "#sidebar" aria-controls = "sidebar" aria-expanded = "false" aria-label = "Toggle navigation" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< / div >
< / nav >