From e9c20b8c84a9d91259ddda45f287baa43046b71f Mon Sep 17 00:00:00 2001 From: "LEWE, GEORGE" Date: Wed, 30 Aug 2023 17:04:39 +0200 Subject: [PATCH] BS components --- src/html/components/dashboard/_sidenav.astro | 21 +- src/html/pages/components/general.astro | 608 +++++++++++++++++++ 2 files changed, 626 insertions(+), 3 deletions(-) create mode 100644 src/html/pages/components/general.astro diff --git a/src/html/components/dashboard/_sidenav.astro b/src/html/components/dashboard/_sidenav.astro index 52f2dcb7b..0620f9f52 100644 --- a/src/html/components/dashboard/_sidenav.astro +++ b/src/html/components/dashboard/_sidenav.astro @@ -1,6 +1,6 @@ --- -import { convertPathToHtml } from "../../../utils/index.js"; -const { path, mainPage, page } = Astro.props; +import {convertPathToHtml} from "../../../utils/index.js"; +const {path, mainPage, page} = Astro.props; const htmlPath = convertPathToHtml(path); --- @@ -125,7 +125,7 @@ const htmlPath = convertPathToHtml(path);

Layout Options 66

@@ -250,6 +250,21 @@ const htmlPath = convertPathToHtml(path); +
  • + + +

    Components +

    +
    + +
  • + + + + + + + + + +
    + + + +
    + + + + +
    + +
    + +
    + + + + +
    + +
    + +
    +
    Accordion
    +
    + + +
    +
    +
    +

    + +

    +
    +
    + This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
    +
    +
    +
    +

    + +

    +
    +
    + This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
    +
    +
    +
    +

    + +

    +
    +
    + This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
    +
    +
    +
    +
    + +
    + + +
    + +
    +
    Alert
    +
    + + +
    + + + + + + + + +
    + +
    + + +
    + +
    +
    Badge
    +
    + + +
    +

    Example heading New

    +

    Example heading New

    +

    Example heading New

    +

    Example heading New

    +
    Example heading New
    +
    Example heading New
    +
    + +
    + +
    + +
    + Primary + Secondary + Success + Danger + Warning + Info + Light + Dark +
    + Primary + Secondary + Success + Danger + Warning + Info + Light + Dark +
    + +
    + + +
    + +
    +
    Button
    +
    + + +
    + + + + + + + + + +
    + + + + + + +
    + + + + + + + + +
    + + + +
    + +
    + + +
    + +
    +
    Button Group
    +
    + + +
    +
    + + + +
    +
    + + + +
    +
    + + + +
    +
    +
    + + + + + + + + +
    +
    + + + + + + + + +
    +
    +
    + + +
    + + +
    +
    +
    + +
    + +
    + + +
    + +
    + +
    +
    Collapse
    +
    + + +
    +

    + + +

    +
    +
    + Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger. +
    +
    +
    + +
    + + +
    + +
    +
    Dropdowns
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + + +
    +
    + + + +
    +
    + +
    + + + + + +
    + +
    +
    Navbar
    +
    + + +
    + +
    + +
    + + +
    + +
    +
    Pagination
    +
    + + +
    + +
    + +
    + +
    + +
    + + +
    + +
    +
    Placeholder
    +
    + + +
    + +
    + +
    + + +
    + +
    +
    Quick Example
    +
    + + +
    +
    + +
    + +
    + +
    + +
    + +
    + +
    + +
    +
    + + + + + +