From 7fe9aed30a0431bdf3296c700bc7819d38446c73 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sat, 21 May 2016 12:50:20 -0400 Subject: [PATCH] Serve planet layout images from the local webserver It's kind of silly to pull them down from www.postgresql.org each time. And with the switch to https-only there, it will also lead to a bunch of extra redirects which will slow things down. --- template/base.tmpl | 4 ++-- www/css/planet.css | 2 +- www/css/planet_reg.css | 2 +- www/img/hdr_fill.png | Bin 0 -> 335 bytes 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 www/img/hdr_fill.png diff --git a/template/base.tmpl b/template/base.tmpl index b6a9985..232f683 100644 --- a/template/base.tmpl +++ b/template/base.tmpl @@ -11,8 +11,8 @@
-
PostgreSQL
-
The world's most advanced open source database
+
PostgreSQL
+
The world's most advanced open source database
diff --git a/www/css/planet.css b/www/css/planet.css index 0a59bce..854cdeb 100644 --- a/www/css/planet.css +++ b/www/css/planet.css @@ -9,7 +9,7 @@ body { div#planetHeader { width: 100%; - background: url(http://www.postgresql.org/layout/images/hdr_fill.png); + background: url(/img/hdr_fill.png); padding: 0 0 0 0; height: 80px; margin: 5px 0 2px 0; diff --git a/www/css/planet_reg.css b/www/css/planet_reg.css index 05f3023..39de463 100644 --- a/www/css/planet_reg.css +++ b/www/css/planet_reg.css @@ -1,7 +1,7 @@ div#planethdr { padding-left: 0px; padding-right: 0px; - background: url(http://www.postgresql.org/layout/images/hdr_fill.png); + background: url(/img/hdr_fill.png); } input.form-control[type=checkbox] { diff --git a/www/img/hdr_fill.png b/www/img/hdr_fill.png new file mode 100644 index 0000000000000000000000000000000000000000..ed2e57cbd6835481d7d2de822c4cf69a999c2c2d GIT binary patch literal 335 zcmV-V0kHmwP)8F2MF5Sv z0F%Q2m&gE?#{iJO0GiDJn#=&0$pDYP0GZ4HlEVOuy8w>70F=Z4mB#>^%>b6j0Fl4| zjl2MmzyO!Y0F%T3oX-H5$^ewb0GrMLjJg1iz5tTK0FJ!?naco`#sHDQ0E@X)y*j@D z003`EL_t(|+U&?T62brw1h6INoJ}(S|0F%5!q=lx`9S{plMNJd0qJfJ&L!jtg}g%{ zr;s5y58&KES}5cL3OR@Lza84i>DC7$YIfIPBIRfVf ha)Uyip?iJ>7yzCagMHqoa9jWY002ovPDHLkV1oVIef9tV literal 0 HcmV?d00001 -- 2.39.5