xt-gray-400"></i>&nbsp;Logout</a>
                </div>
              </div>
            {% endif %}
          </li>
        </ul>
      </div>
    </nav>
    <!--  Navigation panel ends   -->
    <script src="{{ url_for('static', filename='assets/js/dark-mode.js') }}"></script>
    <script>
  var isMobile = false; //initiate as false
  // device detection
  if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge 