templates/partials/topbar.html.twig line 1

Open in your IDE?
  1. <header id="page-topbar">
  2.     <div class="navbar-header">
  3.         <div class="d-flex">
  4.             <!-- LOGO -->
  5.             <div class="navbar-brand-box">
  6.                 <a href="{{ path('home') }}" class="logo logo-dark">
  7.                     <span class="logo-sm">
  8.                         <img src="/images/logo-sm.svg" alt="" height="24">
  9.                     </span>
  10.                     <span class="logo-lg">
  11.                         <img src="/images/logo-sm.svg" alt="" height="24"> <span class="logo-txt">Minia</span>
  12.                     </span>
  13.                 </a>
  14.                 <a href="{{ path('home') }}" class="logo logo-light">
  15.                     <span class="logo-sm">
  16.                         <img src="/images/logo-sm.svg" alt="" height="24">
  17.                     </span>
  18.                     <span class="logo-lg">
  19.                         <img src="/images/logo-sm.svg" alt="" height="24"> <span class="logo-txt">Minia</span>
  20.                     </span>
  21.                 </a>
  22.             </div>
  23.             <button type="button" class="btn btn-sm px-3 font-size-16 header-item" id="vertical-menu-btn">
  24.                 <i class="fa fa-fw fa-bars"></i>
  25.             </button>
  26.             <!-- App Search-->
  27.             <form class="app-search d-none d-lg-block">
  28.                 <div class="position-relative">
  29.                     <input type="text" class="form-control" placeholder="{% trans %}Search{% endtrans %}...">
  30.                     <button class="btn btn-primary" type="button"><i class="bx bx-search-alt align-middle"></i></button>
  31.                 </div>
  32.             </form>
  33.         </div>
  34.         <div class="d-flex">
  35.             <div class="dropdown d-inline-block d-lg-none ms-2">
  36.                 <button type="button" class="btn header-item" id="page-header-search-dropdown"
  37.                 data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  38.                     <i data-feather="search" class="icon-lg"></i>
  39.                 </button>
  40.                 <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0"
  41.                     aria-labelledby="page-header-search-dropdown">
  42.         
  43.                     <form class="p-3">
  44.                         <div class="form-group m-0">
  45.                             <div class="input-group">
  46.                                 <input type="text" class="form-control" placeholder="{% trans %}Search{% endtrans %}..." aria-label="Search Result">
  47.                                 <button class="btn btn-primary" type="submit"><i class="mdi mdi-magnify"></i></button>
  48.                             </div>
  49.                         </div>
  50.                     </form>
  51.                 </div>
  52.             </div>
  53.             <div class="dropdown d-none d-sm-inline-block">
  54.                 <button type="button" class="btn header-item"
  55.                 data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  56.                     {% if app.request.locale == 'en' %}
  57.                        <img class="header-lang-img" src="/images/flags/us.jpg" alt="Header Language" height="16">
  58.                     {% elseif app.request.locale == 'es' %}
  59.                        <img class="header-lang-img" src="/images/flags/spain.jpg" alt="Header Language" height="16">
  60.                     {% elseif app.request.locale == 'de' %}
  61.                         <img class="header-lang-img" src="/images/flags/germany.jpg" alt="Header Language" height="16">
  62.                     {% elseif app.request.locale == 'it' %}
  63.                         <img class="header-lang-img" src="/images/flags/italy.jpg" alt="Header Language" height="16">
  64.                     {% elseif app.request.locale == 'ru' %}
  65.                         <img class="header-lang-img" src="/images/flags/russia.jpg" alt="Header Language" height="16">
  66.                     {% else %}
  67.                        <img class="header-lang-img" src="/images/flags/us.jpg" alt="Header Language" height="16">
  68.                     {% endif %}
  69.                 </button>
  70.                 <div class="dropdown-menu dropdown-menu-end">
  71.                     {% if app.request.locale != 'en' %}
  72.                     <!-- item-->
  73.                     <a href="lang/en" class="dropdown-item notify-item language" data-lang="eng">
  74.                         <img src="/images/flags/us.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">English</span>
  75.                     </a>
  76.                     {% endif %}
  77.                     {% if app.request.locale != 'es' %}
  78.                     <!-- item-->
  79.                     <a href="lang/es" class="dropdown-item notify-item language" data-lang="sp">
  80.                         <img src="/images/flags/spain.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">Spanish</span>
  81.                     </a>
  82.                     {% endif %}
  83.                     
  84.                     {% if app.request.locale != 'de' %}
  85.                     <!-- item-->
  86.                     <a href="lang/de" class="dropdown-item notify-item language" data-lang="gr">
  87.                         <img src="/images/flags/germany.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">German</span>
  88.                     </a>
  89.                     {% endif %}
  90.                     {% if app.request.locale != 'it' %}
  91.                     <!-- item-->
  92.                     <a href="lang/it" class="dropdown-item notify-item language" data-lang="it">
  93.                         <img src="/images/flags/italy.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">Italian</span>
  94.                     </a>
  95.                     {% endif %}
  96.                     {% if app.request.locale != 'ru' %}
  97.                     <!-- item-->
  98.                     <a href="lang/ru" class="dropdown-item notify-item language" data-lang="ru">
  99.                         <img src="/images/flags/russia.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">Russian</span>
  100.                     </a>
  101.                     {% endif %}
  102.                     
  103.                 </div>
  104.             </div>
  105.             <div class="dropdown d-none d-sm-inline-block">
  106.                 <button type="button" class="btn header-item" id="mode-setting-btn">
  107.                     <i data-feather="moon" class="icon-lg layout-mode-dark"></i>
  108.                     <i data-feather="sun" class="icon-lg layout-mode-light"></i>
  109.                 </button>
  110.             </div>
  111.             <div class="dropdown d-none d-lg-inline-block ms-1">
  112.                 <button type="button" class="btn header-item"
  113.                 data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  114.                     <i data-feather="grid" class="icon-lg"></i>
  115.                 </button>
  116.                 <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
  117.                     <div class="p-2">
  118.                         <div class="row g-0">
  119.                             <div class="col">
  120.                                 <a class="dropdown-icon-item" href="#">
  121.                                     <img src="/images/brands/github.png" alt="Github">
  122.                                     <span>GitHub</span>
  123.                                 </a>
  124.                             </div>
  125.                             <div class="col">
  126.                                 <a class="dropdown-icon-item" href="#">
  127.                                     <img src="/images/brands/bitbucket.png" alt="bitbucket">
  128.                                     <span>Bitbucket</span>
  129.                                 </a>
  130.                             </div>
  131.                             <div class="col">
  132.                                 <a class="dropdown-icon-item" href="#">
  133.                                     <img src="/images/brands/dribbble.png" alt="dribbble">
  134.                                     <span>Dribbble</span>
  135.                                 </a>
  136.                             </div>
  137.                         </div>
  138.                         <div class="row g-0">
  139.                             <div class="col">
  140.                                 <a class="dropdown-icon-item" href="#">
  141.                                     <img src="/images/brands/dropbox.png" alt="dropbox">
  142.                                     <span>Dropbox</span>
  143.                                 </a>
  144.                             </div>
  145.                             <div class="col">
  146.                                 <a class="dropdown-icon-item" href="#">
  147.                                     <img src="/images/brands/mail_chimp.png" alt="mail_chimp">
  148.                                     <span>Mail Chimp</span>
  149.                                 </a>
  150.                             </div>
  151.                             <div class="col">
  152.                                 <a class="dropdown-icon-item" href="#">
  153.                                     <img src="/images/brands/slack.png" alt="slack">
  154.                                     <span>Slack</span>
  155.                                 </a>
  156.                             </div>
  157.                         </div>
  158.                     </div>
  159.                 </div>
  160.             </div>
  161.             <div class="dropdown d-inline-block">
  162.                 <button type="button" class="btn header-item noti-icon position-relative" id="page-header-notifications-dropdown"
  163.                 data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  164.                     <i data-feather="bell" class="icon-lg"></i>
  165.                     <span class="badge bg-danger rounded-pill">5</span>
  166.                 </button>
  167.                 <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0"
  168.                     aria-labelledby="page-header-notifications-dropdown">
  169.                     <div class="p-3">
  170.                         <div class="row align-items-center">
  171.                             <div class="col">
  172.                                 <h6 class="m-0"> {% trans %}Notifications{% endtrans %} </h6>
  173.                             </div>
  174.                             <div class="col-auto">
  175.                                 <a href="#!" class="small text-reset text-decoration-underline"> {% trans %}Unread{% endtrans %} (3)</a>
  176.                             </div>
  177.                         </div>
  178.                     </div>
  179.                     <div data-simplebar style="max-height: 230px;">
  180.                         <a href="#!" class="text-reset notification-item">
  181.                             <div class="d-flex">
  182.                                 <div class="flex-shrink-0 me-3">
  183.                                     <img src="/images/users/avatar-3.jpg" class="rounded-circle avatar-sm" alt="user-pic">
  184.                                 </div>
  185.                                 <div class="flex-grow-1">
  186.                                     <h6 class="mb-1">{% trans %}James Lemire{% endtrans %}</h6>
  187.                                     <div class="font-size-13 text-muted">
  188.                                         <p class="mb-1">{% trans %}It will seem like simplified English{% endtrans %}.</p>
  189.                                         <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span>{% trans %}1 hour ago{% endtrans %}</span></p>
  190.                                     </div>
  191.                                 </div>
  192.                             </div>
  193.                         </a>
  194.                         <a href="#!" class="text-reset notification-item">
  195.                             <div class="d-flex">
  196.                                 <div class="flex-shrink-0 avatar-sm me-3">
  197.                                     <span class="avatar-title bg-primary rounded-circle font-size-16">
  198.                                         <i class="bx bx-cart"></i>
  199.                                     </span>
  200.                                 </div>
  201.                                 <div class="flex-grow-1">
  202.                                     <h6 class="mb-1">{% trans %}Your order is placed{% endtrans %}</h6>
  203.                                     <div class="font-size-13 text-muted">
  204.                                         <p class="mb-1">{% trans %}If several languages coalesce the grammar{% endtrans %}</p>
  205.                                         <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span>{% trans %}3 min ago{% endtrans %}</span></p>
  206.                                     </div>
  207.                                 </div>
  208.                             </div>
  209.                         </a>
  210.                         <a href="#!" class="text-reset notification-item">
  211.                             <div class="d-flex">
  212.                                 <div class="flex-shrink-0 avatar-sm me-3">
  213.                                     <span class="avatar-title bg-success rounded-circle font-size-16">
  214.                                         <i class="bx bx-badge-check"></i>
  215.                                     </span>
  216.                                 </div>
  217.                                 <div class="flex-grow-1">
  218.                                     <h6 class="mb-1">{% trans %}Your item is shipped{% endtrans %}</h6>
  219.                                     <div class="font-size-13 text-muted">
  220.                                         <p class="mb-1">{% trans %}If several languages coalesce the grammar{% endtrans %}</p>
  221.                                         <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span>{% trans %}3 min ago{% endtrans %}</span></p>
  222.                                     </div>
  223.                                 </div>
  224.                             </div>
  225.                         </a>
  226.                         <a href="#!" class="text-reset notification-item">
  227.                             <div class="d-flex">
  228.                                 <div class="flex-shrink-0 me-3">
  229.                                     <img src="/images/users/avatar-6.jpg" class="rounded-circle avatar-sm" alt="user-pic">
  230.                                 </div>
  231.                                 <div class="flex-grow-1">
  232.                                     <h6 class="mb-1">{% trans %}Salena Layfield{% endtrans %}</h6>
  233.                                     <div class="font-size-13 text-muted">
  234.                                         <p class="mb-1">{% trans %}As a skeptical Cambridge friend of mine occidental{% endtrans %}.</p>
  235.                                         <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span>{% trans %}1 hour ago{% endtrans %}</span></p>
  236.                                     </div>
  237.                                 </div>
  238.                             </div>
  239.                         </a>
  240.                     </div>
  241.                     <div class="p-2 border-top d-grid">
  242.                         <a class="btn btn-sm btn-link font-size-14 text-center" href="javascript:void(0)">
  243.                             <i class="mdi mdi-arrow-right-circle me-1"></i> <span>{% trans %}View More{% endtrans %}..</span> 
  244.                         </a>
  245.                     </div>
  246.                 </div>
  247.             </div>
  248.             <div class="dropdown d-inline-block">
  249.                 <button type="button" class="btn header-item right-bar-toggle me-2">
  250.                     <i data-feather="settings" class="icon-lg"></i>
  251.                 </button>
  252.             </div>
  253.             <div class="dropdown d-inline-block">
  254.                 <button type="button" class="btn header-item bg-soft-light border-start border-end" id="page-header-user-dropdown"
  255.                 data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  256.                     <img class="rounded-circle header-profile-user" src="/images/users/avatar-1.jpg"
  257.                         alt="Header Avatar">
  258.                     <span class="d-none d-xl-inline-block ms-1 fw-medium">{% trans %}Shawn L{% endtrans %}</span>
  259.                     <i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i>
  260.                 </button>
  261.                 <div class="dropdown-menu dropdown-menu-end">
  262.                     <!-- item-->
  263.                     <a class="dropdown-item" href="apps-contacts-profile"><i class="mdi mdi-face-profile font-size-16 align-middle me-1"></i> {% trans %}Profile{% endtrans %}</a>
  264.                     <a class="dropdown-item" href="auth-lock-screen"><i class="mdi mdi-lock font-size-16 align-middle me-1"></i> {% trans %}Lock Screen{% endtrans %}</a>
  265.                     <div class="dropdown-divider"></div>
  266.                     <a class="dropdown-item" href="auth-logout"><i class="mdi mdi-logout font-size-16 align-middle me-1"></i> {% trans %}Logout{% endtrans %}</a>
  267.                 </div>
  268.             </div>
  269.         </div>
  270.     </div>
  271. </header>