templates/rama-top-menu.html.twig line 1

Open in your IDE?
  1. <!--  BEGIN NAVBAR  -->
  2. <div class="header-container container-xxl">
  3.     <header class="header navbar navbar-expand-sm expand-header">
  4.         <a href="javascript:void(0);" class="sidebarCollapse">
  5.             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
  6.         </a>
  7.         <div class="search-animated toggle-search">
  8.             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
  9.             <form class="form-inline search-full form-inline search" role="search" action='{{ path("domain-search") }}'>
  10.                 <div class="search-bar">
  11.                     <input name="domena" type="text" class="form-control search-form-control ml-lg-auto" placeholder="Znajdź domenę...">
  12.                         <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x search-close"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  13.                 </div>
  14.             </form>
  15.             <span class="badge badge-secondary">Ctrl + /</span>
  16.         </div>
  17.         <ul class="navbar-item flex-row ms-lg-auto ms-0">
  18.             <!--<li class="nav-item dropdown language-dropdown">
  19.                 <a href="javascript:void(0);" class="nav-link dropdown-toggle" id="language-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  20.                     <img src="{{ asset("src/assets/img/1x1/us.svg") }}" class="flag-width" alt="flag">
  21.                 </a>
  22.                 <div class="dropdown-menu position-absolute" aria-labelledby="language-dropdown">
  23.                     <a class="dropdown-item d-flex" href="javascript:void(0);"><img src="{{ asset ("src/assets/img/1x1/us.svg") }}" class="flag-width" alt="flag"> <span class="align-self-center">&nbsp;USA</span></a>
  24.                     <a class="dropdown-item d-flex" href="javascript:void(0);"><img src="{{ asset ("src/assets/img/1x1/tr.svg") }}" class="flag-width" alt="flag"> <span class="align-self-center">&nbsp;Turkey</span></a>
  25.                     <a class="dropdown-item d-flex" href="javascript:void(0);"><img src="{{ asset ("src/assets/img/1x1/br.svg") }}" class="flag-width" alt="flag"> <span class="align-self-center">&nbsp;Brazil</span></a>
  26.                     <a class="dropdown-item d-flex" href="javascript:void(0);"><img src="{{ asset ("src/assets/img/1x1/in.svg") }}" class="flag-width" alt="flag"> <span class="align-self-center">&nbsp;India</span></a>
  27.                     <a class="dropdown-item d-flex" href="javascript:void(0);"><img src="{{ asset ("src/assets/img/1x1/de.svg") }}" class="flag-width" alt="flag"> <span class="align-self-center">&nbsp;Germany</span></a>
  28.                 </div>
  29.             </li>-->
  30.             <li class="nav-item">
  31.                 <a href="{{ path("cart") }}" class="nav-link dropdown-toggle position-relative" id="notificationDropdown" aria-haspopup="true" aria-expanded="false">
  32.                     <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shopping-cart"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>
  33.                     <span class="badge badge-success counter" id="cart-small-counter">{% if koszyk is defined %}{% if koszyk is not null %}{{ koszyk.pozycja|length }}{% else %}0{% endif %}{% else %}0{% endif %}</span>
  34.                 </a>
  35.             </li>
  36.             <li class="nav-item theme-toggle-item">
  37.                 <a href="javascript:void(0);" class="nav-link theme-toggle">
  38.                     <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon dark-mode"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  39.                     <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun light-mode"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  40.                 </a>
  41.             </li>
  42.             {% if app.user is not null %}
  43.                 <li class="nav-item dropdown notification-dropdown">
  44.                     <a href="javascript:void(0);" class="nav-link dropdown-toggle" id="notificationDropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  45.                         <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg><span class="badge badge-success"></span>
  46.                     </a>
  47.                     <div class="dropdown-menu position-absolute" aria-labelledby="notificationDropdown">
  48.                         <div class="drodpown-title message">
  49.                             <h6 class="d-flex justify-content-between"><span class="align-self-center">Powiadomienia</span> <span class="badge badge-primary">9 Nowych</span></h6>
  50.                         </div>
  51.                         <div class="notification-scroll">
  52.                             <div class="dropdown-item">
  53.                                 <div class="media server-log">
  54.                                     <img src="{{ asset ("src/assets/img/profile-16.jpeg") }}" class="img-fluid me-2" alt="avatar">
  55.                                         <div class="media-body">
  56.                                             <div class="data-info">
  57.                                                 <h6 class="">Kara Young</h6>
  58.                                                 <p class="">1 hr ago</p>
  59.                                             </div>
  60.                                             <div class="icon-status">
  61.                                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  62.                                             </div>
  63.                                         </div>
  64.                                 </div>
  65.                             </div>
  66.                             <div class="dropdown-item">
  67.                                 <div class="media ">
  68.                                     <img src="{{ asset ("src/assets/img/profile-15.jpeg") }}" class="img-fluid me-2" alt="avatar">
  69.                                         <div class="media-body">
  70.                                             <div class="data-info">
  71.                                                 <h6 class="">Daisy Anderson</h6>
  72.                                                 <p class="">8 hrs ago</p>
  73.                                             </div>
  74.                                             <div class="icon-status">
  75.                                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  76.                                             </div>
  77.                                         </div>
  78.                                 </div>
  79.                             </div>
  80.                             <div class="dropdown-item">
  81.                                 <div class="media file-upload">
  82.                                     <img src="{{ asset ("src/assets/img/profile-21.jpeg") }}" class="img-fluid me-2" alt="avatar">
  83.                                         <div class="media-body">
  84.                                             <div class="data-info">
  85.                                                 <h6 class="">Oscar Garner</h6>
  86.                                                 <p class="">14 hrs ago</p>
  87.                                             </div>
  88.                                             <div class="icon-status">
  89.                                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  90.                                             </div>
  91.                                         </div>
  92.                                 </div>
  93.                             </div>
  94.                             <div class="drodpown-title notification mt-2">
  95.                                 <h6 class="d-flex justify-content-between"><span class="align-self-center">Notifications</span> <span class="badge badge-secondary">16 New</span></h6>
  96.                             </div>
  97.                             <div class="dropdown-item">
  98.                                 <div class="media server-log">
  99.                                     <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-server"><rect x="2" y="2" width="20" height="8" rx="2" ry="2"></rect><rect x="2" y="14" width="20" height="8" rx="2" ry="2"></rect><line x1="6" y1="6" x2="6" y2="6"></line><line x1="6" y1="18" x2="6" y2="18"></line></svg>
  100.                                     <div class="media-body">
  101.                                         <div class="data-info">
  102.                                             <h6 class="">Server Rebooted</h6>
  103.                                             <p class="">45 min ago</p>
  104.                                         </div>
  105.                                         <div class="icon-status">
  106.                                             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  107.                                         </div>
  108.                                     </div>
  109.                                 </div>
  110.                             </div>
  111.                             <div class="dropdown-item">
  112.                                 <div class="media file-upload">
  113.                                     <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
  114.                                     <div class="media-body">
  115.                                         <div class="data-info">
  116.                                             <h6 class="">Kelly Portfolio.pdf</h6>
  117.                                             <p class="">670 kb</p>
  118.                                         </div>
  119.                                         <div class="icon-status">
  120.                                             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  121.                                         </div>
  122.                                     </div>
  123.                                 </div>
  124.                             </div>
  125.                             <div class="dropdown-item">
  126.                                 <div class="media ">
  127.                                     <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>
  128.                                     <div class="media-body">
  129.                                         <div class="data-info">
  130.                                             <h6 class="">Licence Expiring Soon</h6>
  131.                                             <p class="">8 hrs ago</p>
  132.                                         </div>
  133.                                         <div class="icon-status">
  134.                                             <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  135.                                         </div>
  136.                                     </div>
  137.                                 </div>
  138.                             </div>
  139.                         </div>
  140.                     </div>
  141.                 </li>
  142.                 <li class="nav-item dropdown user-profile-dropdown  order-lg-0 order-1">
  143.                     <a href="javascript:void(0);" class="nav-link dropdown-toggle user" id="userProfileDropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  144.                         <div class="avatar-container">
  145.                             <div class="avatar avatar-sm">
  146.                                 <img alt="avatar" src="{{ asset ("src/assets/img/profile-30.png") }}" class="rounded-circle">
  147.                             </div>
  148.                         </div>
  149.                     </a>
  150.                     <div class="dropdown-menu position-absolute" aria-labelledby="userProfileDropdown">
  151.                         <div class="user-profile-section">
  152.                             <div class="media mx-auto">
  153.                                 <div class="media-body">
  154.                                     <h5>{{ app.user.nazwa }}</h5>
  155.                                     {% if "ROLE_ADMIN" in app.user.roles %}
  156.                                         <p>Administrator</p>
  157.                                     {% else %}
  158.                                         <p>Klient</p>
  159.                                     {% endif %}
  160.                                 </div>
  161.                             </div>
  162.                         </div>
  163.                         <div class="dropdown-item">
  164.                             <a href="{{ path ("my-profile") }}">
  165.                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg> <span>Mój profil</span>
  166.                             </a>
  167.                         </div>
  168.                         <div class="dropdown-item">
  169.                             <a href="{{ path ("my-domains") }}">
  170.                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>
  171.                                 <span>Moje domeny</span>
  172.                             </a>
  173.                         </div>
  174.                         <div class="dropdown-item">
  175.                             <a href="{{ path ("my-documents") }}">
  176.                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
  177.                                 <span>Moje dokumenty</span>
  178.                             </a>
  179.                         </div>
  180.                         <div class="dropdown-item">
  181.                             <a href="{{ path("app_logout") }}">
  182.                                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-out"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg> <span>Wyloguj</span>
  183.                             </a>
  184.                         </div>
  185.                     </div>
  186.                 </li>
  187.             {% endif %}
  188.         </ul>
  189.     </header>
  190. </div>
  191. <!--  END NAVBAR  -->