| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368 |
- <!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">
- <!--begin::Sidebar Menu-->
- <ul
- class="nav sidebar-menu flex-column"
- data-lte-toggle="treeview"
- role="navigation"
- aria-label="Documentation navigation"
- 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>
|