]> git.openstreetmap.org Git - chef.git/commitdiff
planet: Add ratelimit header notice
authorGrant Slater <git@firefishy.com>
Sun, 26 Jan 2020 13:28:24 +0000 (13:28 +0000)
committerGrant Slater <git@firefishy.com>
Sun, 26 Jan 2020 13:28:24 +0000 (13:28 +0000)
cookbooks/planet/files/default/html/HEADER.html
cookbooks/planet/files/default/html/style.css

index 751751ae3708c99956933ad4614c615ef18cfdf7..bfc458b9686a10f57fb958c0380678bf90d596e5 100644 (file)
@@ -1,3 +1,4 @@
 <h1>planet.openstreetmap.org</h1>
 <p>If you find data within OpenStreetMap that you believe is an infringement of someone else's copyright, then please make contact with the <a href="https://wiki.openstreetmap.org/wiki/Data_working_group">OpenStreetMap Data Working Group</a>.</p>
 <p><a href="https://wiki.openstreetmap.org/wiki/Planet.osm">More Information about Planet.osm</a></p>
+<p><div class="alert"><strong>WARNING</strong> Download speeds are currently restricted to 400 KB/s due to limited available capacity on our Internet connection. <a href="https://wiki.openstreetmap.org/wiki/Planet.osm#Planet.osm_mirrors">Please use a mirror if possible.</a></div></p>>
index 0a7afa9d0b25020d3314d493298dc22d1339c970..600622fa268f37a73011d3be60958c09c7bfeb77 100644 (file)
@@ -52,3 +52,10 @@ table#about tr td
     font-size: 100%;
     white-space: normal;
 }
+
+.alert {
+  padding: 20px;
+  background-color: #ff9800; /* Orange */
+  color: white;
+  margin-bottom: 15px;
+}