You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. {# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
  2. {% trans_default_domain ea.i18n.translationDomain %}
  3. <!DOCTYPE html>
  4. <html lang="{{ ea.i18n.htmlLocale }}" dir="{{ ea.i18n.textDirection }}">
  5. <head>
  6. {% block head_metas %}
  7. <meta charset="utf-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <meta name="robots"
  10. content="noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache"/>
  11. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  12. <meta name="generator" content="EasyAdmin"/>
  13. {% endblock head_metas %}
  14. <title>{% block page_title %}{{ block('content_title')|striptags|raw }}{% endblock %}</title>
  15. {# {% block head_stylesheets %}
  16. <link rel="stylesheet" href="{{ asset('bundles/easyadmin/app.css') }}">
  17. {% endblock %} #}
  18. <link rel="stylesheet"
  19. href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&amp;display=fallback">
  20. {% block configured_stylesheets %}
  21. {% for css_asset in ea.assets.cssFiles ?? [] %}
  22. <link rel="stylesheet" href="{{ asset(css_asset) }}">
  23. {% endfor %}
  24. {% for webpack_encore_entry in ea.assets.webpackEncoreEntries ?? [] %}
  25. {{ ea_call_function_if_exists('encore_entry_link_tags', webpack_encore_entry) }}
  26. {% endfor %}
  27. {% endblock %}
  28. {% block head_favicon %}
  29. <link rel="shortcut icon" href="{{ asset(ea.dashboardFaviconPath) }}">
  30. {% endblock %}
  31. {# {% block head_javascript %}
  32. <script src="{{ asset('bundles/easyadmin/app.js') }}"></script>
  33. {% endblock head_javascript %} #}
  34. {# {% if 'rtl' == ea.i18n.textDirection %}
  35. <link rel="stylesheet" href="{{ asset('bundles/easyadmin/app.rtl.css') }}">
  36. <link rel="stylesheet" href="{{ asset('bundles/easyadmin/app-custom-rtl.css') }}">
  37. {% endif %} #}
  38. {% block configured_head_contents %}
  39. {% for htmlContent in ea.assets.headContents ?? [] %}
  40. {{ htmlContent|raw }}
  41. {% endfor %}
  42. {% endblock %}
  43. </head>
  44. {% block body %}
  45. <body id="{% block body_id %}{% endblock %}" class="sidebar-mini layout-fixed {% block body_class %}{% endblock %}">
  46. {% block javascript_page_layout %}
  47. <script>
  48. document.body.classList.add(
  49. 'ea-content-width-' + (localStorage.getItem('ea/content/width') || '{{ ea.crud.contentWidth ?? ea.dashboardContentWidth ?? 'normal' }}'),
  50. 'ea-sidebar-width-' + (localStorage.getItem('ea/sidebar/width') || '{{ ea.crud.sidebarWidth ?? ea.dashboardSidebarWidth ?? 'normal' }}')
  51. );
  52. </script>
  53. {% endblock javascript_page_layout %}
  54. {% block wrapper_wrapper %}
  55. {% block flash_messages %}
  56. {{ include(ea.templatePath('flash_messages')) }}
  57. {% endblock flash_messages %}
  58. <div class="wrapper">
  59. {% block wrapper %}
  60. {% block navbar_header %}
  61. {{ include('@LcSov/adminlte/block/navbar_header.html.twig') }}
  62. {% endblock %}
  63. <aside class="main-sidebar sidebar-dark-primary elevation-4">
  64. {% block sidebar %}
  65. {% block header_logo %}
  66. <a class="brand-link text-center"
  67. title="{{ ea.dashboardTitle|striptags }}"
  68. href="{{ path(ea.dashboardRouteName) }}">
  69. {{ ea.dashboardTitle|raw }}
  70. <!--<span class="brand-text font-weight-light">Texte logo</span>-->
  71. </a>
  72. {% endblock header_logo %}
  73. <div class="sidebar">
  74. {% block main_menu_wrapper %}
  75. {{ include(ea.templatePath('main_menu')) }}
  76. {% endblock main_menu_wrapper %}
  77. </div>
  78. {% endblock sidebar %}
  79. </aside>
  80. <div class="content-wrapper" style="min-height: 554px;">
  81. {% block content %}
  82. {% block content_header_wrapper %}
  83. <section class="content-header">
  84. <div class="container-fluid">
  85. <div class="row mb-2">
  86. {% set has_help_message = (ea.crud.helpMessage ?? '') is not empty %}
  87. {% block content_header %}
  88. <div class="col-sm-6">
  89. <h1 class="m-0 text-dark">
  90. {% block content_title %}{% endblock %}
  91. </h1>
  92. {% block content_breadcrumb %}
  93. {% endblock content_breadcrumb %}
  94. {# {% block content_help %}
  95. {% if has_help_message %}
  96. <div class="text-muted">
  97. {{ ea.crud.helpMessage|e('html_attr') }}
  98. </div>
  99. {% endif %}
  100. {% endblock %} #}
  101. </div><!-- /.col -->
  102. <div class="col-sm-6">
  103. {% block page_actions_wrapper %}
  104. <div class="btn-list float-sm-right">
  105. {% block page_actions %}{% endblock %}
  106. </div>
  107. {% endblock %}
  108. </div><!-- /.col -->
  109. {% endblock %}
  110. </div><!-- /.row -->
  111. </div><!-- /.container-fluid -->
  112. </section>
  113. {% endblock %}
  114. <section class="content">
  115. <div class="container-fluid">
  116. {% block main %}{% endblock %}
  117. </div>
  118. </section>
  119. {% endblock %}
  120. </div>
  121. {% block footer %}
  122. {% set content_footer = block('content_footer') is defined ? block('content_footer') : '' %}
  123. <footer class="main-footer">
  124. <div class="float-right d-none d-sm-block">
  125. <b>SovBundle Version</b> 1.0
  126. </div>
  127. <strong>Copyright © {{ 'now'|date('Y') }} <a href="http://laclic.fr">La Clic</a>.</strong> All
  128. rights
  129. reserved.
  130. </footer>
  131. {% endblock %}
  132. {% endblock wrapper %}
  133. </div>
  134. {% endblock wrapper_wrapper %}
  135. {% block configured_javascripts %}
  136. {% for js_asset in ea.assets.jsFiles ?? [] %}
  137. <script src="{{ asset(js_asset) }}"></script>
  138. {% endfor %}
  139. {% for webpack_encore_entry in ea.assets.webpackEncoreEntries ?? [] %}
  140. {{ ea_call_function_if_exists('encore_entry_script_tags', webpack_encore_entry, null, '_default', {'defer': false}) }}
  141. {% endfor %}
  142. {% endblock %}
  143. {% block body_javascript %}{% endblock body_javascript %}
  144. {% block configured_body_contents %}
  145. {% for htmlContent in ea.assets.bodyContents ?? [] %}
  146. {{ htmlContent|raw }}
  147. {% endfor %}
  148. {% endblock %}
  149. {% include '@LcSov/adminlte/filemanager/file-manager-modal.html.twig' %}
  150. {% if app.session is not null and app.session.started %}
  151. {% set flash_messages = app.session.flashbag.all %}
  152. {% if flash_messages|length > 0 %}
  153. <script type="text/javascript">
  154. $(document).ready(function() {
  155. {% for label, messages in flash_messages %}
  156. {% for message in messages %}
  157. Notification.add("{{ label }}", "{{ message|trans|raw|replace({'"': '\"'}) }}");
  158. {% endfor %}
  159. {% endfor %}
  160. });
  161. </script>
  162. {% endif %}
  163. {% endif %}
  164. </body>
  165. {% endblock body %}
  166. </html>