Skip to content

Commit 95159ce

Browse files
committed
Add Cookie Consent.
1 parent 39607fd commit 95159ce

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

angularjs.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
display: none;
4040
}
4141
</style>
42+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css">
4243
</head>
4344
<body>
4445
<div class="navbar navbar-default navbar-fixed-top">
@@ -207,5 +208,7 @@ <h3 class="title"></h3>
207208
<script src="js/jquery.fileupload-angular.js"></script>
208209
<!-- The main application script -->
209210
<script src="js/app.js"></script>
211+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
212+
<script>window.addEventListener('load',function(){window.cookieconsent.initialise({palette:{popup:{background:'#428bca'},button:{background:'#fff'}}})})</script>
210213
</body>
211214
</html>

basic-plus.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
2727
<link rel="stylesheet" href="css/jquery.fileupload.css">
28+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css">
2829
</head>
2930
<body>
3031
<div class="navbar navbar-default navbar-fixed-top">
@@ -222,5 +223,7 @@ <h3 class="panel-title">Demo Notes</h3>
222223
.parent().addClass($.support.fileInput ? undefined : 'disabled');
223224
});
224225
</script>
226+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
227+
<script>window.addEventListener('load',function(){window.cookieconsent.initialise({palette:{popup:{background:'#428bca'},button:{background:'#fff'}}})})</script>
225228
</body>
226229
</html>

basic.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<link rel="stylesheet" href="css/style.css">
2626
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
2727
<link rel="stylesheet" href="css/jquery.fileupload.css">
28+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css">
2829
</head>
2930
<body>
3031
<div class="navbar navbar-default navbar-fixed-top">
@@ -132,5 +133,7 @@ <h3 class="panel-title">Demo Notes</h3>
132133
.parent().addClass($.support.fileInput ? undefined : 'disabled');
133134
});
134135
</script>
136+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
137+
<script>window.addEventListener('load',function(){window.cookieconsent.initialise({palette:{popup:{background:'#428bca'},button:{background:'#fff'}}})})</script>
135138
</body>
136139
</html>

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<!-- CSS adjustments for browsers with JavaScript disabled -->
3434
<noscript><link rel="stylesheet" href="css/jquery.fileupload-noscript.css"></noscript>
3535
<noscript><link rel="stylesheet" href="css/jquery.fileupload-ui-noscript.css"></noscript>
36+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css">
3637
</head>
3738
<body>
3839
<div class="navbar navbar-default navbar-fixed-top">
@@ -251,5 +252,7 @@ <h3 class="title"></h3>
251252
<!--[if (gte IE 8)&(lt IE 10)]>
252253
<script src="js/cors/jquery.xdr-transport.js"></script>
253254
<![endif]-->
255+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
256+
<script>window.addEventListener('load',function(){window.cookieconsent.initialise({palette:{popup:{background:'#428bca'},button:{background:'#fff'}}})})</script>
254257
</body>
255258
</html>

jquery-ui.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<!-- CSS adjustments for browsers with JavaScript disabled -->
4545
<noscript><link rel="stylesheet" href="css/jquery.fileupload-noscript.css"></noscript>
4646
<noscript><link rel="stylesheet" href="css/jquery.fileupload-ui-noscript.css"></noscript>
47+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css">
4748
</head>
4849
<body>
4950
<ul class="navigation">
@@ -248,5 +249,7 @@ <h3 class="title"></h3>
248249
<!--[if (gte IE 8)&(lt IE 10)]>
249250
<script src="js/cors/jquery.xdr-transport.js"></script>
250251
<![endif]-->
252+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
253+
<script>window.addEventListener('load',function(){window.cookieconsent.initialise({palette:{popup:{background:'#fff'},button:{background:'#222'}}})})</script>
251254
</body>
252255
</html>

0 commit comments

Comments
 (0)