public-health-ch/publichealth/templates/header.html
2024-05-15 01:44:31 +00:00

51 lines
1.8 KiB
HTML

{% load static wagtailcore_tags navigation information %}
{% get_site_root as site_root %}
{% get_site as the_site %}
<style>
</style>
<nav class="navbar-pre navbar-fixed-top">
<div class="container">
<div class="nav">
<span class="contact-nav">
<a class="link" href="#contact-info" title="Contact">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span>
<span class="sr-only">Contact</span>
</a>
{% contact_links the_site=the_site %}
</span>
<span class="language-nav">
{% language_switcher %}
</span>
</div>
</div>
</nav>
<nav class="navbar navbar-default navbar-main navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{% pageurl site_root %}">
{% if the_site|default:""|truncatechars:"255" == "dev.pro-salute.ch"%}
<img src="{% static 'images/pro-salute-logo.png' %}" alt="Pro Salute Logo">
{% else %}
<img src="{% static 'images/public-health-logo-sign.png' %}" alt="[logo]">
{% endif %}
<span class="hidden-xs">{% contact_name the_site=the_site %}</span></a>
</div>
{% block menu %}
<!-- Top Menu -->
{% top_menu parent=site_root calling_page=self %}
{% endblock %}
</div>
<!-- /.container -->
</nav>