From f79b7f26b1faa9f6df63ee024b247f8b686c9438 Mon Sep 17 00:00:00 2001 From: Chethana Kumar Date: Mon, 11 Sep 2017 18:23:21 +0530 Subject: [PATCH] Using the svg icons for domain constraint, and server browser nodes. --- .../static/img/domain_constraints-bad.png | Bin 579 -> 0 bytes .../static/img/domain_constraints-bad.svg | 1 + .../domain_constraints/css/domain_constraints.css | 2 +- .../server_groups/servers/static/img/server.png | Bin 553 -> 0 bytes .../server_groups/servers/static/img/server.svg | 1 + .../servers/templates/css/servers.css | 2 +- 6 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.png create mode 100644 web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.svg delete mode 100644 web/pgadmin/browser/server_groups/servers/static/img/server.png create mode 100644 web/pgadmin/browser/server_groups/servers/static/img/server.svg diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.png b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.png deleted file mode 100644 index 32a045b8fafdc08640d53b2a86b1dcabcb0fe0fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 579 zcmV-J0=)f+P)Px$AW%$HMR1Z9#Q*@REHmdHAm<<;=p`lTDl6$LE15$|nM6yxJ3#6&F}^)Qx|oNbX2U?n+AUOH1!e zOz%xi?@dncPEXKRS?^Cz#amtQQBm+xQt(q#@KaRqR8;U)Rq<9<@mE*YVq(`~V)0vB z+GS<)VPW%PV%=$Jag!JHXlV6qZS`($_HuH3pdDu=8uhpjJ) zvN4agH<6_L$tcPam4X*+~mi`^K{Glc|xhhkN@C%g?4vVBM R$bbL<002ovPDHLkV1min0OSAw diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.svg b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.svg new file mode 100644 index 000000000..afee1152a --- /dev/null +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/img/domain_constraints-bad.svg @@ -0,0 +1 @@ +domain_constraintsbad \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/templates/domain_constraints/css/domain_constraints.css b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/templates/domain_constraints/css/domain_constraints.css index 97966f252..7ec4afdb3 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/templates/domain_constraints/css/domain_constraints.css +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/templates/domain_constraints/css/domain_constraints.css @@ -8,7 +8,7 @@ } .icon-check-bad, .icon-domain_constraints-bad { - background-image: url('{{ url_for('NODE-%s.static' % node_type, filename='img/domain_constraints-bad.png' )}}') !important; + background-image: url('{{ url_for('NODE-%s.static' % node_type, filename='img/domain_constraints-bad.svg' )}}') !important; background-repeat: no-repeat; background-size: 20px !important; align-content: center; diff --git a/web/pgadmin/browser/server_groups/servers/static/img/server.png b/web/pgadmin/browser/server_groups/servers/static/img/server.png deleted file mode 100644 index 2ab73d5654a26b4d5acc3dc50dc659d4bdfee42f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 553 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbMfr2wB0S0LS-Q!}lx|JD8HkFMUk zdGhLoy{C_DJg|S+&d#EynQfDItl0eW{?i*Lubkg|YX6EIb6cj}zIfx+{b!G^-aWtX z)Q0IRFC0Dn>EoxLKYo7w`03ZrUmxGTe{%c&hj;J4ef{>}^7SLDw{Dm)d&|^?N7in8 z|L)!QuiuWW-m+=Jyu)j^e*60M;guUl*6n!z?)~9an>S6Edt~kQ7r&y=mx z7BB3ZcJ|DfiKPu&rY$_YcH5do%RjvPuxrDX>M2XSXRPR1z2o7Pn+toUL@nAPf9rVA zlFjMOlcJYy+i~mtG@!2-OM?7@862M7NCR>>3p^r=fwTu0yPeFo12XzNT^vIsE+;22 zFu8FgG%%~BiG`V!@%c&2@1EV>I=z2xd;_=E0Syh6GunsFDRNytqM@dzsHv!`+bl3) z>g4c%kRUgX6)R4yUa6g_u=2u{px}^8ZX7RGEXtfX_41{w!I#`QBvwdCy_B4-kZE`| z$iR4e19wE!%Ba;hZ`@MMoVdBXprpv{;-c4&x&j#49rzfc()q>Pd9o)1U8Y*%8c~vx zSdwa$T$Bo=7>o=I4Rj5SbPWtcj0~(yjIB&ewGB+I3=HPI(_4k2AvZrIGp!P$!N3x% c0jS!<%D@bw;neidH9!pvp00i_>zopr0E;gKO#lD@ diff --git a/web/pgadmin/browser/server_groups/servers/static/img/server.svg b/web/pgadmin/browser/server_groups/servers/static/img/server.svg new file mode 100644 index 000000000..163d8d68f --- /dev/null +++ b/web/pgadmin/browser/server_groups/servers/static/img/server.svg @@ -0,0 +1 @@ +server \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/templates/css/servers.css b/web/pgadmin/browser/server_groups/servers/templates/css/servers.css index 079be94b6..f12b21881 100644 --- a/web/pgadmin/browser/server_groups/servers/templates/css/servers.css +++ b/web/pgadmin/browser/server_groups/servers/templates/css/servers.css @@ -1,5 +1,5 @@ .icon-server { - background-image: url('{{ url_for('NODE-server.static', filename='img/server.png') }}') !important; + background-image: url('{{ url_for('NODE-server.static', filename='img/server.svg') }}') !important; background-repeat: no-repeat; background-size: 20px !important; align-content: center;