diff options
author | Xan Lopez <xan@igalia.com> | 2013-02-24 02:55:56 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-11 20:40:21 +0800 |
commit | 4369ae9aa3cd7abeb03e156abb994616b4c11441 (patch) | |
tree | 296a87f9ca2739aa5156a38a0e18ccc15595bd89 /data/pages | |
parent | 6da63a35ffe4254084c80d5abb568f9e9906be5a (diff) | |
download | gsoc2013-epiphany-4369ae9aa3cd7abeb03e156abb994616b4c11441.tar.gz gsoc2013-epiphany-4369ae9aa3cd7abeb03e156abb994616b4c11441.tar.zst gsoc2013-epiphany-4369ae9aa3cd7abeb03e156abb994616b4c11441.zip |
Show an error page when the WebProcess crashes
https://bugzilla.gnome.org/show_bug.cgi?id=693832
Diffstat (limited to 'data/pages')
-rw-r--r-- | data/pages/Makefile.am | 1 | ||||
-rw-r--r-- | data/pages/process_crash.html | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/data/pages/Makefile.am b/data/pages/Makefile.am index 5062f0989..4b00a41b5 100644 --- a/data/pages/Makefile.am +++ b/data/pages/Makefile.am @@ -1,6 +1,7 @@ errorpagesdir = $(pkgdatadir)/pages errorpages_DATA = \ recovery.html \ + process_crash.html \ error.html stylepagesdir = $(pkgdatadir)/pages diff --git a/data/pages/process_crash.html b/data/pages/process_crash.html new file mode 100644 index 000000000..7cf7ab93c --- /dev/null +++ b/data/pages/process_crash.html @@ -0,0 +1,74 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Copyright © 2013 Igalia S.L. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%s" lang="%s" dir="%s"> +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>%s</title> + <style type="text/css"> + body { + margin: 0 auto; + font: message-box; + background-color: #2e3436; + color: #d0d1cf; + } + + #container { + padding: 10% 12% 5%; + margin: 0 auto; + max-width: 650px; + } + + #main_icon { + float: left; + padding-right: 20px; + } + + html[dir="rtl"] #main_icon { + padding-left: 20px; + padding-right: 0; + float: right; + } + + #content { + display: table-cell; + vertical-align: top; + } + + #content h1 { + margin-top: 0; + font-size: 200%; + } + </style> + +</head> +<body> + <div id="container"> + <div id="main_icon"> + <!-- We do nothing with the URI for now: %s --> + <img width="150px" height="150px" src="%s" alt="Sad face icon"/> + </div> + <div id="content"> + <h1>%s</h1> + <div class="explanation"> + %s + </div> + </div> + </div> +</body> +</html> |