src/hdalab/templates/base.html
changeset 627 3fd558fa38b1
parent 608 d1eb7acb5b84
child 668 f66c544255e1
equal deleted inserted replaced
626:af0a09405398 627:3fd558fa38b1
    14 
    14 
    15 {% block css_import %}
    15 {% block css_import %}
    16         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" />
    16         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" />
    17         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/header.css' %}" />
    17         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/header.css' %}" />
    18         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" />
    18         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" />
       
    19         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/lib/jquery.cookiecuttr/cookiecuttr.css' %}" />
    19 {% endblock %}
    20 {% endblock %}
    20 
    21 
    21 {% block js_import %}
    22 {% block js_import %}
    22         <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script>
    23         <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script>
       
    24         <script src="{% static 'hdalab/lib/jquery.cookie.js' %}"></script>
       
    25         <script src="{% static 'hdalab/lib/jquery.cookiecuttr/jquery.cookiecuttr.js' %}"></script>
    23 {% endblock %}
    26 {% endblock %}
       
    27 
    24     </head>
    28     </head>
    25     <body>
    29     <body>
    26 {% block header %}
    30 {% block header %}
    27         <header id="header">
    31         <header id="header">
    28             
    32             
   108                 </div>
   112                 </div>
   109                 <p id="copyright">© Ministère de la Culture et de la Communication</p>
   113                 <p id="copyright">© Ministère de la Culture et de la Communication</p>
   110             </div>
   114             </div>
   111         </footer>
   115         </footer>
   112 {% endblock %}
   116 {% endblock %}
       
   117     <script>
       
   118     $(function() {
       
   119         $.cookieCuttr({
       
   120             cookieCutter: true,
       
   121             cookieAnalytics: false,
       
   122             cookieAcceptButton: true, // this will disable non essential cookies
       
   123             cookieResetButton: false,
       
   124             cookiePolicyLink: '{% url 'a_propos' %}', // if applicable, enter the link to your privacy policy here...
       
   125             cookieMessage: '{% trans 'We use cookies on this website, you can <a href="{{cookiePolicyLink}}" title="read about our cookies">read about them here</a>. To use the website as intended please...'%}',
       
   126             cookieAcceptButtonText: "{% trans 'ACCEPT COOKIES' %}",
       
   127             cookieDeclineButtonText: "{% trans 'DECLINE COOKIES' %}",
       
   128             cookieNotificationLocationBottom: false, // top or bottom - they are your only options, so true for bottom, false for top            
       
   129         });
       
   130     });
       
   131     </script>
   113 {% analytics %}
   132 {% analytics %}
   114     </body>
   133     </body>
   115 </html>
   134 </html>