aerogramme.deuxfleurs.fr/templates/base.html

70 lines
2.8 KiB
HTML
Raw Normal View History

2022-01-24 17:36:50 +00:00
{% import 'macros.html' as macros %}
<!DOCTYPE html>
<html lang="{{ lang }}">
2022-01-24 17:36:50 +00:00
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
{% include "partials/shared/head.html" %}
2022-01-24 17:36:50 +00:00
</head>
<body class="has-background-white">
{% include "partials/shared/nav.html" %}
<div>
{% block content %}{% endblock %}
2022-01-24 17:36:50 +00:00
</div>
{% block search %}
<section id="search-modal" class="modal hidden bg-gray-50 w-5/6 md:w-4/5 lg:w-3/4 xl:w-2/3 2xl:w-1/2 absolute top-20 left-1/2 transform -translate-x-1/2 shadow-xl rounded-lg">
<div class="p-2 md:p-4 xl:p-8">
<section class="relative flex flex-col items-center justify-center">
<div class="field mt-8 md:mt-0 mb-2">
<div class="control">
<input
id="search"
class="p-2 md:p-4 shadow rounded-lg outline-2 focus:outline outline-garage-orange"
placeholder="Search on Garage..." type="search" />
</div>
</div>
<div class="search-results hidden mt-8 p-2 md:p-4 w-full bg-white rounded shadow">
<div class="search-results__items max-h-96 overflow-y-scroll p-2 md:p-4"></div>
</div>
</section>
<button aria-label="close" id="close-modal-btn" class="absolute top-2 right-2 flex items-center group rounded-full shadow-inner bg-gray-300 border border-transparent hover:border-gray-500 bg-opacity-50 p-2">
<svg id="close-modal-btn-icon" class="w-6 h-6 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>
<small class="text-xs text-gray-400">(Esc)</small>
</button>
</div>
</section>
{% endblock %}
{% block pagination %}
{% include "partials/shared/paginator.html" %}
{% endblock %}
{% block comment %}{% endblock %}
{% include "partials/shared/footer.html" %}
{% if config.extra.mermaid.enabled %}
<script src="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js"
integrity="sha384-0yWn54pSGtfKCU+skfA69l25VsCw+MZt4LQov3xNRoS7YkAMrFokGgSBnAWSK4pv"
crossorigin="anonymous"></script>
{% endif %}
<script src="{{ get_url(path='elasticlunr.min.js') }}"></script>
<!-- <script src="{{ get_url(path='search_index.' ~ lang ~ '.js') }}"></script> -->
{%- if lang != "en" -%}
{%- block other_lang_search_js -%}{%- endblock -%}
{%- endif -%}
<script src="{{ get_url(path='js/site.js') }}"></script>
{% block custom_js %}{% endblock %}
{% block user_custom_js %}{% endblock %}
2022-01-24 17:36:50 +00:00
</body>
</html>