[static-web] Add an error message instead of an iframe with the status page so that it's clear to the user trigge



commit e3474a03b91b36ddfcd32c49d34e8739dc36f1ae
Author: Andrea Veri <av gnome org>
Date:   Tue Mar 31 16:46:26 2015 +0200

    Add an error message instead of an iframe with the status page so that it's clear to the user
    triggering the 500 error that an error has occurred when browsing the page.

 error-500/500.html  |   14 ++++++--------
 error-500/grass.css |    6 ++++++
 2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/error-500/500.html b/error-500/500.html
index 3bc993a..307f87b 100644
--- a/error-500/500.html
+++ b/error-500/500.html
@@ -25,14 +25,12 @@
         </div>
       </div>
       <div id="container" class="one_column">
-        <iframe src="https://status.gnome.org/static/index.html"; seamless width=1000 height=1070 
role="document">
-          <h1>500 Error</h1>
-          <p>
-            There is a problem with the server. Please see
-            <a href="https://status.gnome.org/";>status.gnome.org</a>
-            for updates on GNOME Infrastructure Status.
-          </p>
-        </iframe>
+       <div id="message">
+        <h1>OOPS...You have just hit an error 500, all the ways to report the issue are
+            available <a href="https://wiki.gnome.org/Sysadmin/Contact";>here</a>,
+            but before doing so please check the GNOME Infrastructure <a 
href="https://status.gnome.org>status page</a>
+            for possible planned outages or maintenances.</h1>
+       </div>
       </div>
       <div id="footer_community"></div>
       <div id="footer_grass"></div>
diff --git a/error-500/grass.css b/error-500/grass.css
index 67a0338..3a8c92e 100644
--- a/error-500/grass.css
+++ b/error-500/grass.css
@@ -407,3 +407,9 @@ min-height: 240px;
     padding: 0;
 }
 
+#message {
+  text-align: center;
+  position: fixed;
+  margin-top: 100px;
+  margin-bottom: 100px;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]