templates/admin/baseAdmin.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html  lang="{{ app.request.locale }}">
  3.     {% set locale = app.request.locale %} 
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.         <title>{% block title %}Bookoach{% endblock %}</title>
  8.         {% block stylesheets %}
  9.         {% endblock %}
  10.         <link href="{{ asset('admin/css/bootstrap.min.css') }}" rel="stylesheet">
  11.         <link href="{{ asset('admin/css/icons.min.css') }}" rel="stylesheet">
  12.         <link href="{{ asset('admin/css/app.min.css') }}" rel="stylesheet">
  13.         
  14.     </head>
  15. <body  data-sidebar="dark" id="{% block body_id %}{% endblock %}">
  16.         <div id="layout-wrapper">
  17.             <header id="page-topbar">
  18.                 <div class="navbar-header">
  19.                     <div class="d-flex">
  20.                         <!-- LOGO -->
  21.                         <div  class=" flex h-18 items-center justify-center navbar-brand-box px-4">
  22.                             <a href="" class="logo logo-dark">
  23.                                 <span class="logo-sm">
  24.                                     <img src="{{ asset('admin/images/logo.svg')}}" alt="" height="22">
  25.                                 </span>
  26.                                 <span class="logo-lg">
  27.                                     <img src="{{ asset('admin/images/logo-dark.png')}}" alt="" style="height: 25px;">
  28.                                 </span>
  29.                             </a>
  30.                             <a href="" class="logo logo-light">
  31.                                 <span class="logo-sm">
  32.                                     <img src="{{ asset('admin/images/logoBookoach-light.svg')}}" alt="" style="height: 35px"  >
  33.                                 </span>
  34.                                 <span class="logo-lg">
  35.                                     <img src="{{ asset('admin/images/logoBookoach-light.svg')}}" alt="" style="height: 25px">
  36.                                 </span>
  37.                             </a>
  38.                         </div>
  39.                         <button type="button" class="btn btn-sm px-3 font-size-16 header-item waves-effect" id="vertical-menu-btn">
  40.                             <i class="fa fa-fw fa-bars"></i>
  41.                         </button>
  42.                         <!-- App Search-->
  43.                         <form class="app-search d-none d-lg-block">
  44.                             <div class="position-relative">
  45.                                 <input type="text" class="form-control" placeholder="Search...">
  46.                                 <span class="bx bx-search-alt"></span>
  47.                             </div>
  48.                         </form>
  49.                     </div>
  50.                     <div class="d-flex">
  51.                         <div class="dropdown d-inline-block d-lg-none ms-2">
  52.                             <button type="button" class="btn header-item noti-icon waves-effect" id="page-header-search-dropdown"
  53.                                     data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  54.                                 <i class="mdi mdi-magnify"></i>
  55.                             </button>
  56.                             <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0"
  57.                                  aria-labelledby="page-header-search-dropdown">
  58.                                 <form class="p-3">
  59.                                     <div class="form-group m-0">
  60.                                         <div class="input-group">
  61.                                             <input type="text" class="form-control" placeholder="Search ..." aria-label="Recipient's username">
  62.                                             <div class="input-group-append">
  63.                                                 <button class="btn btn-primary" type="submit"><i class="mdi mdi-magnify"></i></button>
  64.                                             </div>
  65.                                         </div>
  66.                                     </div>
  67.                                 </form>
  68.                             </div>
  69.                         </div>
  70.                         <div class="dropdown d-inline-block">
  71.                             <button type="button" class="btn header-item waves-effect"
  72.                                     data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  73.                                 <img id="header-lang-img" src="{{ asset('admin/images/flags/us.jpg')}}" alt="Header Language" height="16">
  74.                             </button>
  75.                             <div class="dropdown-menu dropdown-menu-end">
  76.                                 <!-- item-->
  77.                                 <a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="en">
  78.                                     <img src="{{ asset('admin/images/flags/us.jpg')}}" alt="user-image" class="me-1" height="12"> <span class="align-middle">English</span>
  79.                                 </a>
  80.                                 <!-- item-->
  81.                                 <a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="sp">
  82.                                     <img src="{{ asset('admin/images/flags/french.jpg')}}" alt="user-image" class="me-1" height="12"> <span class="align-middle">Français</span>
  83.                                 </a>
  84.                             </div>
  85.                         </div>
  86.                         <div class="dropdown d-none d-lg-inline-block ms-1">
  87.                             <button type="button" class="btn header-item noti-icon waves-effect"
  88.                                     data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  89.                                 <i class="bx bx-customize"></i>
  90.                             </button>
  91.                             <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
  92.                                 <div class="px-lg-2">
  93.                                     <div class="row g-0">
  94.                                         <div class="col">
  95.                                             <a class="dropdown-icon-item" href="#">
  96.                                                 <i class="bx font-size-24 bx-detail"></i>
  97.                                                 <span>Articles</span>
  98.                                             </a>
  99.                                         </div>
  100.                                         <div class="col">
  101.                                             <a class="dropdown-icon-item" href="#">
  102.                                                 <i class="bx font-size-24 bx-news"></i>
  103.                                                 <span>Events</span>
  104.                                             </a>
  105.                                         </div>
  106.                                         <div class="col">
  107.                                             <a class="dropdown-icon-item" href="#">
  108.                                                 <i class="bx font-size-24 bx-film"></i>
  109.                                                 <span>Videos</span>
  110.                                             </a>
  111.                                         </div>
  112.                                     </div>
  113.                                 </div>
  114.                             </div>
  115.                         </div>
  116.                         <div class="dropdown d-none d-lg-inline-block ms-1">
  117.                             <button type="button" class="btn header-item noti-icon waves-effect" data-bs-toggle="fullscreen">
  118.                                 <i class="bx bx-fullscreen"></i>
  119.                             </button>
  120.                         </div>
  121. {#                        {% include 'include/notificationAdmin.html.twig' %}#}
  122.                         <div class="dropdown d-inline-block">
  123.                             <button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown"
  124.                                     data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  125.                                 <img class="rounded-circle header-profile-user" src="{{ asset('admin/images/users/avatar-1.jpg')}}"
  126.                                      alt="Header Avatar">
  127.                                 <span class="d-none d-xl-inline-block ms-1" key="t-henry">Hicham</span>
  128.                                 <i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i>
  129.                             </button>
  130.                             <div class="dropdown-menu dropdown-menu-end">
  131.                                 <!-- item-->
  132.                                 <a class="dropdown-item" href=""><i class="bx bx-user font-size-16 align-middle me-1"></i> <span key="t-profile">Profile</span></a>
  133.                                 <a class="dropdown-item d-block" href=""><i class="bx bx-wrench font-size-16 align-middle me-1"></i> <span key="t-settings">Settings</span></a>
  134.                                 <a class="dropdown-item d-block" href=""><i class="bx bx-lock-open font-size-16 align-middle me-1"></i> <span key="t-settings">Password</span></a>
  135.                                 <div class="dropdown-divider"></div>
  136.                                 <a class="dropdown-item text-danger" href="{{ path('security_logout') }}"><i class="bx bx-power-off font-size-16 align-middle me-1 text-danger"></i> <span key="t-logout">Logout</span></a>
  137.                             </div>
  138.                         </div>
  139.                         <div class="dropdown d-inline-block">
  140.                             <button type="button" class="btn header-item noti-icon right-bar-toggle waves-effect">
  141.                                 <i class="bx bx-cog bx-spin"></i>
  142.                             </button>
  143.                         </div>
  144.                     </div>
  145.                 </div>
  146.             </header>
  147.             <!-- ========== Left Sidebar Start ========== -->
  148.             <div class="vertical-menu">
  149.                 <div data-simplebar class="h-100">
  150.                     <!--- Sidemenu -->
  151.                     <div id="sidebar-menu">
  152.                         <!-- Left Menu Start -->
  153.                         <ul class="mt-3 metismenu list-unstyled" id="side-menu">
  154.                             {% block menu_left_sidebar %}{% endblock %}
  155.                         </ul>
  156.                     </div>
  157.                     <!-- Sidebar -->
  158.                 </div>
  159.             </div>
  160.             <!-- Left Sidebar End -->
  161.             <!-- @@include("horizontal.html") -->
  162.             <!-- ============================================================== -->
  163.             <!-- Start right Content here -->
  164.             <!-- ============================================================== -->
  165.             <div class="main-content">
  166.                 <div class="page-content">
  167.                     <div class="container-fluid">
  168.                         <!-- start page title -->
  169.                         <div class="row">
  170.                             <div class="col-12">
  171.                                 <div class="page-title-box d-sm-flex align-items-center justify-content-between">
  172.                                     <h4 class="mb-sm-0 font-size-18">{% block page_title %}{% endblock %}</h4>
  173.                                     <div class="page-title-right">
  174.                                         <ol class="breadcrumb m-0">
  175.                                             <li class="breadcrumb-item"><a href="javascript: void(0);">{% block breadcump_main %}{% endblock %}</a></li>
  176.                                             <li class="breadcrumb-item active">{% block breadcump_subtitle %}{% endblock %}</li>
  177.                                         </ol>
  178.                                     </div>
  179.                                 </div>
  180.                             </div>
  181.                         </div>
  182.                         <!-- end page title -->
  183.                         {{ include('default/_flash_messages.html.twig') }}
  184.                         {% block content %}{% endblock %}
  185.                         <!-- end row -->
  186.                     </div> <!-- container-fluid -->
  187.                 </div>
  188.                 <!-- End Page-content -->
  189.                 <!-- JAVASCRIPT -->
  190.                 <script src="{{ asset('admin/libs/jquery/jquery.min.js')}}"></script>
  191.                 <script src="{{ asset('admin/libs/bootstrap/js/bootstrap.bundle.min.js')}}"></script>
  192.                 <script src="{{ asset('admin/libs/metismenu/metisMenu.min.js')}}"></script>
  193.                 <script src="{{ asset('admin/libs/simplebar/simplebar.min.js')}}"></script>
  194.                 <script src="{{ asset('admin/libs/node-waves/waves.min.js')}}"></script>
  195.                 {% block javascripts %}
  196.                 {% endblock %}
  197.             </div>
  198.             <!-- end main content-->
  199.         </div>
  200.         <!-- END layout-wrapper -->
  201.         {# it's not mandatory to set the timezone in localizeddate(). This is done to
  202.            avoid errors when the 'intl' PHP extension is not available and the application
  203.            is forced to use the limited "intl polyfill", which only supports UTC and GMT #}
  204.         <!-- Page rendered on {{ 'now'|format_datetime('long', 'long', '', 'UTC') }} -->
  205.     </body>
  206. </html>