diff options
author | portix <portix@gmx.net> | 2011-09-12 14:02:01 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-12 14:02:01 +0200 |
commit | 1d45401e452291aaadfb99e189527633db590dd2 (patch) | |
tree | 20e608fc6a0e40a66061e4a17bfac030d4489381 /lib/error.html | |
parent | a6e8a3a825583fec118a7ed3f292e46e21d19286 (diff) | |
download | dwb-1d45401e452291aaadfb99e189527633db590dd2.zip |
Custom error site
Diffstat (limited to 'lib/error.html')
-rw-r--r-- | lib/error.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/lib/error.html b/lib/error.html new file mode 100644 index 00000000..4fab8ec0 --- /dev/null +++ b/lib/error.html @@ -0,0 +1,65 @@ +<html> +<head> +<title>Error</title> +<link rel='icon' type='image/png' href="%s"> +<style type="text/css"> +body { + background-color: #fff; + margin: 0; + padding: 0; +} + +#errorContainer { + background: #fff; + min-width: 35em; + max-width: 35em; + position: absolute; + top: 2em; + left: 1em; + padding: 10px; + border: 2px solid #eee; + -webkit-border-radius: 5px; +} + +#errorTitleText { + font-size: 120%; + font-weight: bold; +} + +#errorMessageText { + font-size: 80%; +} + +</style> +<script type="text/javascript"> + +function tryagain() +{ + location.reload(); +} +function searchFor(uri) { + location.href = uri; +} +</script> +</head> +<body> +<div id="errorContainer"> + +<div id="errorTitle"> + <p id="errorTitleText">Unable to load page</p> +</div> +<div id="errorMessage"> + <p>Problem occurred while loading the URL %s</p> + <p id="errorMessageText">%s</a> +</p> +</div> + +<form name="bl"> +<input type="button" value="Try again" onclick="javascript:tryagain()" /> +<input type="button" value="Search" %s onclick="javascript:searchFor('%s')" /> +</form> + +</div> + +</body> +</html> |