summaryrefslogtreecommitdiff
path: root/lib/error.html
blob: 8878884953b9d127a0fdb57dfe9dabe8a84fd369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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" style="visibility:%s" onclick="javascript:searchFor('%s')" />
</form>

</div>

</body>
</html>