Template source: website/base.html

{% load i18n static website_tags solo_tags kway_tags nav_tags %}

{% comment %}
<!--
replace:
"assets/(1)" -> "{% static "website/(1)" %}"
'assets/(1)' -> "{% static 'website/(1)' %}"
-->
{% endcomment %}

<!doctype html>
<html lang="{{ request.LANGUAGE_CODE }}">
    
    <head>
        
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        
        {% nav_title base="Ricauto" default="Ricauto" html=True %}
        
        <!-- for Google -->
        <meta name="description" content="{% block description %}{% if seo_meta_description %}{{ seo_meta_description }}{% elif page_model_obj.seo_meta_description %}{{ page_model_obj.seo_meta_description }}{% elif page_solo_obj.seo_meta_description %}{{ page_solo_obj.seo_meta_description }}{% else %}{% endif %}{% endblock %}" />
        <meta name="keywords" content="{% block keywords %}{% if seo_meta_keywords %}{{ seo_meta_keywords }}{% elif page_model_obj.seo_meta_keywords %}{{ page_model_obj.seo_meta_keywords }}{% elif page_solo_obj.seo_meta_keywords %}{{ page_solo_obj.seo_meta_keywords }}{% else %}{% endif %}{% endblock %}" />
        <meta name="copyright" content="Django">
        <meta name="author" content="Django">
        <meta name="robots" content="index, follow">
        
        <!-- for Facebook -->
        <meta property="og:title" content="">
        <meta property="og:type" content="website">
        <meta property="og:image" content="{% static "website/img/share-image.jpg" %}">
        <meta property="og:url" content="">
        <meta property="og:description" content="">
        
        <!-- for Twitter -->
        <meta name="twitter:card" content="summary">
        <meta name="twitter:title" content="">
        <meta name="twitter:url" content="">
        <meta name="twitter:description" content="">
        <meta name="twitter:image" content="{% static "website/img/share-image.jpg" %}">
        
        <!-- for Browser & Device -->
        <link rel="apple-touch-icon" sizes="57x57" href="{% static "website/img/favicon/apple-touch-icon-57x57.png" %}">
        <link rel="apple-touch-icon" sizes="114x114" href="{% static "website/img/favicon/apple-touch-icon-114x114.png" %}">
        <link rel="apple-touch-icon" sizes="72x72" href="{% static "website/img/favicon/apple-touch-icon-72x72.png" %}">
        <link rel="apple-touch-icon" sizes="144x144" href="{% static "website/img/favicon/apple-touch-icon-144x144.png" %}">
        <link rel="apple-touch-icon" sizes="60x60" href="{% static "website/img/favicon/apple-touch-icon-60x60.png" %}">
        <link rel="apple-touch-icon" sizes="120x120" href="{% static "website/img/favicon/apple-touch-icon-120x120.png" %}">
        <link rel="apple-touch-icon" sizes="76x76" href="{% static "website/img/favicon/apple-touch-icon-76x76.png" %}">
        <link rel="apple-touch-icon" sizes="152x152" href="{% static "website/img/favicon/apple-touch-icon-152x152.png" %}">
        <link rel="icon" type="image/png" href="{% static "website/img/favicon/favicon-196x196.png" %}" sizes="196x196">
        <link rel="icon" type="image/png" href="{% static "website/img/favicon/favicon-96x96.png" %}" sizes="96x96">
        <link rel="icon" type="image/png" href="{% static "website/img/favicon/favicon-32x32.png" %}" sizes="32x32">
        <link rel="icon" type="image/png" href="{% static "website/img/favicon/favicon-16x16.png" %}" sizes="16x16">
        <link rel="icon" type="image/png" href="{% static "website/img/favicon/favicon-128.png" %}" sizes="128x128">
        <meta name="application-name" content="Ricauto">
        <meta name="msapplication-TileColor" content="#FFFFFF">
        <meta name="msapplication-TileImage" content="{% static "website/img/favicon/mstile-144x144.png" %}">
        <meta name="msapplication-square70x70logo" content="{% static "website/img/favicon/mstile-70x70.png" %}">
        <meta name="msapplication-square150x150logo" content="{% static "website/img/favicon/mstile-150x150.png" %}">
        <meta name="msapplication-wide310x150logo" content="{% static "website/img/favicon/mstile-310x150.png" %}">
        <meta name="msapplication-square310x310logo" content="{% static "website/img/favicon/mstile-310x310.png" %}">
        
        <!-- Headbar color on Chrome, Firefox OS, Opera and Vivaldi -->
        <meta name="theme-color" content="#e11a34">
        
        {% block css %}
        <link rel="stylesheet" href="{% static "website/css/app.css" %}">
        {% endblock %}
        
        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
            <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
            
        {% block js_head_import %}
        {% endblock %}
        
    </head>
    
    <body class="{% block body_class %}{% endblock %}">
        
        {% block header %}
        <nav class="navbar navbar-default 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" aria-expanded="false">
        				<span class="sr-only">Toggle navigation</span>
        				<span class="icon-bar"></span>
        				<span class="icon-bar"></span>
        				<span class="icon-bar"></span>
        			</button>
        			<a href="{% nav_url "home" %}" class="navbar-brand"><img src="{% static "website/img/logo-ricauto.svg" %}" height="76" alt="Top Car"></a>
        		</div>
        
        		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse">
        			<ul class="nav navbar-nav navbar-right">
            			{% nav_menu_pages as menu_pages %}
            			{% for page in menu_pages %}
            			<li class="{% if page == nav_page or page in nav_page.parents %}active {% endif %}">
            			    <a href="{{ page.url }}"{% if page.has_children %} class="dropdown-toggle" id="dropdown-menu-{{ page.slug }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"{% endif %}>{{ page.name }}</a>
            			    {% if page.has_children %}
            			    <div class="dropdown-menu" aria-labelledby="dropdown-menu-{{ page.slug }}">
                			    {% for child_page in page.children.all %}
                			    {% if child_page.published and child_page.menu %}
                			    <a class="dropdown-item {% if child_page == nav_page %}active {% endif %}" href="{{ child_page.url }}">{{ child_page.name }}</a> 
                			    {% endif %}
                			    {% endfor %}
        					</div>
        					{% endif %}
            			</li>
            			{% endfor %}
            			 
            			{% include "website/languages_menu.html" %}
            			
        				<li class="ecommerce-login-cta-wrapper">
            			    <a href="http://ecommerce.ricauto.it" target="_blank" class="btn btn-default navbar-btn btn-primary" style="padding:7px 15px;">{% ktrans "login-ecommerce-cta" default="Login Ecommerce" %}</a>
                        </li>

        			</ul>
        		</div>
        
        	</div>
        </nav>
        {% endblock %}
        
        {% block content %}
        {% endblock %}
        
        {% block footer %}
        <footer>
        	<div class="container">
        		<div class="row">
                    
                    <div class="col-lg-4">
        				<h5 class="heading">{% ktrans "contatti-sede-name" default="Ricauto Spa" %}</h5>
        				<p>{% ktrans "contatti-address" default="Prima Strada 28, Z.I." %}<br>
        				{% ktrans "contatti-city" default="35129 - Padova (Italy)" %}<br>
        				Tel. <a href="tel:+390498070722">049.8070722</a><br>
        				Fax 049.8072589<br>
        				{% encrypt_email "info@ricauto.it" %}
        			</div>
        
        			<div class="col-lg-4">
        				<h5 class="heading">{% ktrans "footer-partners-title" default="Partners" %}</h5>
        				<p><a href="http://www.giadiservice.it" target="_blank">Giadi Group</a><br>
        				<a href="http://www.autodistribuzioneitalia.com" target="_blank">Autodistribution Italia Spa</a><br>
        				<a href="http://www.topcarpd.it" target="_blank">Topcar Srl</a></p>
        			</div>
        
        			<div class="col-lg-4">
        				<h5 class="heading">{% ktrans "footer-legal-notes-title" default="Informazioni legali" %}</h5>
        				<p><a href="#privacy-popup" class="open-popup-link">Privacy</a><br>
        				<a href="#termini-condizioni-popup" class="open-popup-link">Termini e condizioni</a></p>
        			</div>
        
        		</div>
        	</div>
        
        	<div class="container legal-footer">
        		<div class="row">
        
        			<div class="col-lg-12">
        				<p class="text-center">{% ktrans "contatti-sede-piva" default="P.I.00273290288" %} - &copy; Copyright {% ktrans "contatti-sede-name" default="Ricauto Spa" %}</p>
        			</div>
        
        		</div>
        	</div>
        </footer>
        
        <div class="cookieconsent">
        	<div class="container">
        	    <div class="row">
        	        <div class="col-sm-12 col-md-10 col-md-offset-1">
        	            <div class="row">
        	                <div class="col-sm-12 col-lg-10">
        	                    <p>{% ktrans "cookies-text-part1" default="Questo sito utilizza i cookie, se vuoi saperne di piĆ¹ consulta la" %} <a href="#privacy-popup" class="open-popup-link">Privacy Policy</a>.<br class="hide-for-small-only">{% ktrans "cookies-text-part2" default="Chiudendo questo banner acconsenti all'uso dei cookie." %}</p>
        	                </div>
        	                <div class="col-sm-12 col-lg-2">
        	                    <a href="#" class="button accept-btn">{% ktrans "cookies-close-cta" default="Chiudi" %}</a>
        	                </div>
        	            </div>
        	        </div>
        	    </div>
            </div>
        </div>
        
        <div id="privacy-popup" class="white-popup mfp-hide">
            <div class="row">
                <div class="col-sm-12">
                	<h3 class="heading"><b>{% ktrans "privacy-cookies-title" default="Privacy e cookies" %}</b></h3>
        			{% ktrans "privacy-cookies-description" %}
                </div>
            </div>
        </div>
        
        <div id="termini-condizioni-popup" class="white-popup mfp-hide">
        	<div class="row">
                <div class="col-sm-12">
                    <h3 class="heading"><b>{% ktrans "terms-conditions-title" default="Termini d'uso del sito" %}</b></h3>
                    {% ktrans "terms-conditions-description" %}
                </div>
            </div>
        </div>
        {% endblock %}
        
        {% block js_body_import %}
        <script src="{% static "website/js/app.js" %}"></script>
        {% endblock %}
        
        <script type="text/javascript">
            (function($){
                $(document).ready(function(){
                    {% block js_document_ready %}
                    {% endblock %}
                });
            })(jQuery);
        </script>
        
        {% if not debug %}
        {% block js_google_analytics %}
        <script async src="https://www.googletagmanager.com/gtag/js?id=UA-108299031-1"></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());
            gtag('config', 'UA-108299031-1');
        </script>
        {% endblock %}
        {% endif %}
    
    </body>

</html>