qutebrowser/qutebrowser/html/error.html
Florian Bruhin 63d03726ef HTML fixes
2014-04-29 17:23:50 +02:00

64 lines
1.8 KiB
HTML

<!DOCTYPE html>
<!-- Based on html/error.html from dwb -->
<html>
<head>
<meta charset="utf-8">
<title>{title}</title>
<!--<link rel='icon' type='image/png' href="{icon}">-->
<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: 118%;
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 {url}</p>
<p id="errorMessageText">{error}</p>
</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>