From 69c5a3dba10e951899e454a0e2be573ceb1b281c Mon Sep 17 00:00:00 2001 From: thetek <80534748+thetek42@users.noreply.github.com> Date: Sat, 3 Apr 2021 17:04:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20isp=20icons=20(#6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🍱 isp icons * 🍱 isp icons * 📦 compile html * 📦 compile jhtml --- ui/html/index.css | 6 +++++- ui/html/index.css.map | 2 +- ui/html/index.js | 8 ++++---- ui/jhtml-compat/index.css | 6 +++++- ui/jhtml-compat/index.css.map | 2 +- ui/jhtml-compat/index.js | 8 ++++---- ui/raw/index.js | 8 ++++---- ui/raw/index.sass | 5 ++++- ui/svg/ccc_berlin.svg | 1 + ui/svg/cloudflare.svg | 1 + ui/svg/digitalcourage.svg | 1 + ui/svg/google.svg | 1 + ui/svg/netaachen.svg | 1 + ui/svg/quad9.svg | 1 + ui/svg/telekom_de.svg | 1 + ui/svg/uncensoreddns.svg | 1 + ui/svg/vodafone_de.svg | 1 + 17 files changed, 37 insertions(+), 17 deletions(-) create mode 100755 ui/svg/ccc_berlin.svg create mode 100755 ui/svg/cloudflare.svg create mode 100755 ui/svg/digitalcourage.svg create mode 100755 ui/svg/google.svg create mode 100755 ui/svg/netaachen.svg create mode 100755 ui/svg/quad9.svg create mode 100755 ui/svg/telekom_de.svg create mode 100755 ui/svg/uncensoreddns.svg create mode 100755 ui/svg/vodafone_de.svg diff --git a/ui/html/index.css b/ui/html/index.css index b4950a0..f3fe5a0 100644 --- a/ui/html/index.css +++ b/ui/html/index.css @@ -154,7 +154,7 @@ input, button { } #results table tr td.icon { border-left: solid transparent 2rem; - width: 5rem; + width: 3rem; } #results table tr td.name small { color: #7c889c; @@ -194,6 +194,10 @@ input, button { width: 1.2rem; } +.uncolored-svg { + filter: invert(0.8); +} + @keyframes spinner { 0% { transform: rotate(0deg); diff --git a/ui/html/index.css.map b/ui/html/index.css.map index 112195f..dd2edf4 100644 --- a/ui/html/index.css.map +++ b/ui/html/index.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../raw/index.sass"],"names":[],"mappings":"AASA;EACC;;;AAED;EACC,kBAZS;EAaT,OAXS;EAYT,aATS;EAUT;EACA;EACA;;;AAED;EACC,aAfS;;;AAiBV;EACC;EACA;EACA;;AACA;EACC,kBA3BQ;EA4BR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;;AAEH;EACC;EACA;EACA;;AACA;EACC;EACA;;AACA;EACC;;;AAEH;EACC;;AAEC;EACC;EACA;;AACD;EACC;EACA;EACA;EACA,OA1DO;EA2DP;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;;AACA;EACC;EACA,OAjFK;;AAkFP;EACC;EACA;EACA;EACA;;AACA;EACC;EACA;;AAEJ;EACC;EACA;EACA;;AAED;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACD;EACC,OA9GO;EA+GP;;AAEF;EACC,OA/GQ;EAgHR;EACA;EACA;;AACA;EACC;;;AAGF;EACC;EACA;EACA;;AACA;EACC;;AACA;EACC;;AACA;EACC,OAjIK;;AAkIN;EACC,OAlIK;;AAmIN;EACC,OAvIK;;AAwIP;EACC;EACA;;AACD;EACC;EACA;;AACD;EACC;;AACA;EACC,OA9IK;;AA+IN;EACC,OAnJK;;AAoJP;EACC;EACA;;AACA;EACC,kBAzJK;EA0JL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACD;EACC;EACA;EACA;;;AAEN;EACC;IACC;;EACD;IACC","file":"index.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../raw/index.sass"],"names":[],"mappings":"AASA;EACC;;;AAED;EACC,kBAZS;EAaT,OAXS;EAYT,aATS;EAUT;EACA;EACA;;;AAED;EACC,aAfS;;;AAiBV;EACC;EACA;EACA;;AACA;EACC,kBA3BQ;EA4BR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;;AAEH;EACC;EACA;EACA;;AACA;EACC;EACA;;AACA;EACC;;;AAEH;EACC;;AAEC;EACC;EACA;;AACD;EACC;EACA;EACA;EACA,OA1DO;EA2DP;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;;AACA;EACC;EACA,OAjFK;;AAkFP;EACC;EACA;EACA;EACA;;AACA;EACC;EACA;;AAEJ;EACC;EACA;EACA;;AAED;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACD;EACC,OA9GO;EA+GP;;AAEF;EACC,OA/GQ;EAgHR;EACA;EACA;;AACA;EACC;;;AAGF;EACC;EACA;EACA;;AACA;EACC;;AACA;EACC;;AACA;EACC,OAjIK;;AAkIN;EACC,OAlIK;;AAmIN;EACC,OAvIK;;AAwIP;EACC;EACA;;AACD;EACC;EACA;;AACD;EACC;;AACA;EACC,OA9IK;;AA+IN;EACC,OAnJK;;AAoJP;EACC;EACA;;AACA;EACC,kBAzJK;EA0JL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACD;EACC;EACA;EACA;;;AAEN;EACC;;;AAED;EACC;IACC;;EACD;IACC","file":"index.css"} \ No newline at end of file diff --git a/ui/html/index.js b/ui/html/index.js index d547817..26cf36d 100644 --- a/ui/html/index.js +++ b/ui/html/index.js @@ -26,7 +26,7 @@ function dnswatch_search() { request.onload = function() { if (request.status >= 200 && request.status < 400) { var response = JSON.parse(this.response); - console.log(response); + //console.log(response); // TODO: CLEAN UP THIS MESS OF TABLE GENERATION CODE @@ -41,7 +41,7 @@ function dnswatch_search() { table += '\n'; // provider table += '\n'; - table += `\n`; + table += `\n`; table += '\n' // name and address table += `${ response["data"]["reference"]["name"] }${ response["data"]["reference"]["address"] }\n`; @@ -57,7 +57,7 @@ function dnswatch_search() { table += '\n'; // spacer //// search rows response['data']['search'].forEach(i => { - console.log(i); + //console.log(i); table += '\n'; // status table += `\n`; @@ -65,7 +65,7 @@ function dnswatch_search() { table += '\n'; // provider icon table += '\n'; - table += `\n`; + table += `\n`; table += '\n'; // name and address table += `${ i["name"] }${ i["address"] }\n`; diff --git a/ui/jhtml-compat/index.css b/ui/jhtml-compat/index.css index a5a2e32..0f6afaa 100644 --- a/ui/jhtml-compat/index.css +++ b/ui/jhtml-compat/index.css @@ -155,7 +155,7 @@ input, button { } #results table tr td.icon { border-left: solid transparent 2rem; - width: 5rem; + width: 3rem; } #results table tr td.name small { color: #7c889c; @@ -195,6 +195,10 @@ input, button { width: 1.2rem; } +.uncolored-svg { + filter: invert(0.8); +} + @keyframes spinner { 0% { transform: rotate(0deg); diff --git a/ui/jhtml-compat/index.css.map b/ui/jhtml-compat/index.css.map index 112195f..dd2edf4 100644 --- a/ui/jhtml-compat/index.css.map +++ b/ui/jhtml-compat/index.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../raw/index.sass"],"names":[],"mappings":"AASA;EACC;;;AAED;EACC,kBAZS;EAaT,OAXS;EAYT,aATS;EAUT;EACA;EACA;;;AAED;EACC,aAfS;;;AAiBV;EACC;EACA;EACA;;AACA;EACC,kBA3BQ;EA4BR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;;AAEH;EACC;EACA;EACA;;AACA;EACC;EACA;;AACA;EACC;;;AAEH;EACC;;AAEC;EACC;EACA;;AACD;EACC;EACA;EACA;EACA,OA1DO;EA2DP;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;;AACA;EACC;EACA,OAjFK;;AAkFP;EACC;EACA;EACA;EACA;;AACA;EACC;EACA;;AAEJ;EACC;EACA;EACA;;AAED;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACD;EACC,OA9GO;EA+GP;;AAEF;EACC,OA/GQ;EAgHR;EACA;EACA;;AACA;EACC;;;AAGF;EACC;EACA;EACA;;AACA;EACC;;AACA;EACC;;AACA;EACC,OAjIK;;AAkIN;EACC,OAlIK;;AAmIN;EACC,OAvIK;;AAwIP;EACC;EACA;;AACD;EACC;EACA;;AACD;EACC;;AACA;EACC,OA9IK;;AA+IN;EACC,OAnJK;;AAoJP;EACC;EACA;;AACA;EACC,kBAzJK;EA0JL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACD;EACC;EACA;EACA;;;AAEN;EACC;IACC;;EACD;IACC","file":"index.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../raw/index.sass"],"names":[],"mappings":"AASA;EACC;;;AAED;EACC,kBAZS;EAaT,OAXS;EAYT,aATS;EAUT;EACA;EACA;;;AAED;EACC,aAfS;;;AAiBV;EACC;EACA;EACA;;AACA;EACC,kBA3BQ;EA4BR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;;AAEH;EACC;EACA;EACA;;AACA;EACC;EACA;;AACA;EACC;;;AAEH;EACC;;AAEC;EACC;EACA;;AACD;EACC;EACA;EACA;EACA,OA1DO;EA2DP;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACF;EACC;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EACA;;AACA;EACC;EACA,OAjFK;;AAkFP;EACC;EACA;EACA;EACA;;AACA;EACC;EACA;;AAEJ;EACC;EACA;EACA;;AAED;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACD;EACC,OA9GO;EA+GP;;AAEF;EACC,OA/GQ;EAgHR;EACA;EACA;;AACA;EACC;;;AAGF;EACC;EACA;EACA;;AACA;EACC;;AACA;EACC;;AACA;EACC,OAjIK;;AAkIN;EACC,OAlIK;;AAmIN;EACC,OAvIK;;AAwIP;EACC;EACA;;AACD;EACC;EACA;;AACD;EACC;;AACA;EACC,OA9IK;;AA+IN;EACC,OAnJK;;AAoJP;EACC;EACA;;AACA;EACC,kBAzJK;EA0JL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AACD;EACC;EACA;EACA;;;AAEN;EACC;;;AAED;EACC;IACC;;EACD;IACC","file":"index.css"} \ No newline at end of file diff --git a/ui/jhtml-compat/index.js b/ui/jhtml-compat/index.js index c7f92b7..30e2e8c 100644 --- a/ui/jhtml-compat/index.js +++ b/ui/jhtml-compat/index.js @@ -27,7 +27,7 @@ function dnswatch_search() { request.onload = function() { if (request.status >= 200 && request.status < 400) { var response = JSON.parse(this.response); - console.log(response); + //console.log(response); // TODO: CLEAN UP THIS MESS OF TABLE GENERATION CODE @@ -42,7 +42,7 @@ function dnswatch_search() { table += '\n'; // provider table += '\n'; - table += `\n`; + table += `\n`; table += '\n' // name and address table += `${ response["data"]["reference"]["name"] }${ response["data"]["reference"]["address"] }\n`; @@ -58,7 +58,7 @@ function dnswatch_search() { table += '\n'; // spacer //// search rows response['data']['search'].forEach(i => { - console.log(i); + //console.log(i); table += '\n'; // status table += `\n`; @@ -66,7 +66,7 @@ function dnswatch_search() { table += '\n'; // provider icon table += '\n'; - table += `\n`; + table += `\n`; table += '\n'; // name and address table += `${ i["name"] }${ i["address"] }\n`; diff --git a/ui/raw/index.js b/ui/raw/index.js index d547817..26cf36d 100644 --- a/ui/raw/index.js +++ b/ui/raw/index.js @@ -26,7 +26,7 @@ function dnswatch_search() { request.onload = function() { if (request.status >= 200 && request.status < 400) { var response = JSON.parse(this.response); - console.log(response); + //console.log(response); // TODO: CLEAN UP THIS MESS OF TABLE GENERATION CODE @@ -41,7 +41,7 @@ function dnswatch_search() { table += '\n'; // provider table += '\n'; - table += `\n`; + table += `\n`; table += '\n' // name and address table += `${ response["data"]["reference"]["name"] }${ response["data"]["reference"]["address"] }\n`; @@ -57,7 +57,7 @@ function dnswatch_search() { table += '\n'; // spacer //// search rows response['data']['search'].forEach(i => { - console.log(i); + //console.log(i); table += '\n'; // status table += `\n`; @@ -65,7 +65,7 @@ function dnswatch_search() { table += '\n'; // provider icon table += '\n'; - table += `\n`; + table += `\n`; table += '\n'; // name and address table += `${ i["name"] }${ i["address"] }\n`; diff --git a/ui/raw/index.sass b/ui/raw/index.sass index 7d2fb21..df10c4b 100644 --- a/ui/raw/index.sass +++ b/ui/raw/index.sass @@ -138,7 +138,7 @@ input, button color: $c-blue td.icon border-left: solid transparent 2rem - width: 5rem + width: 3rem td.name small color: darken($c-fg, 30%) margin-left: 1rem @@ -169,6 +169,9 @@ input, button vertical-align: -.2rem width: 1.2rem +.uncolored-svg + filter: invert(.8) + @keyframes spinner 0% transform: rotate(0deg) diff --git a/ui/svg/ccc_berlin.svg b/ui/svg/ccc_berlin.svg new file mode 100755 index 0000000..b8479e6 --- /dev/null +++ b/ui/svg/ccc_berlin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/cloudflare.svg b/ui/svg/cloudflare.svg new file mode 100755 index 0000000..c55be30 --- /dev/null +++ b/ui/svg/cloudflare.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/digitalcourage.svg b/ui/svg/digitalcourage.svg new file mode 100755 index 0000000..8f47931 --- /dev/null +++ b/ui/svg/digitalcourage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/google.svg b/ui/svg/google.svg new file mode 100755 index 0000000..52403eb --- /dev/null +++ b/ui/svg/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/netaachen.svg b/ui/svg/netaachen.svg new file mode 100755 index 0000000..eba14e4 --- /dev/null +++ b/ui/svg/netaachen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/quad9.svg b/ui/svg/quad9.svg new file mode 100755 index 0000000..63edafc --- /dev/null +++ b/ui/svg/quad9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/telekom_de.svg b/ui/svg/telekom_de.svg new file mode 100755 index 0000000..1aae686 --- /dev/null +++ b/ui/svg/telekom_de.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/uncensoreddns.svg b/ui/svg/uncensoreddns.svg new file mode 100755 index 0000000..beeceb4 --- /dev/null +++ b/ui/svg/uncensoreddns.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/svg/vodafone_de.svg b/ui/svg/vodafone_de.svg new file mode 100755 index 0000000..7f15b8c --- /dev/null +++ b/ui/svg/vodafone_de.svg @@ -0,0 +1 @@ + \ No newline at end of file