<!DOCTYPE html>

<html lang="en">
<head>
        <?php echo view('partials/title-meta', array('title' => 'PDF Viewer')) ?> <?= $this->include('partials/head-css') ?>
    </head>
<body>
<div class="wrapper">
            <?php echo view('partials/topbar', array('subtitle' => 'Plugins', 'title' => 'PDF Viewer')) ?> <?= $this->include('partials/sidenav') ?>

            <!-- Start Page Content here -->
<div class="page-content">
<main>
                    <?php echo view('partials/page-title', array('subtitle' => 'Plugins', 'title' => 'PDF Viewer')) ?>

                    <div class="container-fluid">
<div class="grid lg:grid-cols-1 gap-base">
<div class="card">
<div class="card-body">
<div class="text-center">
<div class="inline-flex text-nowrap">
<button class="btn bg-dark rounded-e-none text-white" id="prev">
<i class="iconify tabler--arrow-left"></i>
<span class="hidden sm:inline">Previous</span>
</button>
<button class="btn bg-dark rounded-none text-white" id="next">
<i class="iconify tabler--arrow-right"></i>
<span class="hidden sm:inline">Next</span>
</button>
<button class="btn bg-dark rounded-none text-white" id="zoomin">
<i class="iconify tabler--zoom-in"></i>
<span class="hidden sm:inline">Zoom In</span>
</button>
<button class="btn bg-dark rounded-none text-white" id="zoomout">
<i class="iconify tabler--zoom-in"></i>
<span class="hidden sm:inline">Zoom Out</span>
</button>
<button class="btn bg-dark rounded-s-none text-white" id="zoomfit">100%</button>
<div class="flex">
<input class="form-input ms-3 rounded-e-none!" id="page_num" style="width: 50px" type="number"/>
<span class="border-default-300 flex rounded-e border border-s-0 px-3 py-1.5 bg-light/15" id="page_count">/ 00</span>
</div>
</div>
</div>
<div class="mt-3 flex justify-center overflow-auto text-center">
<canvas class="pdfcanvas border-default-300 rounded-lg border" id="the-canvas"></canvas>
</div>
</div>
</div>
<!-- end card -->
</div>
</div>
</main>

                <?= $this->include('partials/footer') ?>
            </div>
<!-- End Page content -->
</div>

        <?= $this->include('partials/customizer') ?> <?= $this->include('partials/footer-scripts') ?>

        <!-- PDF Plugin Js-->
<script src="/plugins/pdfjs/pdf.min.js"></script>
<!-- PDF Viewer init js -->
<script src="/js/pages/plugins-pdf-viewer.js"></script>
</body>
</html>