Skip to content

Commit

Permalink
Dataset lmit colors changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele600 committed Oct 28, 2019
1 parent 8845f15 commit ded6000
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 16 deletions.
3 changes: 2 additions & 1 deletion css/data_explorer.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@
/*Limited data message box */

.div_dataLimited {
background-color: #f0f0f1;
background-color: #f5cccb;
color:#856162;
padding: 3px 15px;
margin: 15px 0 5px 0;
border-radius: 6px;
Expand Down
6 changes: 3 additions & 3 deletions de/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.cf1d91ad.chunk.css",
"main.js": "/static/js/main.6dc7960f.chunk.js",
"main.js.map": "/static/js/main.6dc7960f.chunk.js.map",
"main.js": "/static/js/main.3dabd794.chunk.js",
"main.js.map": "/static/js/main.3dabd794.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.a8a9905a.js",
"runtime~main.js.map": "/static/js/runtime~main.a8a9905a.js.map",
"static/css/2.b4c733d1.chunk.css": "/static/css/2.b4c733d1.chunk.css",
"static/js/2.dd424e18.chunk.js": "/static/js/2.dd424e18.chunk.js",
"static/js/2.dd424e18.chunk.js.map": "/static/js/2.dd424e18.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.549d819ee7b0e2695f1481e575a3c212.js": "/precache-manifest.549d819ee7b0e2695f1481e575a3c212.js",
"precache-manifest.fbb2990cfdcdaef20bd91947c21925a1.js": "/precache-manifest.fbb2990cfdcdaef20bd91947c21925a1.js",
"service-worker.js": "/service-worker.js",
"static/css/2.b4c733d1.chunk.css.map": "/static/css/2.b4c733d1.chunk.css.map",
"static/css/main.cf1d91ad.chunk.css.map": "/static/css/main.cf1d91ad.chunk.css.map",
Expand Down
2 changes: 1 addition & 1 deletion de/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
};
document.getElementById('root').addEventListener('unicef_dataflowLoaded', event =>
console.log('unicef_dataflowLoaded event dispatched', event.detail),
);</script><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.dd424e18.chunk.js"></script><script src="/static/js/main.6dc7960f.chunk.js"></script></body></html>
);</script><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.dd424e18.chunk.js"></script><script src="/static/js/main.3dabd794.chunk.js"></script></body></html>
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "b2b85503ed63e146ef8d13864486e711",
"revision": "a533cf230647c48a9389893e183ab7a0",
"url": "/index.html"
},
{
"revision": "548371d7013fbe77f7ea",
"url": "/static/css/2.b4c733d1.chunk.css"
},
{
"revision": "6e335125a0f236de0a9b",
"revision": "b0f1c66c47e07ee3dcf0",
"url": "/static/css/main.cf1d91ad.chunk.css"
},
{
"revision": "548371d7013fbe77f7ea",
"url": "/static/js/2.dd424e18.chunk.js"
},
{
"revision": "6e335125a0f236de0a9b",
"url": "/static/js/main.6dc7960f.chunk.js"
"revision": "b0f1c66c47e07ee3dcf0",
"url": "/static/js/main.3dabd794.chunk.js"
},
{
"revision": "42ac5946195a7306e2a5",
Expand Down
2 changes: 1 addition & 1 deletion de/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.549d819ee7b0e2695f1481e575a3c212.js"
"/precache-manifest.fbb2990cfdcdaef20bd91947c21925a1.js"
);

self.addEventListener('message', (event) => {
Expand Down
2 changes: 2 additions & 0 deletions de/static/js/main.3dabd794.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions de/static/js/main.3dabd794.chunk.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions de/static/js/main.6dc7960f.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion de/static/js/main.6dc7960f.chunk.js.map

This file was deleted.

6 changes: 3 additions & 3 deletions dotstat_data_explorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ function de_add_data_explorer()
//att the styles
for ($i = 0; $i < count($css_list); $i++) {
//remove the main as it seems to contain body elements already present in the hosting Wordpress page
if (strpos(basename($css_list[$i]), "main") === false) {
//if (strpos(basename($css_list[$i]), "main") === false) {
wp_enqueue_style('de_style' . $i, $css_url . basename($css_list[$i]));
}
//}
}

//add the js files in the same order they're added by react in the main page
Expand Down Expand Up @@ -197,7 +197,7 @@ function de_enqueue_style()
if (is_single() && get_post_type() == 'data_explorer') {

$css_url = plugins_url('css/', __FILE__);
wp_enqueue_style('data_expl_css', $css_url . 'data_explorer.css?v=2.04');
wp_enqueue_style('data_expl_css', $css_url . 'data_explorer.css?v=2.05');

// $js_url = plugins_url('js/', __FILE__);
// wp_enqueue_script('related_search', $js_url . 'related_search.js', array('jquery', 'algoliasearchLite', 'algolia_instantsearch'), NULL, true);
Expand Down

0 comments on commit ded6000

Please sign in to comment.