فهرست منبع

[WebProfilerBundle] fixed exception stack trace integration

hhamon 14 سال پیش
والد
کامیت
124461ccee

+ 8 - 0
src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/profiler.css

@@ -356,6 +356,14 @@ table th.value
     padding: 0;
 }
 
+.sf-exceptionreset .block_exception_detected .text_exception {
+    width: 520px;
+}
+
+.sf-exceptionreset .block_exception_detected .illustration_exception {
+    display: none;
+}
+
 ul.alt li {
     padding: 5px 7px;
     font-size: 13px;

+ 1 - 0
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/exception.html.twig

@@ -2,6 +2,7 @@
 
 {% block head %}
     <link href="{{ asset('bundles/framework/css/exception.css') }}" rel="stylesheet" type="text/css" media="screen" />
+    {{ parent() }}    
 {% endblock %}
 
 {% block menu %}

+ 4 - 3
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base.html.twig

@@ -3,10 +3,11 @@
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         <title>{% block title 'Profiler' %}</title>
-        <link href="{{ asset('bundles/webprofiler/css/toolbar.css') }}" rel="stylesheet" type="text/css" media="screen" />
-        <link href="{{ asset('bundles/webprofiler/css/profiler.css') }}" rel="stylesheet" type="text/css" media="screen" />
         <link rel="shortcut icon" type="image/x-icon" href="{{ asset('bundles/webprofiler/favicon.ico') }}" />
-        {% block head '' %}
+        {% block head %}
+            <link href="{{ asset('bundles/webprofiler/css/toolbar.css') }}" rel="stylesheet" type="text/css" media="screen" />
+            <link href="{{ asset('bundles/webprofiler/css/profiler.css') }}" rel="stylesheet" type="text/css" media="screen" />
+        {% endblock %}
     </head>
     <body>
         {% block body '' %}