vendor/elcoag/symfony-adminlte-bundle/src/Resources/views/layout/default-layout.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="{% block lang %}en{% endblock %}">
  3. <head>
  4.     {% block head %}
  5.         <meta charset="utf-8">
  6.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.         <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  8.     {% endblock %}
  9.     <title>{% block title %}{{ block('page_title') }}{% endblock %}</title>
  10.     {% include '@SymfonyAdminlte/Partials/_stylesheets.html.twig' %}
  11. </head>
  12. <body{% block body_start %}{% endblock %}
  13.         class="{% block body_class %} hold-transition {% endblock %}
  14.                 {{ symfony_adminlte_context.dark_mode|default("") }}
  15.                 {{ symfony_adminlte_context.skin|default("") }}
  16.                 {{ symfony_adminlte_context.layout_size|default("") }}
  17.                 {% if symfony_adminlte_context.fixed_layout %} layout-fixed {% endif %}
  18.                 {% if symfony_adminlte_context.fixed_navbar %} layout-navbar-fixed {% endif %}
  19.                 {% if symfony_adminlte_context.fixed_footer %} layout-footer-fixed {% endif %}">
  20. {% block body %}
  21.     <div class="wrapper">
  22.         {% block preloader %}
  23.             <div class="preloader flex-column justify-content-center align-items-center">
  24.                 <img class="animation__shake" src="{% block preloader_logo %}{{ symfony_adminlte_context.logo|default("") }}{% endblock %}" alt="Logo" height="60" width="60">
  25.             </div>
  26.         {% endblock %}
  27.         {% block navbar %}
  28.             <!-- Navbar -->
  29.             <nav class="main-header navbar navbar-expand navbar-white navbar-light">
  30.                 <!-- Left navbar links -->
  31.                 {% block navbar_left %}
  32.                     <ul class="navbar-nav">
  33.                         <li class="nav-item">
  34.                             <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i
  35.                                         class="fas fa-bars"></i></a>
  36.                         </li>
  37.                         <li class="nav-item d-none d-sm-inline-block">
  38.                             <a href="/" class="nav-link">{{ 'Home'|trans({}, 'SymfonyAdminlteBundle') }}</a>
  39.                         </li>
  40.                     </ul>
  41.                 {% endblock %}
  42.                 {% block navbar_right %}
  43.                     <ul class="navbar-nav ml-auto">
  44.                         {% block user_profile %}
  45.                         {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  46.                             <li class="nav-item dropdown user-menu">
  47.                                 <a class="nav-link" data-toggle="dropdown" href="#">
  48.                                     <i class="far fa-user"></i>
  49.                                     <!--
  50.                                     <span class="badge badge-warning navbar-badge">15</span>
  51.                                     -->
  52.                                 </a>
  53.                                 <ul class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
  54.                                     <li class="p-2 stop-user-header bg-primary">
  55.                                         <p>
  56.                                             {{ app.user }}
  57.                                             <!--<small>You are logged in.</small>-->
  58.                                         </p>
  59.                                     </li>
  60.                                     <!--
  61.                                     <li class="user-body">
  62.                                         <div class="row">
  63.                                             <div class="col-4 text-center">
  64.                                                 <a href="#">Followers</a>
  65.                                             </div>
  66.                                             <div class="col-4 text-center">
  67.                                                 <a href="#">Sales</a>
  68.                                             </div>
  69.                                             <div class="col-4 text-center">
  70.                                                 <a href="#">Friends</a>
  71.                                             </div>
  72.                                         </div>
  73.                                     </li>
  74.                                     -->
  75.                                     <li class="user-footer">
  76.                                         <!--<a href="#" class="btn btn-default btn-flat">Profile</a>-->
  77.                                         <a href="{{ path('adminlte_logout') }}" class="btn btn-default btn-flat float-right">{{ 'Sign out'|trans({}, 'SymfonyAdminlteBundle') }}</a>
  78.                                     </li>
  79.                                 </ul>
  80.                             </li>
  81.                         {% endif %}
  82.                         {% endblock %}
  83.                     </ul>
  84.                 {% endblock %}
  85.             </nav>
  86.             <!-- /.navbar -->
  87.         {% endblock %}
  88.         <!-- Main Sidebar Container -->
  89.         <aside class="main-sidebar sidebar-dark-primary elevation-4">
  90.             <!-- Brand Logo -->
  91.             <a href="/" class="brand-link">
  92.                 <img src="{{ symfony_adminlte_context.logo|default("") }}" alt="Logo"
  93.                      class="brand-image img-circle-STOP elevation-3" style="border-radius: 0.25rem">
  94.                 <span class="brand-text font-weight-light">
  95.                 {% block logo_title %}{{ 'Elco AG'|trans({}, 'SymfonyAdminlteBundle') }}{% endblock %}
  96.             </span>
  97.             </a>
  98.             <!-- Sidebar -->
  99.             <div class="sidebar">
  100.                 <!--
  101.                 <div class="user-panel mt-3 pb-3 mb-3 d-flex">
  102.                     {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  103.                         <div class="info">
  104.                             <a class="d-block">{{ app.user }}</a>
  105.                         </div>
  106.                     {% endif %}
  107.                 </div>
  108.                 -->
  109.                 <!-- Sidebar Menu -->
  110.                 <nav class="mt-2">
  111.                     <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu"
  112.                         data-accordion="false">
  113.                         {% block navbar_start %}{% endblock %}
  114.                         {% block navbar_end %}{% endblock %}
  115.                     </ul>
  116.                 </nav>
  117.                 {% block sidebar_nav %}
  118.                     {% if symfony_adminlte_context.knp_menu.enable %}
  119.                         {% include '@SymfonyAdminlte/Sidebar/knp-menu.html.twig' %}
  120.                     {% else %}
  121.                         {# include '@SymfonyAdminlte/Sidebar/menu.html.twig' #}
  122.                     {% endif %}
  123.                 {% endblock %}
  124.                 <!-- /.sidebar-menu -->
  125.             </div>
  126.             <!-- /.sidebar -->
  127.         </aside>
  128.         <!-- Content Wrapper. Contains page content -->
  129.         <div class="content-wrapper">
  130.             <!-- Content Header (Page header) -->
  131.             <div class="content-header">
  132.                 <div class="container-fluid">
  133.                     <div class="row mb-2">
  134.                         <div class="col-sm-6">
  135.                             <h1 class="m-0">
  136.                                 {% block page_title %}{{ 'Admin LTE'|trans({}, 'SymfonyAdminlteBundle') }}{% endblock %}
  137.                                 <small>{% block page_subtitle %}{{ 'is a symfony application'|trans({}, 'SymfonyAdminlteBundle') }}{% endblock %}</small>
  138.                             </h1>
  139.                         </div><!-- /.col -->
  140.                         <div class="col-sm-6">
  141.                             {% block breadcrumb %}
  142.                                 {% if symfony_adminlte_context.knp_menu.enable %}
  143.                                     {% include '@SymfonyAdminlte/Breadcrumb/knp-breadcrumb.html.twig' %}
  144.                                 {% else %}
  145.                                     {# include '@SymfonyAdminlte/Breadcrumb/breadcrumb.html.twig' with {'adminlte_direct_include': true} #}
  146.                                 {% endif %}
  147.                             {% endblock %}
  148.                         </div><!-- /.col -->
  149.                     </div><!-- /.row -->
  150.                 </div><!-- /.container-fluid -->
  151.             </div>
  152.             <!-- /.content-header -->
  153.             <!-- Main content -->
  154.             <section class="content">
  155.                 <div class="container-fluid">
  156.                     {% block page_content %}
  157.                         <div class="row">
  158.                             {% include '@SymfonyAdminlte/Partials/_flash_messages.html.twig' %}
  159.                             <div class="col-md-12">
  160.                                 {% block page_content_inner %}
  161.                                 {% endblock %}
  162.                             </div>
  163.                         </div>
  164.                     {% endblock %}
  165.                 </div>
  166.             </section>
  167.             <!-- /.content -->
  168.         </div>
  169.         {% include '@SymfonyAdminlte/Partials/_footer.html.twig' %}
  170.         {% include '@SymfonyAdminlte/Partials/_control_sidebar.html.twig' %}
  171.     </div>
  172.     <!-- ./wrapper -->
  173. {% endblock %}
  174. {% include '@SymfonyAdminlte/Partials/_javascripts.html.twig' %}
  175. </body>
  176. </html>