[gnumeric-web] Errors: Add a simple 404 page.



commit 4cf4c4bbea377bf7bfe2f505b8157dc7e55bdeec
Author: Morten Welinder <terra gnome org>
Date:   Tue Jan 28 20:47:00 2014 -0500

    Errors: Add a simple 404 page.

 404.html |   36 ++++++++++++++++++++++++++++++++++++
 Makefile |    1 +
 2 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..13b894e
--- /dev/null
+++ b/404.html
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <title>GNOME Office / Gnumeric - <!--#echo var="title" --></title>
+    <meta name="GENERATOR" content="Emacs"/>
+    <link rel="stylesheet" href="/style/default.css" type="text/css"/>
+    <link rel="icon" type="image/png" href="/logo.png" />
+<style type="text/css"><!--
+  div.error {
+    background: #ff8080;
+    padding: 5px;
+    margin: 12px;
+    border-radius:10px;
+  }
+--></style>
+  </head>
+  <body>
+    <div>
+    <!-- Using "ins" on the following line is a bit of a hack to please
+        the html standard. You can have anything within "ins".  -->
+    <a href="/index.shtml"><ins><div id="header">
+    <img src="/Gnumeric.svg" alt="Gnumeric logo" id="logo" />
+      <p id="slogan">Gnumeric - The GNOME Office Spreadsheet</p>
+      <p id="subslogan">Free, Fast, Accurate: Pick Any Three!</p>
+    </div></ins></a></div>
+    <div id="content">
+      <div class="error">
+       <h1>Oops -- Nothing to See Here!</h1>
+       <p>The page you were looking for doesn't exist.</p>
+      </div>
+    </div>
+  </body>
+</html>
diff --git a/Makefile b/Makefile
index b595d23..10838b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 WWWFILES =                                             \
        .htaccess                                       \
+       404.html                                        \
        building.shtml                                  \
        contact-info.shtml                              \
        credits.shtml                                   \


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