layout.html.twig 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}"/>
  5. <title>{{ exception.message }} ({{ status_code }} {{ status_text }})</title>
  6. <link href="{{ asset('/bundles/framework/css/exception_layout.css') }}" rel="stylesheet" type="text/css" media="all" />
  7. <link href="{{ asset('/bundles/framework/css/exception.css') }}" rel="stylesheet" type="text/css" media="all" />
  8. <script type="text/javascript">
  9. //<![CDATA[
  10. function toggle(id, clazz) {
  11. el = document.getElementById(id);
  12. current = el.style.display
  13. if (clazz) {
  14. var tags = document.getElementsByTagName('*');
  15. for (i = 0; i < tags.length; i++) {
  16. if (tags[i].className == clazz) {
  17. tags[i].style.display = 'none';
  18. }
  19. }
  20. }
  21. el.style.display = current == 'none' ? 'block' : 'none';
  22. }
  23. function switchIcons(id1, id2) {
  24. icon1 = document.getElementById(id1);
  25. icon2 = document.getElementById(id2);
  26. visibility1 = icon1.style.visibility;
  27. visibility2 = icon2.style.visibility;
  28. icon1.style.visibility = visibility2;
  29. icon2.style.visibility = visibility1;
  30. }
  31. //]]>
  32. </script>
  33. </head>
  34. <body>
  35. <div id="content">
  36. <div class="header clear_fix">
  37. <div class="header_logo">
  38. <a href="http://symfony.com/">
  39. <img src="{{ asset('bundles/framework/images/logo_symfony.gif') }}" alt="Symfony" />
  40. </a>
  41. </div>
  42. <div class="search">
  43. <form method="post" action="http://symfony.com/search">
  44. <div class="form_row">
  45. <label for="search_id">
  46. <img src="{{ asset('bundles/framework/images/grey_magnifier.png') }}" alt="Search on Symfony website" />
  47. </label>
  48. <input name="search_name" id="search_id" type="text" placeholder="Search on Symfony website" />
  49. <button type="submit">
  50. <span class="border_l">
  51. <span class="border_r">
  52. <span class="btn_bg">OK</span>
  53. </span>
  54. </span>
  55. </button>
  56. </div>
  57. </form>
  58. </div>
  59. </div>
  60. {% block body '' %}
  61. </div>
  62. </body>
  63. </html>