Remove icon from html_fallback
This commit is contained in:
parent
0bd3100de8
commit
421fc7eca3
@ -32,38 +32,20 @@ from qutebrowser.utils import utils, urlutils, log
|
||||
|
||||
from PyQt5.QtCore import QUrl
|
||||
|
||||
html_fallback = """<!DOCTYPE html>
|
||||
html_fallback = """
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ title }}</title>
|
||||
{% if icon %}
|
||||
<link rel="icon" type="image/png" href="{{ icon }}">
|
||||
{% endif %}
|
||||
<style type="text/css">
|
||||
{% block style %}
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
{% endblock %}
|
||||
</style>
|
||||
<title>Error while loading template</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="error-container">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 10%; vertical-align: top;">
|
||||
<img style="width: 100%; display: block; max-width: 256px;" src="{{ data_url("img/broken_qutebrowser_logo.png") }}" />
|
||||
</td>
|
||||
<td style="padding-left: 40px;">
|
||||
<p><span style="font-size:120%;color:red">The %FILE% template could not be found!<br>Please check your qutebrowser installation</span><br>
|
||||
%ERROR%</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<p><span style="font-size:120%;color:red">
|
||||
The %FILE% template could not be found!<br>
|
||||
Please check your qutebrowser installation
|
||||
</span><br>
|
||||
%ERROR%
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user