| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>FAQ | AdminLTE 4</title>
- <!--begin::Accessibility Meta Tags-->
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
- <meta name="color-scheme" content="light dark" />
- <meta name="theme-color" content="#007bff" media="(prefers-color-scheme: light)" />
- <meta name="theme-color" content="#1a1a1a" media="(prefers-color-scheme: dark)" />
- <!--end::Accessibility Meta Tags-->
- <!--begin::Primary Meta Tags-->
- <meta name="title" content="FAQ | AdminLTE 4" />
- <meta name="author" content="ColorlibHQ" />
- <meta
- name="description"
- content="AdminLTE is a Free Bootstrap 5 Admin Dashboard, 30 example pages using Vanilla JS. Fully accessible with WCAG 2.1 AA compliance."
- />
- <meta
- name="keywords"
- content="bootstrap 5, bootstrap, bootstrap 5 admin dashboard, bootstrap 5 dashboard, bootstrap 5 charts, bootstrap 5 calendar, bootstrap 5 datepicker, bootstrap 5 tables, bootstrap 5 datatable, vanilla js datatable, colorlibhq, colorlibhq dashboard, colorlibhq admin dashboard, accessible admin panel, WCAG compliant"
- />
- <!--end::Primary Meta Tags-->
- <!--begin::Accessibility Features-->
- <!-- Skip links will be dynamically added by accessibility.js -->
- <meta name="supported-color-schemes" content="light dark" />
- <link rel="preload" href="../css/adminlte.css" as="style" />
- <!--end::Accessibility Features-->
- <!--begin::Fonts-->
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/@fontsource/source-sans-3@5.0.12/index.css"
- integrity="sha256-tXJfXfp6Ewt1ilPzLDtQnJV4hclT9XuaZUKyUvmyr+Q="
- crossorigin="anonymous"
- media="print"
- onload="this.media = 'all'"
- />
- <!--end::Fonts-->
- <!--begin::Third Party Plugin(OverlayScrollbars)-->
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.11.0/styles/overlayscrollbars.min.css"
- crossorigin="anonymous"
- />
- <!--end::Third Party Plugin(OverlayScrollbars)-->
- <!--begin::Third Party Plugin(Bootstrap Icons)-->
- <link
- rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css"
- crossorigin="anonymous"
- />
- <!--end::Third Party Plugin(Bootstrap Icons)-->
- <!--begin::Required Plugin(AdminLTE)-->
- <link rel="stylesheet" href="../css/adminlte.css" />
- <!--end::Required Plugin(AdminLTE)-->
- </head>
- <body class="layout-fixed sidebar-expand-lg bg-body-tertiary docs-page faq-page">
- <div class="app-wrapper">
- <!--begin::Header-->
- <nav class="app-header navbar navbar-expand bg-body">
- <!--begin::Container-->
- <div class="container-fluid">
- <!--begin::Start Navbar Links-->
- <ul class="navbar-nav">
- <li class="nav-item">
- <a class="nav-link" data-lte-toggle="sidebar" href="#" role="button">
- <i class="bi bi-list"></i>
- </a>
- </li>
- <li class="nav-item d-none d-md-block">
- <a href="../docs/introduction.html" class="nav-link">
- <i class="bi bi-book me-1" aria-hidden="true"></i>
- Documentation
- </a>
- </li>
- <li class="nav-item d-none d-md-block">
- <a href="../index.html" class="nav-link">
- <i class="bi bi-arrow-left me-1" aria-hidden="true"></i>
- Back to live preview
- </a>
- </li>
- </ul>
- <!--end::Start Navbar Links-->
- <!--begin::End Navbar Links-->
- <ul class="navbar-nav ms-auto">
- <!--begin::Navbar Search-->
- <li class="nav-item">
- <a class="nav-link" data-widget="navbar-search" href="#" role="button">
- <i class="bi bi-search"></i>
- </a>
- </li>
- <!--end::Navbar Search-->
- <!--begin::Messages Dropdown Menu-->
- <li class="nav-item dropdown">
- <a class="nav-link" data-bs-toggle="dropdown" href="#">
- <i class="bi bi-chat-text"></i>
- <span class="navbar-badge badge text-bg-danger">3</span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
- <a href="#" class="dropdown-item">
- <!--begin::Message-->
- <div class="d-flex">
- <div class="flex-shrink-0">
- <img
- src="../assets/img/user1-128x128.jpg"
- alt="User Avatar"
- class="img-size-50 rounded-circle me-3"
- />
- </div>
- <div class="flex-grow-1">
- <h3 class="dropdown-item-title">
- Brad Diesel
- <span class="float-end fs-7 text-danger"
- ><i class="bi bi-star-fill"></i
- ></span>
- </h3>
- <p class="fs-7">Call me whenever you can...</p>
- <p class="fs-7 text-secondary">
- <i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
- </p>
- </div>
- </div>
- <!--end::Message-->
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <!--begin::Message-->
- <div class="d-flex">
- <div class="flex-shrink-0">
- <img
- src="../assets/img/user8-128x128.jpg"
- alt="User Avatar"
- class="img-size-50 rounded-circle me-3"
- />
- </div>
- <div class="flex-grow-1">
- <h3 class="dropdown-item-title">
- John Pierce
- <span class="float-end fs-7 text-secondary">
- <i class="bi bi-star-fill"></i>
- </span>
- </h3>
- <p class="fs-7">I got your message bro</p>
- <p class="fs-7 text-secondary">
- <i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
- </p>
- </div>
- </div>
- <!--end::Message-->
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <!--begin::Message-->
- <div class="d-flex">
- <div class="flex-shrink-0">
- <img
- src="../assets/img/user3-128x128.jpg"
- alt="User Avatar"
- class="img-size-50 rounded-circle me-3"
- />
- </div>
- <div class="flex-grow-1">
- <h3 class="dropdown-item-title">
- Nora Silvester
- <span class="float-end fs-7 text-warning">
- <i class="bi bi-star-fill"></i>
- </span>
- </h3>
- <p class="fs-7">The subject goes here</p>
- <p class="fs-7 text-secondary">
- <i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
- </p>
- </div>
- </div>
- <!--end::Message-->
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
- </div>
- </li>
- <!--end::Messages Dropdown Menu-->
- <!--begin::Notifications Dropdown Menu-->
- <li class="nav-item dropdown">
- <a class="nav-link" data-bs-toggle="dropdown" href="#">
- <i class="bi bi-bell-fill"></i>
- <span class="navbar-badge badge text-bg-warning">15</span>
- </a>
- <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
- <span class="dropdown-item dropdown-header">15 Notifications</span>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <i class="bi bi-envelope me-2"></i> 4 new messages
- <span class="float-end text-secondary fs-7">3 mins</span>
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <i class="bi bi-people-fill me-2"></i> 8 friend requests
- <span class="float-end text-secondary fs-7">12 hours</span>
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item">
- <i class="bi bi-file-earmark-fill me-2"></i> 3 new reports
- <span class="float-end text-secondary fs-7">2 days</span>
- </a>
- <div class="dropdown-divider"></div>
- <a href="#" class="dropdown-item dropdown-footer"> See All Notifications </a>
- </div>
- </li>
- <!--end::Notifications Dropdown Menu-->
- <!--begin::Fullscreen Toggle-->
- <li class="nav-item">
- <a class="nav-link" href="#" data-lte-toggle="fullscreen">
- <i data-lte-icon="maximize" class="bi bi-arrows-fullscreen"></i>
- <i data-lte-icon="minimize" class="bi bi-fullscreen-exit d-none"></i>
- </a>
- </li>
- <!--end::Fullscreen Toggle-->
- <!--begin::Color Mode Toggle (#6010)-->
- <li class="nav-item dropdown">
- <a
- class="nav-link"
- href="#"
- id="bd-theme"
- aria-label="Toggle color scheme"
- data-bs-toggle="dropdown"
- aria-expanded="false"
- >
- <i class="bi bi-sun-fill" data-lte-theme-icon="light"></i>
- <i class="bi bi-moon-fill d-none" data-lte-theme-icon="dark"></i>
- <i class="bi bi-circle-half d-none" data-lte-theme-icon="auto"></i>
- </a>
- <ul
- class="dropdown-menu dropdown-menu-end"
- aria-labelledby="bd-theme"
- style="--bs-dropdown-min-width: 8rem"
- >
- <li>
- <button
- type="button"
- class="dropdown-item d-flex align-items-center"
- data-bs-theme-value="light"
- aria-pressed="false"
- >
- <i class="bi bi-sun-fill me-2"></i>
- Light
- <i class="bi bi-check-lg ms-auto d-none"></i>
- </button>
- </li>
- <li>
- <button
- type="button"
- class="dropdown-item d-flex align-items-center"
- data-bs-theme-value="dark"
- aria-pressed="false"
- >
- <i class="bi bi-moon-fill me-2"></i>
- Dark
- <i class="bi bi-check-lg ms-auto d-none"></i>
- </button>
- </li>
- <li>
- <button
- type="button"
- class="dropdown-item d-flex align-items-center active"
- data-bs-theme-value="auto"
- aria-pressed="true"
- >
- <i class="bi bi-circle-half me-2"></i>
- Auto
- <i class="bi bi-check-lg ms-auto d-none"></i>
- </button>
- </li>
- </ul>
- </li>
- <!--end::Color Mode Toggle-->
- <!--begin::User Menu Dropdown-->
- <li class="nav-item dropdown user-menu">
- <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">
- <img
- src="../assets/img/user2-160x160.jpg"
- class="user-image rounded-circle shadow"
- alt="User Image"
- />
- <span class="d-none d-md-inline">Alexander Pierce</span>
- </a>
- <ul class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
- <!--begin::User Image-->
- <li class="user-header text-bg-primary">
- <img
- src="../assets/img/user2-160x160.jpg"
- class="rounded-circle shadow"
- alt="User Image"
- />
- <p>
- Alexander Pierce - Web Developer
- <small>Member since Nov. 2023</small>
- </p>
- </li>
- <!--end::User Image-->
- <!--begin::Menu Body-->
- <li class="user-body">
- <!--begin::Row-->
- <div class="row">
- <div class="col-4 text-center">
- <a href="#">Followers</a>
- </div>
- <div class="col-4 text-center">
- <a href="#">Sales</a>
- </div>
- <div class="col-4 text-center">
- <a href="#">Friends</a>
- </div>
- </div>
- <!--end::Row-->
- </li>
- <!--end::Menu Body-->
- <!--begin::Menu Footer-->
- <li class="user-footer">
- <a href="#" class="btn btn-outline-secondary">Profile</a>
- <a href="#" class="btn btn-outline-danger float-end">Sign out</a>
- </li>
- <!--end::Menu Footer-->
- </ul>
- </li>
- <!--end::User Menu Dropdown-->
- </ul>
- <!--end::End Navbar Links-->
- </div>
- <!--end::Container-->
- </nav>
- <!--end::Header-->
- <!--begin::Sidebar (docs mode)-->
- <aside class="app-sidebar bg-body-secondary shadow" data-bs-theme="dark">
- <!--begin::Sidebar Brand-->
- <div class="sidebar-brand">
- <a href="../docs/introduction.html" class="brand-link">
- <img
- src="../assets/img/AdminLTELogo.png"
- alt="AdminLTE Logo"
- class="brand-image opacity-75 shadow"
- />
- <span class="brand-text fw-light">
- AdminLTE 4 <span class="opacity-75">· Docs</span>
- </span>
- </a>
- </div>
- <!--end::Sidebar Brand-->
- <!--begin::Sidebar Wrapper-->
- <div class="sidebar-wrapper">
- <nav class="mt-2" aria-label="Documentation navigation">
- <!--begin::Sidebar Menu-->
- <ul
- class="nav sidebar-menu flex-column"
- data-lte-toggle="treeview"
- data-accordion="false"
- id="docs-navigation"
- >
- <li class="nav-header">START HERE</li>
- <li class="nav-item">
- <a href="../docs/introduction.html" class="nav-link">
- <i class="nav-icon bi bi-download"></i>
- <p>Installation</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/getting-started.html" class="nav-link">
- <i class="nav-icon bi bi-rocket-takeoff"></i>
- <p>Getting Started</p>
- </a>
- </li>
- <li class="nav-header">FOUNDATIONS</li>
- <li class="nav-item">
- <a href="../docs/layout.html" class="nav-link">
- <i class="nav-icon bi bi-grip-horizontal"></i>
- <p>Layout Classes</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/layout-blueprint.html" class="nav-link">
- <i class="nav-icon bi bi-diagram-3"></i>
- <p>Layout Blueprint</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/customization.html" class="nav-link">
- <i class="nav-icon bi bi-palette"></i>
- <p>Customization</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/color-mode.html" class="nav-link">
- <i class="nav-icon bi bi-star-half"></i>
- <p>Color Mode</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/rtl.html" class="nav-link">
- <i class="nav-icon bi bi-text-paragraph"></i>
- <p>RTL Support</p>
- </a>
- </li>
- <li class="nav-header">BUILDING</li>
- <li class="nav-item">
- <a href="../docs/recipes.html" class="nav-link">
- <i class="nav-icon bi bi-clipboard-check"></i>
- <p>Recipes</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="#" class="nav-link">
- <i class="nav-icon bi bi-ui-checks-grid"></i>
- <p>
- Components
- <i class="nav-arrow bi bi-chevron-right"></i>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="../docs/components/main-header.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Main Header</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/components/main-sidebar.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Main Sidebar</p>
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="#" class="nav-link">
- <i class="nav-icon bi bi-filetype-js"></i>
- <p>
- JavaScript Plugins
- <i class="nav-arrow bi bi-chevron-right"></i>
- </p>
- </a>
- <ul class="nav nav-treeview">
- <li class="nav-item">
- <a href="../docs/javascript/plugins-overview.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Overview</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/layout.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Layout</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/pushmenu.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>PushMenu</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/treeview.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Treeview</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/card-widget.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Card Widget</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/direct-chat.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Direct Chat</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/fullscreen.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Fullscreen</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/javascript/accessibility.html" class="nav-link">
- <i class="nav-icon bi bi-circle"></i>
- <p>Accessibility</p>
- </a>
- </li>
- </ul>
- </li>
- <li class="nav-item">
- <a href="../docs/integrations.html" class="nav-link">
- <i class="nav-icon bi bi-puzzle"></i>
- <p>Integrations</p>
- </a>
- </li>
- <li class="nav-header">SHIPPING</li>
- <li class="nav-item">
- <a href="../docs/migration.html" class="nav-link">
- <i class="nav-icon bi bi-arrow-up-right-square"></i>
- <p>Migration from v3</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/deployment.html" class="nav-link">
- <i class="nav-icon bi bi-cloud-upload"></i>
- <p>Deployment</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/browser-support.html" class="nav-link">
- <i class="nav-icon bi bi-browser-chrome"></i>
- <p>Browser Support</p>
- </a>
- </li>
- <li class="nav-header">RESOURCES</li>
- <li class="nav-item">
- <a href="../docs/faq.html" class="nav-link active">
- <i class="nav-icon bi bi-question-circle"></i>
- <p>FAQ</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/how-to-contribute.html" class="nav-link">
- <i class="nav-icon bi bi-people"></i>
- <p>Contributing</p>
- </a>
- </li>
- <li class="nav-item">
- <a href="../docs/license.html" class="nav-link">
- <i class="nav-icon bi bi-patch-check"></i>
- <p>License</p>
- </a>
- </li>
- <li class="nav-item">
- <a
- href="https://github.com/ColorlibHQ/AdminLTE"
- target="_blank"
- rel="noopener"
- class="nav-link"
- >
- <i class="nav-icon bi bi-github"></i>
- <p>
- GitHub
- <i class="bi bi-box-arrow-up-right ms-1" aria-hidden="true"></i>
- </p>
- </a>
- </li>
- </ul>
- <!--end::Sidebar Menu-->
- <!-- Back to preview CTA (bottom of sidebar) -->
- <div class="p-3 mt-3 border-top border-secondary border-opacity-25">
- <a
- href="../index.html"
- class="btn btn-sm btn-outline-light w-100 d-flex align-items-center justify-content-center gap-2"
- >
- <i class="bi bi-arrow-left" aria-hidden="true"></i>
- Back to live preview
- </a>
- </div>
- </nav>
- </div>
- <!--end::Sidebar Wrapper-->
- </aside>
- <!--end::Sidebar (docs mode)-->
- <main class="app-main">
- <div class="app-content-header">
- <div class="container-fluid">
- <div class="row">
- <div class="col-sm-6">
- <h3 class="mb-0">FAQ</h3>
- </div>
- <div class="col-sm-6">
- <ol class="breadcrumb float-sm-end">
- <li class="breadcrumb-item"><a href="#">Docs</a></li>
- <li class="breadcrumb-item active" aria-current="page">FAQ</li>
- </ol>
- </div>
- </div>
- </div>
- </div>
- <div class="app-content">
- <div class="container-fluid">
- <!-- Hero -->
- <section class="faq-hero text-center mb-4">
- <span class="faq-hero-eyebrow">
- <i class="bi bi-patch-question-fill" aria-hidden="true"></i>
- Frequently Asked Questions
- </span>
- <h1 class="faq-hero-title">How can we help?</h1>
- <p class="faq-hero-lead">
- Quick answers to the 21 questions we get asked most often. Use the search to jump to
- anything, or click a topic below.
- </p>
- <form class="faq-search" role="search" onsubmit="return false;">
- <i class="bi bi-search faq-search-icon" aria-hidden="true"></i>
- <input
- type="search"
- id="faq-search-input"
- class="form-control form-control-lg"
- placeholder="Search the FAQ…"
- aria-label="Search the FAQ"
- autocomplete="off"
- />
- <button
- type="button"
- class="faq-search-clear d-none"
- id="faq-search-clear"
- aria-label="Clear search"
- >
- <i class="bi bi-x-lg" aria-hidden="true"></i>
- </button>
- </form>
- <p class="faq-empty-state d-none" id="faq-empty-state">
- <i class="bi bi-emoji-frown" aria-hidden="true"></i>
- No questions match your search. Try a different keyword or
- <a
- href="https://github.com/ColorlibHQ/AdminLTE/discussions"
- target="_blank"
- rel="noopener"
- >open a Discussion</a
- >.
- </p>
- </section>
- <!-- Section nav chips -->
- <nav class="faq-chips mb-4" aria-label="FAQ sections">
- <a href="#getting-started" class="faq-chip faq-chip-primary">
- <i class="bi bi-rocket-takeoff" aria-hidden="true"></i>
- <span>Getting started</span>
- <span class="faq-chip-count">4</span> </a
- ><a href="#framework-integrations" class="faq-chip faq-chip-info">
- <i class="bi bi-puzzle" aria-hidden="true"></i>
- <span>Framework integrations</span>
- <span class="faq-chip-count">3</span> </a
- ><a href="#customization" class="faq-chip faq-chip-warning">
- <i class="bi bi-palette" aria-hidden="true"></i>
- <span>Customization</span>
- <span class="faq-chip-count">3</span> </a
- ><a href="#versions" class="faq-chip faq-chip-success">
- <i class="bi bi-arrow-clockwise" aria-hidden="true"></i>
- <span>Versions and updates</span>
- <span class="faq-chip-count">3</span> </a
- ><a href="#licensing" class="faq-chip faq-chip-secondary">
- <i class="bi bi-shield-check" aria-hidden="true"></i>
- <span>Licensing</span>
- <span class="faq-chip-count">3</span> </a
- ><a href="#troubleshooting" class="faq-chip faq-chip-danger">
- <i class="bi bi-wrench-adjustable" aria-hidden="true"></i>
- <span>Troubleshooting</span>
- <span class="faq-chip-count">5</span>
- </a>
- </nav>
- <!-- Sections -->
- <div class="faq-sections">
- <section id="getting-started" class="faq-section" data-faq-section>
- <header class="faq-section-header faq-section-primary">
- <span class="faq-section-icon">
- <i class="bi bi-rocket-takeoff" aria-hidden="true"></i>
- </span>
- <div>
- <h2 class="faq-section-title">Getting started</h2>
- <p class="faq-section-count">4 questions</p>
- </div>
- </header>
- <div class="faq-section-items">
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">What is AdminLTE, exactly?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- A free, MIT-licensed admin dashboard <em>template</em>. It's a set of HTML,
- CSS, and JavaScript files built on top of Bootstrap 5.3 — not a framework, not
- an npm component library. You drop it into your project, modify the markup to
- suit your app, and ship.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Do I need a build step to use it?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- No. The <a href="getting-started.html">Getting Started</a> guide shows the
- CDN-only approach — copy four <code><link></code> tags and four
- <code><script></code> tags into your HTML and you're done. The npm-based
- workflow is there if you want to customise SCSS variables or tree-shake the
- JavaScript.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Which Bootstrap version does v4 require?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Bootstrap 5.3.x. The current <code>package.json</code> pins 5.3.8 — older 5.3
- minors should work but aren't tested. Bootstrap 5.0 / 5.1 / 5.2 will not work
- (the color-mode and <code>data-bs-theme</code> system landed in 5.3).
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Can I use AdminLTE 4 with jQuery?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- You don't <em>need</em> jQuery — AdminLTE 4's JavaScript is vanilla. If your
- existing app already uses jQuery, it'll coexist fine. But none of AdminLTE 4's
- own plugins call into jQuery, and there are no <code>$.fn.xxx()</code> plugin
- shims.
- </div>
- </details>
- </div>
- </section>
- <section id="framework-integrations" class="faq-section" data-faq-section>
- <header class="faq-section-header faq-section-info">
- <span class="faq-section-icon">
- <i class="bi bi-puzzle" aria-hidden="true"></i>
- </span>
- <div>
- <h2 class="faq-section-title">Framework integrations</h2>
- <p class="faq-section-count">3 questions</p>
- </div>
- </header>
- <div class="faq-section-items">
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Can AdminLTE be used with WordPress?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Yes — it's just HTML/CSS/JS. The typical path is to build a custom WordPress
- theme that wraps AdminLTE's markup around <code>wp_head()</code>,
- <code>wp_footer()</code>, and WordPress's loops. AdminLTE doesn't ship a
- WordPress-specific build; the work of porting nav-walker classes and
- authentication forms is yours.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Laravel? Symfony? Yii? Django? Rails?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- All workable. AdminLTE is a server-rendered template — copy the demo pages
- into your views/templates, replace static content with your framework's
- template variables, and wire up routes/auth as usual. Community
- Composer/Packagist packages exist for Laravel and Symfony, though they
- typically lag the upstream version — verify they ship v4 before you depend on
- them.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">React, Vue, Svelte, Angular?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- <p>
- Workable but less natural. AdminLTE's JavaScript plugins use DOM lifecycle
- hooks (<code>DOMContentLoaded</code>, MutationObserver patterns) which fight
- with framework reconciliation. If you're using a SPA framework, consider:
- </p>
- <ul>
- <li>
- Using AdminLTE <em>only</em> for CSS — keep the visual style, but write
- your own React/Vue components for the interactive parts.
- </li>
- <li>
- Or pick a component library built for your framework (PrimeReact, Vuetify,
- etc.).
- </li>
- </ul>
- <p class="mb-0">
- We don't recommend wrapping AdminLTE's jQuery-era plugins in SPA framework
- components — it's a maintenance burden that outweighs the visual win.
- </p>
- </div>
- </details>
- </div>
- </section>
- <section id="customization" class="faq-section" data-faq-section>
- <header class="faq-section-header faq-section-warning">
- <span class="faq-section-icon">
- <i class="bi bi-palette" aria-hidden="true"></i>
- </span>
- <div>
- <h2 class="faq-section-title">Customization</h2>
- <p class="faq-section-count">3 questions</p>
- </div>
- </header>
- <div class="faq-section-items">
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">How do I change the primary colour?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- <p>
- Override <code>--bs-primary</code> (and its RGB counterpart) on
- <code>:root</code>:
- </p>
- <pre class="astro-code"><code>:root {
- --bs-primary: #6610f2;
- --bs-primary-rgb: 102, 16, 242;
- }</code></pre>
- <p class="mb-0">
- For deeper control (sidebar width, breakpoints, spacing scale), see
- <a href="customization.html">Customization & Theming</a>.
- </p>
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text"
- >How do I add a date picker / multi-select / rich text editor?</span
- >
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- AdminLTE deliberately doesn't bundle these — they'd bloat the framework. The
- <a href="integrations.html">Recommended Integrations</a> page lists
- best-in-class third-party libraries (Flatpickr, Tom Select, Quill, etc.) with
- copy-paste install snippets.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text"
- >Can I use FontAwesome instead of Bootstrap Icons?</span
- >
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Yes. Bootstrap Icons is the default in the demos because it's MIT, ships with
- Bootstrap, and is SVG-based — but nothing in AdminLTE's CSS or JS requires it.
- Drop in FontAwesome's stylesheet and replace
- <code><i class="bi bi-x"></code> with
- <code><i class="fas fa-x"></code> throughout.
- </div>
- </details>
- </div>
- </section>
- <section id="versions" class="faq-section" data-faq-section>
- <header class="faq-section-header faq-section-success">
- <span class="faq-section-icon">
- <i class="bi bi-arrow-clockwise" aria-hidden="true"></i>
- </span>
- <div>
- <h2 class="faq-section-title">Versions and updates</h2>
- <p class="faq-section-count">3 questions</p>
- </div>
- </header>
- <div class="faq-section-items">
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">How do I get notified of new versions?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- <a href="https://github.com/ColorlibHQ/AdminLTE">Watch the GitHub repo</a>
- (Releases-only mode) or subscribe to the RSS feed at
- <code>https://github.com/ColorlibHQ/AdminLTE/releases.atom</code>.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Where's the AdminLTE 3 documentation?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Still online at
- <a href="https://adminlte.io/docs/3.2/">adminlte.io/docs/3.2</a> and earlier
- versions are linked there. The v3 branch on GitHub continues to receive
- critical bug fixes; new features land in v4 only.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">How do I upgrade from v3 to v4?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- See the dedicated <a href="migration.html">Migration from v3</a> guide. The
- short version: class names changed (<code>.wrapper</code> →
- <code>.app-wrapper</code>), <code>data-toggle</code> →
- <code>data-bs-toggle</code>, dark mode uses <code>data-bs-theme</code> instead
- of <code>.dark-mode</code>, and jQuery isn't required anymore.
- </div>
- </details>
- </div>
- </section>
- <section id="licensing" class="faq-section" data-faq-section>
- <header class="faq-section-header faq-section-secondary">
- <span class="faq-section-icon">
- <i class="bi bi-shield-check" aria-hidden="true"></i>
- </span>
- <div>
- <h2 class="faq-section-title">Licensing</h2>
- <p class="faq-section-count">3 questions</p>
- </div>
- </header>
- <div class="faq-section-items">
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Is AdminLTE free for commercial use?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Yes — MIT licensed. You can use it in commercial products, SaaS apps, client
- work, anything. The only requirement is preserving the copyright notice in the
- source files (<code>adminlte.css</code> / <code>adminlte.js</code>). You don't
- need to display attribution in the UI.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Do I need to credit AdminLTE in my app?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- No. The MIT license requires you to keep the licence notice in the source
- files you distribute — that's it. You don't have to mention AdminLTE in the
- rendered UI, your About page, or your README.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Can I sell a product made with AdminLTE?</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Yes. The MIT license explicitly permits this. You can also resell modified
- versions of AdminLTE itself (theme marketplaces frequently do this) — just
- preserve the original copyright notice.
- </div>
- </details>
- </div>
- </section>
- <section id="troubleshooting" class="faq-section" data-faq-section>
- <header class="faq-section-header faq-section-danger">
- <span class="faq-section-icon">
- <i class="bi bi-wrench-adjustable" aria-hidden="true"></i>
- </span>
- <div>
- <h2 class="faq-section-title">Troubleshooting</h2>
- <p class="faq-section-count">5 questions</p>
- </div>
- </header>
- <div class="faq-section-items">
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text"
- >The sidebar doesn't collapse when I click the hamburger menu.</span
- >
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Check that the PushMenu plugin is loaded. It's bundled into
- <code>adminlte.js</code> — make sure the script tag is on the page and
- <em>after</em> the markup it operates on. Also verify your hamburger button
- has <code>data-lte-toggle="sidebar"</code> (not
- <code>data-widget="pushmenu"</code>, which is the v3 attribute).
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text">Dark mode doesn't persist after refresh.</span>
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- The included <a href="color-mode.html">Color Mode</a> toggle writes to
- <code>localStorage</code> under the key <code>lte-theme</code>. If you're
- using a different toggle implementation, make sure it both sets
- <code>document.documentElement.setAttribute('data-bs-theme', ...)</code> and
- writes to localStorage on change.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text"
- >Bootstrap modal closes when I press Escape, but the AdminLTE sidebar closes
- too.</span
- >
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Fixed in v4.0.0 (#5993). If you're still seeing this, you're on an older RC —
- update to the latest.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text"
- >My custom SCSS doesn't override AdminLTE's defaults.</span
- >
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- Put your overrides <em>before</em> the <code>@import</code> of AdminLTE's
- SCSS. AdminLTE uses <code>!default</code> on its variables, which means the
- first declaration wins. See
- <a href="customization.html#scss-variables">Customization & Theming</a>
- for the import order.
- </div>
- </details>
- <details class="faq-item" data-faq-item>
- <summary>
- <span class="faq-q-icon">
- <i class="bi bi-question-lg" aria-hidden="true"></i>
- </span>
- <span class="faq-q-text"
- ><code>npm install</code> fails with peer dependency errors.</span
- >
- <span class="faq-q-chevron">
- <i class="bi bi-chevron-down" aria-hidden="true"></i>
- </span>
- </summary>
- <div class="faq-answer">
- We use an npm <code>overrides</code> block in <code>package.json</code> to
- keep peers happy — make sure you're on npm 8.3+ which respects them. If you're
- on an older npm, install with <code>--legacy-peer-deps</code>.
- </div>
- </details>
- </div>
- </section>
- </div>
- <!-- CTA footer -->
- <section class="faq-cta mt-5">
- <div class="faq-cta-icon">
- <i class="bi bi-chat-quote" aria-hidden="true"></i>
- </div>
- <h2>Still need help?</h2>
- <p>
- Open a discussion on GitHub or browse the documentation for more in-depth answers.
- </p>
- <div class="faq-cta-actions">
- <a
- href="https://github.com/ColorlibHQ/AdminLTE/discussions"
- target="_blank"
- rel="noopener"
- class="btn btn-primary"
- >
- <i class="bi bi-github me-2" aria-hidden="true"></i>
- Open a Discussion
- </a>
- <a href="introduction.html" class="btn btn-outline-secondary">
- <i class="bi bi-book me-2" aria-hidden="true"></i>
- Browse Documentation
- </a>
- </div>
- </section>
- </div>
- </div>
- </main>
- <!--begin::Footer-->
- <footer class="app-footer">
- <!--begin::To the end-->
- <div class="float-end d-none d-sm-inline">Anything you want</div>
- <!--end::To the end-->
- <!--begin::Copyright-->
- <strong>
- Copyright © 2014-2026
- <a href="https://adminlte.io" class="text-decoration-none">AdminLTE.io</a>.
- </strong>
- All rights reserved.
- <!--end::Copyright-->
- </footer>
- <!--end::Footer-->
- </div>
- <!--begin::Third Party Plugin(OverlayScrollbars)-->
- <script
- src="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.11.0/browser/overlayscrollbars.browser.es6.min.js"
- crossorigin="anonymous"
- ></script>
- <!--end::Third Party Plugin(OverlayScrollbars)--><!--begin::Required Plugin(popperjs for Bootstrap 5)-->
- <script
- src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
- crossorigin="anonymous"
- ></script>
- <!--end::Required Plugin(popperjs for Bootstrap 5)--><!--begin::Required Plugin(Bootstrap 5)-->
- <script
- src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.min.js"
- crossorigin="anonymous"
- ></script>
- <!--end::Required Plugin(Bootstrap 5)--><!--begin::Required Plugin(AdminLTE)-->
- <script src="../js/adminlte.js"></script>
- <!--end::Required Plugin(AdminLTE)--><!--begin::OverlayScrollbars Configure-->
- <script>
- const SELECTOR_SIDEBAR_WRAPPER = '.sidebar-wrapper';
- const Default = {
- scrollbarTheme: 'os-theme-light',
- scrollbarAutoHide: 'leave',
- scrollbarClickScroll: true,
- };
- document.addEventListener('DOMContentLoaded', function () {
- const sidebarWrapper = document.querySelector(SELECTOR_SIDEBAR_WRAPPER);
- // Disable OverlayScrollbars on mobile devices to prevent touch interference
- const isMobile = window.innerWidth <= 992;
- if (
- sidebarWrapper &&
- OverlayScrollbarsGlobal?.OverlayScrollbars !== undefined &&
- !isMobile
- ) {
- OverlayScrollbarsGlobal.OverlayScrollbars(sidebarWrapper, {
- scrollbars: {
- theme: Default.scrollbarTheme,
- autoHide: Default.scrollbarAutoHide,
- clickScroll: Default.scrollbarClickScroll,
- },
- });
- }
- });
- </script>
- <!--end::OverlayScrollbars Configure--><!--begin::Color Mode Toggle (#6010)-->
- <script>
- (() => {
- 'use strict';
- const STORAGE_KEY = 'lte-theme';
- const getStoredTheme = () => localStorage.getItem(STORAGE_KEY);
- const setStoredTheme = (theme) => localStorage.setItem(STORAGE_KEY, theme);
- const prefersDark = () => globalThis.matchMedia('(prefers-color-scheme: dark)').matches;
- const getPreferredTheme = () => {
- const stored = getStoredTheme();
- if (stored) return stored;
- return prefersDark() ? 'dark' : 'light';
- };
- const setTheme = (theme) => {
- const resolved = theme === 'auto' ? (prefersDark() ? 'dark' : 'light') : theme;
- document.documentElement.setAttribute('data-bs-theme', resolved);
- };
- setTheme(getPreferredTheme());
- const showActiveTheme = (theme) => {
- // Highlight the active dropdown option
- document.querySelectorAll('[data-bs-theme-value]').forEach((el) => {
- el.classList.remove('active');
- el.setAttribute('aria-pressed', 'false');
- const check = el.querySelector('.bi-check-lg');
- if (check) check.classList.add('d-none');
- });
- const active = document.querySelector(`[data-bs-theme-value="${theme}"]`);
- if (active) {
- active.classList.add('active');
- active.setAttribute('aria-pressed', 'true');
- const check = active.querySelector('.bi-check-lg');
- if (check) check.classList.remove('d-none');
- }
- // Sync the topbar trigger icon
- document.querySelectorAll('[data-lte-theme-icon]').forEach((icon) => {
- icon.classList.toggle('d-none', icon.dataset.lteThemeIcon !== theme);
- });
- };
- globalThis.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
- const stored = getStoredTheme();
- if (!stored || stored === 'auto') setTheme(getPreferredTheme());
- });
- document.addEventListener('DOMContentLoaded', () => {
- showActiveTheme(getPreferredTheme());
- document.querySelectorAll('[data-bs-theme-value]').forEach((toggle) => {
- toggle.addEventListener('click', () => {
- const theme = toggle.getAttribute('data-bs-theme-value');
- setStoredTheme(theme);
- setTheme(theme);
- showActiveTheme(theme);
- });
- });
- });
- })();
- </script>
- <!--end::Color Mode Toggle-->
- <script>
- // FAQ live search + clear button
- (() => {
- 'use strict';
- const input = document.getElementById('faq-search-input');
- const clearBtn = document.getElementById('faq-search-clear');
- const emptyState = document.getElementById('faq-empty-state');
- if (!input) return;
- const items = Array.from(document.querySelectorAll('[data-faq-item]'));
- const sections = Array.from(document.querySelectorAll('[data-faq-section]'));
- const normalize = (s) => s.toLowerCase().trim();
- const filter = (query) => {
- const q = normalize(query);
- clearBtn.classList.toggle('d-none', q.length === 0);
- let visibleTotal = 0;
- for (const item of items) {
- const text = item.textContent || '';
- const matches = q === '' || normalize(text).includes(q);
- item.classList.toggle('d-none', !matches);
- // Open matching items when searching so users see context
- item.open = q !== '' && matches;
- if (matches) visibleTotal++;
- }
- // Hide entire sections that have no visible items
- for (const section of sections) {
- const hasVisible = section.querySelectorAll('[data-faq-item]:not(.d-none)').length > 0;
- section.classList.toggle('d-none', !hasVisible);
- }
- emptyState.classList.toggle('d-none', visibleTotal !== 0);
- };
- input.addEventListener('input', (e) => filter(e.target.value));
- clearBtn.addEventListener('click', () => {
- input.value = '';
- filter('');
- input.focus();
- });
- // Smooth scroll to section on chip click + offset for sticky header
- for (const chip of document.querySelectorAll('.faq-chip')) {
- chip.addEventListener('click', (e) => {
- const id = chip.getAttribute('href')?.replace('#', '');
- if (!id) return;
- const target = document.getElementById(id);
- if (!target) return;
- e.preventDefault();
- target.scrollIntoView({ behavior: 'smooth', block: 'start' });
- history.replaceState(null, '', '#' + id);
- });
- }
- })();
- </script>
- </body>
- </html>
|