diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 2 | ||||
-rw-r--r-- | data/pages/Makefile.am | 6 | ||||
-rw-r--r-- | data/pages/error.html | 73 | ||||
-rw-r--r-- | data/pages/recovery.html | 73 |
4 files changed, 153 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index e6ab83e4a..6fcfa8144 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = art glade icons ui +SUBDIRS = art glade icons pages ui @INTLTOOL_SERVER_RULE@ @INTLTOOL_DESKTOP_RULE@ diff --git a/data/pages/Makefile.am b/data/pages/Makefile.am new file mode 100644 index 000000000..f2b879a5f --- /dev/null +++ b/data/pages/Makefile.am @@ -0,0 +1,6 @@ +errorpagesdir = $(pkgdatadir)/pages +errorpages_DATA = \ + recovery.html \ + error.html + +EXTRA_DIST = $(errorpages_DATA) diff --git a/data/pages/error.html b/data/pages/error.html new file mode 100644 index 000000000..0c6db3be4 --- /dev/null +++ b/data/pages/error.html @@ -0,0 +1,73 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Copyright © 2010 Vinicius Depizzol + + 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"> +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>%s</title> + <style type="text/css"> + body { + margin: 0 auto; + padding: 7em; + font: message-box; + display: table; + direction: %s; + } + div#centeredContent { + display: table; + margin: 0 auto; + } + div#centeredContent h1 { + display: table-row; + } + div#centeredContent div { + display: table-row-group; + } + h1 { + font-size: 180%; + } + img { + vertical-align: middle; + float: left; + margin-right: 20px; + width: 50px; + height: 50px; + } + p.buttonbox { + text-align: right; + } + </style> + <script type="text/javascript"> + function load_anyway() + { + window.location = '%s'; + } + </script> +</head> +<body> +<img src="%s"/> +<div id="centeredContent"> + <div> + <h1 style="text-align:left;">%s</h1> + <p class="message">%s</p> + <p class="buttonbox"> + <button onclick="javascript:load_anyway()">%s</button></p> + </div> +</div> +</body> +</html> diff --git a/data/pages/recovery.html b/data/pages/recovery.html new file mode 100644 index 000000000..0c6db3be4 --- /dev/null +++ b/data/pages/recovery.html @@ -0,0 +1,73 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Copyright © 2010 Vinicius Depizzol + + 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"> +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>%s</title> + <style type="text/css"> + body { + margin: 0 auto; + padding: 7em; + font: message-box; + display: table; + direction: %s; + } + div#centeredContent { + display: table; + margin: 0 auto; + } + div#centeredContent h1 { + display: table-row; + } + div#centeredContent div { + display: table-row-group; + } + h1 { + font-size: 180%; + } + img { + vertical-align: middle; + float: left; + margin-right: 20px; + width: 50px; + height: 50px; + } + p.buttonbox { + text-align: right; + } + </style> + <script type="text/javascript"> + function load_anyway() + { + window.location = '%s'; + } + </script> +</head> +<body> +<img src="%s"/> +<div id="centeredContent"> + <div> + <h1 style="text-align:left;">%s</h1> + <p class="message">%s</p> + <p class="buttonbox"> + <button onclick="javascript:load_anyway()">%s</button></p> + </div> +</div> +</body> +</html> |