<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>
        <%- process.env.APPNAME %>
    </title>
    <link rel="icon" type="image/x-icon" href="/images/favicon.png">

    <!-- js and css library -->
    <link rel="stylesheet" href="/css/tailwindcss.css">
    <script src="/js/jquery.js"></script>

    <!-- font-family css -->
    <link href="/font/poppins.css" rel="stylesheet">
    <link rel="stylesheet" href="/font/fontawesome.css" />

    <!-- datatable css and js -->
    <link rel="stylesheet" type="text/css" href="/css/dataTables.css">
    <link rel="stylesheet" type="text/css" href="/css/dataTablesmin.css">
    <link rel="stylesheet" type="text/css" href="/css/responsivedataTablesmin.css">
    <link rel="stylesheet" type="text/css" href="/css/jquery.multiselect.css">
    <link rel="stylesheet" type="text/css" href="/css/multiselectstyle.css">

    <script type="text/javascript" src="/js/dataTables.js"></script>
    <script type="text/javascript" src="/js/dataTablesmin.js"></script>
    <script type="text/javascript" src="/js/dataTablesresponsivemin.js"></script>
    <script type="text/javascript" src="/js/jquery.multiselect.js"></script>
    <script type="text/javascript" src="/js/main.js"></script>
    <script type="text/javascript" src="/js/scrollbar.js"></script>



    <!-- custom css and js -->
    <link rel="stylesheet" href="/css/style.css">
    <script src="/js/script.js"></script>
</head>

<body>

    <div class="absolute inset-0" style="background-color:aliceblue;">

    </div>


    <div class="fixed inset-3 sm:inset-5 backdrop-blur-md rounded-3xl p-2 sm:p-4 lg:p-5 xl:p-9" id="manbody"
        style="background: #b5b2d71f;">
        <div class="grid grid-cols-5 lg:gap-4 h-full mobilegrid">
            <!-- mobile menu -->
            <div class="block col-span-5 lg:hidden">
                <div class="p-3">
                    <div>
                        <div class="flex flex-row">
                            <div class="mr-2"><img src="/images/logo.png" alt="" width="45px"></div>
                            <div class="my-auto"><span class="col-span-5 text-sm font-semibold"
                                    style="color: #5d8027;"><%- process.env.APPNAME %></span></div>
                            <div class="flex-1 w-8 my-auto text-right"><a onclick="mobilemenuclick()"><i
                                        class="fa-solid fa-bars text-xl"></i></a></div>
                        </div>
                    </div>
                    <div class="absolute inset-0 rounded-xl p-3 lg:p-10 overflow-scroll hidden z-10" id="mobilemenu"
                        style="background: #b5b8c570;">
                        <div class="fixed inset-x-4 mt-2 h-0 m-auto w-10/12 z-20">
                            <div class="p-5 bg-white rounded-xl">
                                <div class="mb-5">
                                    <div class="flex flex-row">
                                        <div class="w-10 mr-2"><img src="/images/logo.png" alt="" width="80"></div>
                                        <div class="my-auto"><span class="col-span-5 text-sm font-semibold"
                                                style="color: #5d8027;"><%- process.env.APPNAME %></span></div>
                                        <div class="flex-1 w-8 my-auto text-right"><a onclick="mobilemenuclose()"><i
                                                    class="fa-solid fa-xmark text-base"></i></a></div>
                                    </div>
                                </div>

                                <div class="p-2 ">
                                    <a href="/admin/games" class="" id="games-mobile">
                                        <span class="pr-2"><i
                                                class="fa-brands fa-elementor offcolor text-base"></i></span>Games
                                    </a>
                                </div>

                                <div class="p-2">
                                    <a href="/admin/logout">
                                        <span class="pr-2"><i
                                                class="fa-solid fa-arrow-right-from-bracket offcolor text-base"></i></span>Logout
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- desktop menu -->
            <div class="overflow-y-scroll scrollbar-macosx hidden lg:block rounded-2xl"
                style="background-color: aliceblue;">
                <div class="p-2 md:p-4 xl:p-5 relative">
                    <div class="grid grid-cols-1 gap-10">
                        <div>
                            <div class="">
                                <div class="my-auto mr-3">
                                    <img src="/images/logo.png" alt="" width="45px">
                                </div>
                                <div class="col-span-3 my-auto">
                                    <div class="text-2xl font-semibold pt-1" style="color: #5d8027;">
                                        <%- process.env.APPNAME %>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>

                            <div class="px-3 lg:px-1 py-3">
                                <a href="/admin/games">
                                    <div class="grid grid-cols-8 relative" id="games-main">
                                        <div class="col-span-2 m-auto grid">
                                            <i class="fa-brands fa-elementor offcolor text-lg"></i>
                                        </div>
                                        <div class="col-span-5 my-auto pt-1">
                                            <div class="offcolor">Games</div>
                                        </div>
                                    </div>
                                </a>
                            </div>

                            <div class="px-3 lg:px-1 py-3">
                                <a href="/admin/logout">
                                    <div class="grid grid-cols-8 relative">
                                        <div class="col-span-2 m-auto grid">
                                            <i class="fa-solid fa-arrow-right-from-bracket offcolor text-lg"></i>
                                        </div>
                                        <div class="col-span-5 my-auto pt-1">
                                            <div class="offcolor">Logout</div>
                                        </div>
                                    </div>
                                </a>
                            </div>

                        </div>
                        <div>
                            <div class="p-5 rounded-2xl" style="background-color: #dfdff773;">
                                <div>
                                    <div class="text-center text-base font-bold">Copyright</div>
                                    <div class="text-center text-base font-bold">GameZop 2023</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>