
{% load static %}
<!doctype html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">

    <!-- font-awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
        integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
    <!-- custom-css -->
    <link rel="stylesheet" href="{% static 'css/style.css' %}">

    <!-- fonts -->
    <link
        href="https://fonts.googleapis.com/css2?family=Karla:wght@200;300;400;600&family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,400&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,300&display=swap"
        rel="stylesheet">

    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

    <!-- Include SweetAlert2 CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">

    <!-- Include SweetAlert2 JavaScript -->
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>


    <title>OLUS Stock Management System</title>
</head>

<body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
        <div class="container-fluid">
            <a class="navbar-brand" href="#"><strong>OLUS INVENTORY MANAGEMENT SYSTEM - DASHBOARD</strong></a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"
                aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNavDropdown">
                <ul class="navbar-nav">
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role=""
                            data-bs-toggle="dropdown" aria-expanded="true">
                            Inventory Operations
                        </a>
                        <ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                            <li><a class="dropdown-item" href="#" onclick="openProdcutIssuePage()">Issue Items</a></li>
                            <li><a class="dropdown-item" href="#" onclick="openProductRestockList()">Restock Items</a></li>
                            <hr>
                            <li><a class="dropdown-item" href="#" onclick="openJerseyPage()">Add Product</a></li>
                            <li><a class="dropdown-item" href="#" onclick="openProductUpdatePage()">Update Product</a></li>
                            <li><a class="dropdown-item" href="#">Delete Product</a></li>
                            <hr>
                            <li><a class="dropdown-item" href="#" onclick="openRecieptSearchPage()">Search Issued Item</a></li>
                            <li><a class="dropdown-item" href="#" onclick="openStockSearchPage()">Search Stock</a></li>

                        </ul>
                    </li>
                 
                    <li class="nav-item">
                        <a class="nav-link active" id="userWelcome" aria-current="page" href="#">Welcome OLUS Nuwara Eliya</a>
                    </li>
                    <div class="headerTitle">
                        <h1 class="" style="float: right;"></h1>
                    </div>
                   

                    <li class="nav-item">
                        <a class="nav-link active" id="logOut"  aria-current="page" href="{% url 'logout' %}">Logout</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    {% block content %}

    {% endblock %}