src/views/admin/layout/_aside.twig line 1

Open in your IDE?
  1. <aside class="aside">
  2.   <div class="upper">
  3.     <div class="aside__logo">
  4.       <img class="aside__logo--img" src="{{ asset('images/logo.png') }}" alt="PFI" />
  5.     </div>
  6.     <ul class="nav">
  7.       <li class="nav__li">
  8.         <a class="nav__a" href="{{ path('admin_dashboard') }}">
  9.           <i class="ri-dashboard-fill nav__a--i"></i>
  10.           <span class="nav__a--span">Dashboard</span>
  11.         </a>
  12.       </li>
  13.       <li class="nav__li">
  14.         <a class="nav__a" href="{{ path('admin_updates') }}">
  15.           <i class="ri-newspaper-fill nav__a--i"></i>
  16.           <span class="nav__a--span">Updates</span>
  17.         </a>
  18.       </li>
  19.       <li class="nav__li">
  20.         <a class="nav__a" href="{{ path('admin_nfhs') }}">
  21.           <i class="ri-bubble-chart-fill nav__a--i"></i>
  22.           <span class="nav__a--span">NFHS</span>
  23.         </a>
  24.       </li>
  25.       
  26.       <li class="nav__li">
  27.         <a class="nav__a" href="{{ path('admin_gptsearch') }}">
  28.           <i class="fa fa-robot icon nav__a--i" style="font-size: 14px;"></i>
  29.           <span class="nav__a--span">GPT Search</span>
  30.         </a>
  31.       </li>
  32.       
  33.        <li class="nav__li">
  34.         <a class="nav__a" href="{{ path('admin_create') }}">
  35.           <i class="fa fa-area-chart nav__a--i"></i>
  36.           <span class="nav__a--span">District</span>
  37.         </a>
  38.       </li>
  39.       <li class="nav__li">
  40.         <a class="nav__a" href="{{ path('admin_banner') }}">
  41.           <i class="fa-solid fa-image nav__a--i"></i>
  42.           <span class="nav__a--span">Banners</span>
  43.         </a>
  44.       </li>
  45.       
  46.       <li class="nav__li">
  47.         <a class="nav__a" href="{{ path('admin_buckets') }}">
  48.           <i class="ri-empathize-fill nav__a--i"></i>
  49.           <span class="nav__a--span">Buckets</span>
  50.         </a>
  51.       </li>
  52.       <li class="nav__li">
  53.         <a class="nav__a" href="{{ path('admin_contact') }}">
  54.           <i class="ri-contacts-book-fill nav__a--i"></i>
  55.           <span class="nav__a--span">Contacts</span>
  56.         </a>
  57.       </li>
  58.       <li class="nav__li">
  59.         <a class="nav__a" href="{{ path('admin_info') }}">
  60.           <i class="ri-profile-fill nav__a--i"></i>
  61.           <span class="nav__a--span">Info</span>
  62.         </a>
  63.       </li>
  64.     </ul>
  65.   </div>
  66.   <div class="bottom">
  67.     <ul class="nav">
  68.       <li class="nav__li">
  69.         <div class="locale locale--admin">
  70.           {% if app.request.locale == 'en' %}
  71.             <div class="locale--group">
  72.               <input class="locale--input" id="enLocale" type="radio" name="locale" value="en" checked />
  73.               <label class="locale--label" for="enLocale">{{ 'english'|trans }}</label>
  74.             </div>
  75.             <div class="locale--group">
  76.               <input class="locale--input" id="hiLocale" type="radio" name="locale" value="hi" />
  77.               <label class="locale--label" for="hiLocale">{{ 'hindi'|trans }}</label>
  78.             </div>
  79.           {% else %}
  80.             <div class="locale--group">
  81.               <input class="locale--input" id="enLocale" type="radio" name="locale" value="en" />
  82.               <label class="locale--label" for="enLocale">{{ 'english'|trans }}</label>
  83.             </div>
  84.             <div class="locale--group">
  85.               <input class="locale--input" id="hiLocale" type="radio" name="locale" value="hi" checked />
  86.               <label class="locale--label" for="hiLocale">{{ 'hindi'|trans }}</label>
  87.             </div>
  88.           {% endif %}
  89.         </div>
  90.       </li>
  91.       <li class="nav__li">
  92.         <a class="nav__a" href="{{ path('admin_logout') }}">
  93.           <i class="ri-logout-circle-r-fill nav__a--i"></i>
  94.           <span class="nav__a--span">Logout</span>
  95.         </a>
  96.       </li>
  97.     </ul>
  98.   </div>
  99. </aside>