浏览代码

[WebProfilerBundle] Apply missing styles

Victor Berchet 14 年之前
父节点
当前提交
45ff4948b3

+ 4 - 2
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/exception.html.twig

@@ -11,7 +11,7 @@
     <strong>Exception</strong>
     <span class="count">
         {% if collector.hasexception %}
-            <span>1</span>
+            <span class="error">1</span>
         {% endif %}
     </span>
 </span>
@@ -21,7 +21,9 @@
     <h2>Exception</h2>
 
     {% if not collector.hasexception %}
-        <em>No exception was thrown and uncaught during the request.</em>
+        <p>
+            <em>No exception was thrown and uncaught during the request.</em>
+        </p>
     {% else %}
         {% render 'WebProfilerBundle:Exception:show' with { 'exception': collector.exception, 'format': 'html' } %}
     {% endif %}

+ 3 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig

@@ -30,6 +30,8 @@
             {% endfor %}
         </ul>
     {% else %}
-        <em>No logs available.</em>
+        <p>
+            <em>No logs available.</em>
+        </p>
     {% endif %}
 {% endblock %}

+ 3 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig

@@ -90,6 +90,8 @@
             {% endfor %}
         </table>
     {% else %}
-        <em>No request session attributes</em>
+        <p>
+            <em>No request session attributes</em>
+        </p>
     {% endif %}
 {% endblock %}