2020-05-24 23:03:11 +03:00
|
|
|
{% if mobile %}
|
|
|
|
<header>
|
2022-02-07 20:47:25 +03:00
|
|
|
<div class="header-div">
|
|
|
|
<form class="search-form header"
|
2021-10-27 21:30:55 +03:00
|
|
|
id="search-form"
|
|
|
|
method="{{ 'GET' if config.get_only else 'POST' }}">
|
2021-10-14 05:55:26 +03:00
|
|
|
<a class="logo-link mobile-logo" href="home">
|
2021-06-28 17:26:51 +03:00
|
|
|
<div id="mobile-header-logo">
|
2021-04-05 17:37:39 +03:00
|
|
|
{{ logo|safe }}
|
|
|
|
</div>
|
2020-05-24 23:03:11 +03:00
|
|
|
</a>
|
2021-06-28 17:26:51 +03:00
|
|
|
<div class="H0PQec mobile-input-div">
|
2022-02-07 20:47:25 +03:00
|
|
|
<div class="autocomplete-mobile esbc autocomplete">
|
2021-10-27 21:30:55 +03:00
|
|
|
<input
|
|
|
|
id="search-bar"
|
|
|
|
class="mobile-search-bar"
|
|
|
|
autocapitalize="none"
|
|
|
|
autocomplete="off"
|
|
|
|
autocorrect="off"
|
|
|
|
spellcheck="false"
|
2022-02-07 20:47:25 +03:00
|
|
|
class="search-bar-input"
|
2021-10-27 21:30:55 +03:00
|
|
|
name="q"
|
|
|
|
type="text"
|
|
|
|
value="{{ clean_query(query) }}"
|
|
|
|
dir="auto">
|
2021-06-28 17:26:51 +03:00
|
|
|
<input id="search-reset" type="reset" value="x">
|
2020-05-25 19:53:15 +03:00
|
|
|
<input name="tbm" value="{{ search_type }}" style="display: none">
|
2021-01-19 19:11:13 +03:00
|
|
|
<input type="submit" style="display: none;">
|
2020-05-24 23:03:11 +03:00
|
|
|
<div class="sc"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2022-02-07 20:47:25 +03:00
|
|
|
<div>
|
|
|
|
<div class="header-tab-div">
|
|
|
|
<div class="header-tab-div-2">
|
|
|
|
<div class="header-tab-div-3">
|
|
|
|
<div class="mobile-header header-tab">
|
|
|
|
{% for tab_id, tab_content in tabs.items() %}
|
|
|
|
{% if tab_content['selected'] %}
|
|
|
|
<span class="mobile-tab-span">{{ tab_content['name'] }}</span>
|
|
|
|
{% else %}
|
|
|
|
<a class="header-tab-a" href="{{ tab_content['href'] }}">{{ tab_content['name'] }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
<div class="header-tab-div-end"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="" id="s">
|
|
|
|
</div>
|
2020-05-24 23:03:11 +03:00
|
|
|
</header>
|
|
|
|
{% else %}
|
|
|
|
<header>
|
|
|
|
<div class="logo-div">
|
2021-10-14 05:55:26 +03:00
|
|
|
<a class="logo-link" href="home">
|
2021-06-28 17:26:51 +03:00
|
|
|
<div class="desktop-header-logo">
|
2021-04-05 17:37:39 +03:00
|
|
|
{{ logo|safe }}
|
|
|
|
</div>
|
2020-05-24 23:03:11 +03:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="search-div">
|
2021-09-30 05:40:10 +03:00
|
|
|
<form id="search-form"
|
2021-10-27 21:30:55 +03:00
|
|
|
class="search-form"
|
|
|
|
id="sf"
|
|
|
|
method="{{ 'GET' if config.get_only else 'POST' }}">
|
2021-06-28 17:26:51 +03:00
|
|
|
<div class="autocomplete header-autocomplete">
|
2020-05-24 23:03:11 +03:00
|
|
|
<div style="width: 100%; display: flex">
|
2021-10-27 21:30:55 +03:00
|
|
|
<input
|
|
|
|
id="search-bar"
|
|
|
|
autocapitalize="none"
|
|
|
|
autocomplete="off"
|
|
|
|
autocorrect="off"
|
2022-02-07 20:47:25 +03:00
|
|
|
class="search-bar-desktop search-bar-input"
|
2021-10-27 21:30:55 +03:00
|
|
|
name="q"
|
|
|
|
spellcheck="false"
|
|
|
|
type="text"
|
|
|
|
value="{{ clean_query(query) }}"
|
|
|
|
dir="auto">
|
2020-05-25 19:53:15 +03:00
|
|
|
<input name="tbm" value="{{ search_type }}" style="display: none">
|
2021-01-19 19:11:13 +03:00
|
|
|
<input type="submit" style="display: none;">
|
2020-05-24 23:03:11 +03:00
|
|
|
<div class="sc"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</header>
|
2022-02-07 20:47:25 +03:00
|
|
|
<div>
|
|
|
|
<div class="header-tab-div">
|
|
|
|
<div class="header-tab-div-2">
|
|
|
|
<div class="header-tab-div-3">
|
|
|
|
<div class="desktop-header header-tab">
|
|
|
|
{% for tab_id, tab_content in tabs.items() %}
|
|
|
|
{% if tab_content['selected'] %}
|
|
|
|
<span class="header-tab-span">{{ tab_content['name'] }}</span>
|
|
|
|
{% else %}
|
|
|
|
<a class="header-tab-a" href="{{ tab_content['href'] }}">{{ tab_content['name'] }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
<div class="header-tab-div-end"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="" id="s">
|
|
|
|
</div>
|
2020-05-24 23:03:11 +03:00
|
|
|
{% endif %}
|
|
|
|
|
2021-07-01 02:00:01 +03:00
|
|
|
<script type="text/javascript" src="{{ cb_url('header.js') }}"></script>
|