<!DOCTYPE html>
<html lang="zxx">
    <?php require __DIR__ . '/includes/head.php'; ?>

    <body class="bg-body-bg"><?php require __DIR__ . '/includes/loading.php'; ?><?php require __DIR__ . '/includes/sidebar.php'; ?>


        <!-- Start Main Content Area -->
        <div class="container-fluid">
            <div class="main-content d-flex flex-column">
                <?php require __DIR__ . '/includes/topbar.php'; ?>


                <div class="main-content-container overflow-hidden">
                    <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-4 mt-1">
                        <h3 class="mb-0">Add Library Book</h3>

                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb align-items-center mb-0 lh-1">
                                <li class="breadcrumb-item">
                                    <a href="index.html" class="d-flex align-items-center text-decoration-none">
                                        <i class="ri-home-8-line fs-15 text-primary me-1"></i>
                                        <span class="text-body fs-14 hover">Dashboard</span>
                                    </a>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span>School</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Add Library Book</span>
                                </li>
                            </ol>
                        </nav>
                    </div>
                    
                    <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                        <h3 class="mb-20">Add Book Information</h3>
                        <form>
                            <div class="row">
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Book Name</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput1" placeholder="Enter book name">
                                            <label for="floatingInput1">Enter book name</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Author</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput2" placeholder="Enter author name">
                                            <label for="floatingInput2">Enter author name</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Book ID</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput3" placeholder="Enter ID">
                                            <label for="floatingInput3">Enter ID</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Class Level</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect6" aria-label="Floating label select example">
                                                <option selected>Select class</option>
                                                <option value="1">6-12</option>
                                                <option value="2">9-12</option>
                                            </select>
                                            <label for="floatingSelect6">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Publication</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect7" aria-label="Floating label select example">
                                                <option selected>Select publication </option>
                                                <option value="1">1960</option>
                                                <option value="2">1949</option>
                                                <option value="3">1925</option>
                                                <option value="4">1951</option>
                                                <option value="5">1954</option>
                                                <option value="6">1813</option>
                                            </select>
                                            <label for="floatingSelect7">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Self Location</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect8" aria-label="Floating label select example">
                                                <option selected>Select location</option>
                                                <option value="1">A1</option>
                                                <option value="2">B5</option>
                                                <option value="3">A3</option>
                                                <option value="4">A7</option>
                                                <option value="5">C1</option>
                                            </select>
                                            <label for="floatingSelect8">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Borrower ID</label>
                                        <div class="form-floating">
                                            <input type="email" class="form-control" id="floatingInput4" placeholder="Enter borrower ID">
                                            <label for="floatingInput4">Enter borrower ID</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Status</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect9" aria-label="Floating label select example">
                                                <option selected>Select status</option>
                                                <option value="1">Available</option>
                                                <option value="2">Checked Out</option>
                                            </select>
                                            <label for="floatingSelect9">Select</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Description</label>
                                        <div class="form-floating">
                                            <textarea class="form-control" placeholder="Enter description " id="floatingTextarea9" style="height: 152px"></textarea>
                                            <label for="floatingTextarea9">Enter description </label>
                                        </div>
                                    </div>
                                </div>

                                <div class="col-lg-12">
                                    <div class="mb-20 find-btn">
                                        <button type="button" class="btn btn-outline-border-color-40 text-secondary w-100 py-3" data-bs-toggle="modal" data-bs-target="#exampleModal2">What are you looking</button>
                                    </div>
                                </div>
                                
                                <div class="col-lg-12">
                                    <div class="d-flex gap-2">
                                        <button type="button" class="btn btn-primary fw-normal text-white">+ Add Book</button>
                                        <button type="button" class="btn btn-danger fw-normal text-white" data-bs-dismiss="modal">Cancel</button>
                                    </div>
                                </div>
                            </div>
                        </form> 

                        <!-- Modal Add Attendance -->
                        <div class="modal fade" id="exampleModal2" tabindex="-1" aria-labelledby="exampleModal2Label" aria-hidden="true">
                            <div class="modal-dialog modal-dialog-centered rounded-10" style="max-width: 550px;">
                                <form class="modal-content bg-white">
                                    <div class="modal-header border-border-color-40 p-20">
                                        <div class="d-flex gap-3 align-items-center">
                                            <div class="table-src-form position-relative m-0">
                                                <input type="text" class="form-control" placeholder="Search Employee">
                                                <div class="src-btn position-absolute top-50 start-0 translate-middle-y bg-transparent p-0 border-0">
                                                    <span class="material-symbols-outlined">search</span>
                                                </div>
                                            </div>
                                            <div class="dropdown action-opt text-center">
                                                <button class="btn bg-transparent p-0 text-primary" type="button" data-bs-toggle="dropdown" aria-expanded="false">
                                                    <i class="material-symbols-outlined fs-18">settings</i>
                                                </button>
                                                <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow">
                                                    <li>
                                                        <a class="dropdown-item" href="javascript:;">
                                                            Last Day
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a class="dropdown-item" href="javascript:;">
                                                            Last Week
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a class="dropdown-item" href="javascript:;">
                                                            Last Month
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a class="dropdown-item" href="javascript:;">
                                                            Last Year
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                    </div>
                                    <div class="modal-body p-20 pb-2 find-btn">
                                        <div class="row" style="--bs-gutter-x: 12px;">
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">Student Lists</button>
                                            </div>
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">Teachers Lists</button>
                                            </div>
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">Staff Lists</button>
                                            </div>
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">All Courses</button>
                                            </div>
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">All Fees</button>
                                            </div>
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">Attendance Sheet</button>
                                            </div>
                                            <div class="col-lg-6">
                                                <button class="btn btn-light-50 fs-16 w-100 mb-12 text-body fw-normal hover-bg py-3">Libary</button>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="flex-grow-1"></div>

                <?php require __DIR__ . '/includes/footer.php'; ?>

            </div>
        </div>
        <!-- Start Main Content Area -->

        <!-- Start Theme Setting Area -->
        <button class="btn btn-primary theme-settings-btn p-0 position-fixed z-2 text-center rounded-circle" style="bottom: 24px; right: 24px; width: 56px; height: 56px; line-height: 54px;" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
            <i class="text-white ri-settings-3-fill fs-28" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Click On Theme Settings"></i>
        </button>

        <!-- Start Theme Setting Area -->
        <div class="offcanvas offcanvas-end bg-white border-0" data-bs-scroll="true" data-bs-backdrop="true" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel" style="box-shadow: 0 4px 20px #2f8fe812 !important; max-width: 300px;">
            <div class="offcanvas-header bg-light p-20">
                <h5 class="offcanvas-title fs-18 fw-medium" id="offcanvasScrollingLabel">Configuration Panel</h5>
                <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
            </div>
            <div class="offcanvas-body p-0 overflow-hidden">
                <div class="last-child-none" style="max-height: 858px;" data-simplebar>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">RTL Mode</h4>
                        <div class="rtl-btn">
                            <label id="switch">
                                <input type="checkbox" onchange="toggleTheme()" class="toggle-switch rtl-switch" id="slider">
                            </label>
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Sidebar Dark</h4>
                        <div class="sidebar-light-dark" id="sidebar-light-dark">
                            <input type="checkbox" class="toggle-switch sidebar-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Header Dark</h4>
                        <div class="header-light-dark" id="header-light-dark">
                            <input type="checkbox" class="toggle-switch header-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Right Sidebar</h4>
                        <div class="right-sidebar" id="right-sidebar">
                            <input type="checkbox" class="toggle-switch right-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Hide Sidebar</h4>
                        <div class="icon-sidebar" id="icon-sidebar">
                            <input type="checkbox" class="toggle-switch icon-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Bordered Card</h4>
                        <div class="card-border" id="card-border">
                            <input type="checkbox" class="toggle-switch border-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Card Border Radius</h4>
                        <div class="card-radius-square" id="card-radius-square">
                            <input type="checkbox" class="toggle-switch border-radius-switch">
                        </div>
                    </div>
                    
                    <div class="p-20 border-bottom child">
                        <a href="#" class="btn btn-primary text-white">
                            Buy Fila
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Theme Setting Area -->
     
        <!-- Link Of JS File -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/sidebar-menu.js"></script>
        <script src="assets/js/quill.min.js"></script>
        <script src="assets/js/data-table.js"></script>
        <script src="assets/js/prism.js"></script>
        <script src="assets/js/clipboard.min.js"></script>
        <script src="assets/js/simplebar.min.js"></script>
        <script src="assets/js/apexcharts.min.js"></script>
        <script src="assets/js/echarts.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fullcalendar.main.js"></script>
        <script src="assets/js/jsvectormap.min.js"></script>
        <script src="assets/js/world-merc.js"></script>
        <script src="assets/js/custom/apexcharts.js"></script>
        <script src="assets/js/custom/echarts.js"></script>
        <script src="assets/js/custom/maps.js"></script>
        <script src="assets/js/custom/custom.js"></script>
    </body>
</html>