exception_full.html.twig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {% extends '@Twig/layout.html.twig' %}
  2. {% block head %}
  3. <style>
  4. .sf-reset .traces {
  5. padding-bottom: 14px;
  6. }
  7. .sf-reset .traces li {
  8. font-size: 12px;
  9. color: #868686;
  10. padding: 5px 4px;
  11. list-style-type: decimal;
  12. margin-left: 20px;
  13. }
  14. .sf-reset #logs .traces li.error {
  15. font-style: normal;
  16. color: #AA3333;
  17. background: #f9ecec;
  18. }
  19. .sf-reset #logs .traces li.warning {
  20. font-style: normal;
  21. background: #ffcc00;
  22. }
  23. /* fix for Opera not liking empty <li> */
  24. .sf-reset .traces li:after {
  25. content: "\00A0";
  26. }
  27. .sf-reset .trace {
  28. border: 1px solid #D3D3D3;
  29. padding: 10px;
  30. overflow: auto;
  31. margin: 10px 0 20px;
  32. }
  33. .sf-reset .block-exception {
  34. -moz-border-radius: 16px;
  35. -webkit-border-radius: 16px;
  36. border-radius: 16px;
  37. margin-bottom: 20px;
  38. background-color: #f6f6f6;
  39. border: 1px solid #dfdfdf;
  40. padding: 30px 28px;
  41. word-wrap: break-word;
  42. overflow: hidden;
  43. }
  44. .sf-reset .block-exception div {
  45. color: #313131;
  46. font-size: 10px;
  47. }
  48. .sf-reset .block-exception-detected .illustration-exception,
  49. .sf-reset .block-exception-detected .text-exception {
  50. float: left;
  51. }
  52. .sf-reset .block-exception-detected .illustration-exception {
  53. width: 152px;
  54. }
  55. .sf-reset .block-exception-detected .text-exception {
  56. width: 670px;
  57. padding: 30px 44px 24px 46px;
  58. position: relative;
  59. }
  60. .sf-reset .text-exception .open-quote,
  61. .sf-reset .text-exception .close-quote {
  62. font-family: Arial, Helvetica, sans-serif;
  63. position: absolute;
  64. color: #C9C9C9;
  65. font-size: 8em;
  66. }
  67. .sf-reset .open-quote {
  68. top: 0;
  69. left: 0;
  70. }
  71. .sf-reset .close-quote {
  72. bottom: -0.5em;
  73. right: 50px;
  74. }
  75. .sf-reset .block-exception p {
  76. font-family: Arial, Helvetica, sans-serif;
  77. }
  78. .sf-reset .block-exception p a,
  79. .sf-reset .block-exception p a:hover {
  80. color: #565656;
  81. }
  82. .sf-reset .logs h2 {
  83. float: left;
  84. width: 654px;
  85. }
  86. .sf-reset .error-count, .sf-reset .support {
  87. float: right;
  88. width: 170px;
  89. text-align: right;
  90. }
  91. .sf-reset .error-count span {
  92. display: inline-block;
  93. background-color: #aacd4e;
  94. -moz-border-radius: 6px;
  95. -webkit-border-radius: 6px;
  96. border-radius: 6px;
  97. padding: 4px;
  98. color: white;
  99. margin-right: 2px;
  100. font-size: 11px;
  101. font-weight: bold;
  102. }
  103. .sf-reset .support a {
  104. display: inline-block;
  105. -moz-border-radius: 6px;
  106. -webkit-border-radius: 6px;
  107. border-radius: 6px;
  108. padding: 4px;
  109. color: #000000;
  110. margin-right: 2px;
  111. font-size: 11px;
  112. font-weight: bold;
  113. }
  114. .sf-reset .toggle {
  115. vertical-align: middle;
  116. }
  117. .sf-reset .linked ul,
  118. .sf-reset .linked li {
  119. display: inline;
  120. }
  121. .sf-reset #output-content {
  122. color: #000;
  123. font-size: 12px;
  124. }
  125. .sf-reset #traces-text pre {
  126. white-space: pre;
  127. font-size: 12px;
  128. font-family: monospace;
  129. }
  130. </style>
  131. {% endblock %}
  132. {% block title %}
  133. {{ exception.message }} ({{ status_code }} {{ status_text }})
  134. {% endblock %}
  135. {% block body %}
  136. {% include '@Twig/Exception/exception.html.twig' %}
  137. {% endblock %}