Ver código fonte

cookie message

tags/1.1.3
Robin Thoni 8 anos atrás
pai
commit
6c34472354
2 arquivos alterados com 11 adições e 1 exclusões
  1. 9
    0
      app/index.html
  2. 2
    1
      bower.json

+ 9
- 0
app/index.html Ver arquivo

@@ -73,6 +73,15 @@
73 73
 
74 74
     <!-- endbuild -->
75 75
 
76
+    <!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
77
+    <script type="text/javascript">
78
+        window.cookieconsent_options = {"message":"This website uses cookies and local storage to ensure you get the best experience on chronos","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"dark-bottom"};
79
+    </script>
80
+
81
+    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>
82
+    <!-- End Cookie Consent plugin -->
83
+
84
+
76 85
 </head>
77 86
 <body layout="column">
78 87
 

+ 2
- 1
bower.json Ver arquivo

@@ -15,7 +15,8 @@
15 15
     "angular-local-storage": "0.2.3",
16 16
     "angular-material": "^1.0.6",
17 17
     "angular-material-datetimepicker": "^1.3.1",
18
-    "moment": "^2.11.2"
18
+    "moment": "^2.11.2",
19
+    "angular-cookie-law": "^0.2.3"
19 20
   },
20 21
   "resolutions": {
21 22
     "angular-material": "^1.0.6"

Carregando…
Cancelar
Salvar