Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  6. <title>{% block title %}SoftUni Blog{% endblock %}</title>
  7. {% block stylesheets %}
  8. <link rel="stylesheet" href="{{ asset('css/style.css') }}">
  9. <link rel="stylesheet" href="{{ asset('css/bootstrap-datetimepicker.min.css') }}">
  10. {% endblock %}
  11. <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
  12. </head>
  13.  
  14. <body id="{% block body_id %}{% endblock %}">
  15.  
  16. {% block header %}
  17. <header>
  18. <div class="navbar navbar-default navbar-static-top" role="navigation">
  19. <div class="container">
  20. <div class="navbar-header">
  21. <a href="{{ path('blog_index') }}" class="navbar-brand">SOFTUNI BLOG</a>
  22.  
  23. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  24. <span class="icon-bar"></span>
  25. <span class="icon-bar"></span>
  26. <span class="icon-bar"></span>
  27. </button>
  28. </div>
  29. <div class="navbar-collapse collapse">
  30. <ul class="nav navbar-nav navbar-right">
  31. {% if app.user %}
  32. <li>
  33. <a href="{{ path("123") }}">
  34. test
  35. </a>
  36. </li>
  37. <li>
  38. <a href="{{ path("article_create") }}">
  39. Create Article
  40. </a>
  41. </li>
  42. <li>
  43. <a href="{{ path('user_profile') }}">
  44. My Profile
  45. </a>
  46. </li>
  47. <li>
  48. <a href="{{ path('security_logout') }}">
  49. Logout
  50. </a>
  51. </li>
  52. {% else %}
  53. <li>
  54. <a href="{{ path('user_register') }}">
  55. REGISTER
  56. </a>
  57. </li>
  58. <li>
  59. <a href="{{ path('security_login') }}">
  60. LOGIN
  61. </a>
  62. </li>
  63. {% endif %}
  64. </ul>
  65. </div>
  66. </div>
  67. </div>
  68. </header>
  69. {% endblock %}
  70.  
  71. <div class="container body-container">
  72. {% block body %}
  73. <div class="row">
  74. <div id="main" class="col-sm-9">
  75. {% block main %}{% endblock %}
  76. </div>
  77. </div>
  78. {% endblock %}
  79. </div>
  80.  
  81. {% block footer %}
  82. <footer>
  83. <div class="container modal-footer">
  84. <p>&copy; 2016 - Software University Foundation</p>
  85. </div>
  86. </footer>
  87. {% endblock %}
  88.  
  89. {% block javascripts %}
  90. <script src="{{ asset('js/jquery-2.2.4.min.js') }}"></script>
  91. <script src="{{ asset('js/moment.min.js') }}"></script>
  92. <script src="{{ asset('js/bootstrap.js') }}"></script>
  93. <script src="{{ asset('js/bootstrap-datetimepicker.min.js') }}"></script>
  94. {% endblock %}
  95.  
  96. </body>
  97. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement