/
layout.twig.html
35 lines (33 loc) · 1.29 KB
/
layout.twig.html
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}"/>
<title>{{ exception.message }} ({{ status_code }} {{ status_text }})</title>
<style type="text/css">
html { background: #eee }
body { font: 11px Verdana, Arial, sans-serif; color: #333 }
.sf-exceptionreset, .sf-exceptionreset .block, .sf-exceptionreset #message { margin: auto }
</style>
<link href="{{ asset('bundles/framework/css/exception.css') }}" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
//<![CDATA[
function toggle(id, clazz) {
el = document.getElementById(id);
current = el.style.display
if (clazz) {
var tags = document.getElementsByTagName('*');
for (i = 0; i < tags.length; i++) {
if (tags[i].className == clazz) {
tags[i].style.display = 'none';
}
}
}
el.style.display = current == 'none' ? 'block' : 'none';
}
//]]>
</script>
</head>
<body>
{% block body '' %}
</body>
</html>