From 44096c32ccd414221cb207a70efb043156a4e6a4 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Thu, 4 Apr 2019 13:37:48 +0200 Subject: [PATCH] =?UTF-8?q?Cookiehinweis=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/layout.pug | 50 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/views/layout.pug b/views/layout.pug index b1204c3..9cea68d 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -1,16 +1,38 @@ doctype html html - head - block head - meta(charset='utf-8') - meta(http-equiv='x-ua-compatible', content='ie=edge') - meta(name='viewport', content='width=device-width, initial-scale=1') - title= title - link(rel='stylesheet', href='/css/bootstrap.css') - link(rel='stylesheet', href='/css/waip.css') - script(src='/js/jquery.min.js') - script(src='/js/bootstrap.bundle.min.js') - body - include includes/header - block content - include includes/footer + head + block head + meta(charset='utf-8') + meta(http-equiv='x-ua-compatible', content='ie=edge') + meta(name='viewport', content='width=device-width, initial-scale=1') + title= title + link(rel='stylesheet', href='/css/bootstrap.css') + link(rel='stylesheet', href='/css/waip.css') + link(rel='stylesheet', href='/css/cookieconsent.min.css') + script(src='/js/jquery.min.js') + script(src='/js/bootstrap.bundle.min.js') + script(src='/js/cookieconsent.min.js') + body + include includes/header + block content + include includes/footer + + script. + window.addEventListener("load", function(){ + window.cookieconsent.initialise({ + "palette": { + "popup": { + "background": "#3c404d", + "text": "#d6d6d6" + }, + "button": { + "background": "#8bed4f" + } + }, + "content": { + "message": "Wachalarm-IP-Web verwendet Cookies. \nBeim Aufruf des Alarmmonitors wird die aktuelle Verbindungs-ID (Socket-ID) gespeichert.\nBeim Login wird die Sitzung (Session-ID) gepseichert.", + "dismiss": "Verstanden" + }, + "showLink": false + }) + });