2024-01-11 23:35:16 +00:00
|
|
|
{% if not reduced %}
|
2023-11-26 21:40:10 +00:00
|
|
|
<script src="/js/nav.js" type="module"></script>
|
2024-01-11 23:35:16 +00:00
|
|
|
<div class="navToggle">Menu</div>
|
2023-11-26 21:40:10 +00:00
|
|
|
<nav class="pageNav">
|
2023-09-15 13:32:38 +00:00
|
|
|
<div class="container">
|
2023-11-26 21:40:10 +00:00
|
|
|
<div class="navLeft">
|
2024-01-11 23:35:16 +00:00
|
|
|
<a class="transitionEnabled {% if page == 'home' %} active {% endif %}" href="/">
|
2023-11-26 21:40:10 +00:00
|
|
|
Home
|
|
|
|
</a>
|
2024-01-11 23:35:16 +00:00
|
|
|
<a class="transitionEnabled {% if page == 'gallery' %} active {% endif %}" href="/gallery">
|
2023-11-26 21:40:10 +00:00
|
|
|
Gallery
|
|
|
|
</a>
|
2024-01-11 23:35:16 +00:00
|
|
|
<a class="transitionEnabled {% if page == 'nations' %} active {% endif %}" href="/nations">
|
2023-11-26 21:40:10 +00:00
|
|
|
Nations
|
|
|
|
</a>
|
2024-06-03 02:26:29 +00:00
|
|
|
<a class="transitionEnabled {% if page == 'companies' %} active {% endif %}" href="/companies">
|
|
|
|
Companies
|
|
|
|
</a>
|
2024-01-11 19:38:35 +00:00
|
|
|
<a class="{% if page == 'map.js' %} active {% endif %}" href="/map">
|
2024-06-03 02:26:29 +00:00
|
|
|
Map
|
2023-11-26 21:40:10 +00:00
|
|
|
</a>
|
2024-04-01 17:10:19 +00:00
|
|
|
{% if user.is_admin == 1 %}
|
|
|
|
<a href="/admin">
|
|
|
|
Admin Panel
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2023-11-26 21:40:10 +00:00
|
|
|
</div>
|
2023-11-28 08:13:23 +00:00
|
|
|
<div class="navRight">
|
2023-09-15 13:32:38 +00:00
|
|
|
{% if user %}
|
2024-04-01 17:10:19 +00:00
|
|
|
<a class="transitionEnabled userButton {% if page == 'profile' %}active{% endif %}" href="{% if page == 'profile' %}#{% else %}/profile{% endif %}">
|
2023-11-26 21:40:10 +00:00
|
|
|
{{ user.global_name }}
|
|
|
|
</a>
|
2023-09-15 13:32:38 +00:00
|
|
|
{% else %}
|
2024-04-01 17:10:19 +00:00
|
|
|
<a class="buttonPrimary" href="{{ dc_uri }}">
|
2023-11-26 21:40:10 +00:00
|
|
|
Login
|
|
|
|
</a>
|
2023-09-15 13:32:38 +00:00
|
|
|
{% endif %}
|
2023-11-26 21:40:10 +00:00
|
|
|
</div>
|
2023-09-15 13:32:38 +00:00
|
|
|
</div>
|
2024-01-11 23:35:16 +00:00
|
|
|
</nav>
|
|
|
|
{% endif %}
|