Make notifications framework CSP compliant
Change-Id: I95411f646053d76219908b91e9f0921c17280c28
diff --git a/dev/demo/all.html b/dev/demo/all.html
index 3aa40ca..0d0fee3 100644
--- a/dev/demo/all.html
+++ b/dev/demo/all.html
@@ -14,7 +14,7 @@
//]]></script>
<script data-main="alldemo.js" src="../js/lib/require.js" async="async"></script>
</head>
- <body>
+ <body class="no-js">
<div id="kalamar-bg"></div>
<header>
<a href="/" class="logo" tabindex="-1"><h1><span>KorAP - Corpus Analysis Platform</span></h1></a>
@@ -281,11 +281,10 @@
var KorAP = KorAP || {};
KorAP.URL = 'http://localhost:3000';
</script>
- <script>//<![CDATA[
-KorAP.Notifications = [];
-KorAP.Notifications.push(["warn","767: Case insensitivity is currently not supported for this layer"]);
-KorAP.Notifications.push(["error","404: Not Found (remote)"]);
-//]]>
- </script>
+ <div id="notifications">
+ <div class="notify notify-warn" data-type="warn">Error</div>
+ <div class="notify notify-error" data-type="error">Hmmm</div>
+ <div class="notify notify-success" data-type="success" data-src="Kustvakt">Hmmm</div>
+ </div>
</body>
</html>