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

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Admin :Filter</title>
    <?php include("headerlink.php")?>
</head>

<body class="hold-transition sidebar-mini layout-fixed">
    <div class="wrapper">
      
        <div class="preloader flex-column justify-content-center align-items-center">
            <img class="animation__shake" src="dist/img/AdminLTELogo.png" alt="AdminLTELogo" height="60" width="60">
        </div>

        <?php include("navbar.php")?>

        <?php include("sidebar.php")?>
     
        <div class="content-wrapper">
        
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                     
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                               
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
          
            <section class="content">
                <div class="container-fluid">
                    <div class="row">
                      
                        <div class="col-md-12">
                       
                            <div class="card card-primary">
                                <div class="card-header" style="background: #343a40; ">
                                    <h3 class="card-title text-uppercase fw-bold">Add File</h3>
                                </div>

                                <form id="data-form" class="p-4">
                                    <div class="form-group">
                                        <label for="data-list">Enter Names and Numbers (separated by commas):</label>
                                        <textarea class="form-control" id="data-list" name="dataList"
                                            rows="5"></textarea>
                                    </div>
                                    <div class="row">
                                        <div class="col-9">
                                            <div class="form-group">
                                                <label for="csv-file">Upload CSV File:</label>
                                                <input type="file" class="form-control-file form-control" id="csv-file"
                                                    accept=".csv">
                                            </div>
                                        </div>
                                        <div class="col-1">
                                            <button type="submit" class="btn btn-dark"
                                                style="margin-top: 32px;">Submit</button>
                                        </div>
                                        <div class="col-2">
                                            <button type="button" class="btn btn-dark" style="margin-top: 32px;"
                                                id="download-button">Download
                                                Excel</button>
                                        </div>
                                    </div>
                                </form>

                            </div>
                       

                        </div>

                    </div>
                    
                </div>
            </section>

            <section class="content">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-12">
                            <div class="card shadow">
                                <div class="card-header" style="background: #343a40; ">
                                    <h3 class="card-title text-white text-bold text-uppercase">Filter Data</h3>
                                </div>
                              
                                <div class="card-body">
                                    <div id="example2_wrapper" class="dataTables_wrapper dt-bootstrap4">
                                        <div class="row">
                                            <div class="col-sm-12 col-md-6"></div>
                                            <div class="col-sm-12 col-md-6"></div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-12">
                                                <table class="table-responsive">
                                                    <table id="example2"
                                                        class="table table-bordered table-hover dataTable dtr-inline display"
                                                        aria-describedby="example2_info">
                                                        <thead>
                                                            <tr>
                                                                <th>Name</th>
                                                                <th>Number</th>
                                                                <th>Gender</th>
                                                                <th>Religion</th>
                                                                <th>State</th>
                                                                <th>Operator</th>
                                                            </tr>
                                                        </thead>
                                                        <tbody>
                                                        <tbody id="data-table-body"></tbody>
                                                     
                                                    </table>
                                                </table>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                               
                            </div>

                        </div>
                       
                    </div>

                </div>

            </section>

        </div>
     
        <?php include("footer.php")?>

    </div>

    <?php include("footerlink.php")?>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
    <script src="filter.js"></script>
     <!-- <script src="gender_filter.js"></script>  -->
    <script src="hindu_female_filter.js"></script>
    <script src="hindu_male_filter.js"></script>
    <script src="muslim_female_filter.js"></script>
    <script src="muslim_male_filter.js"></script> 
    <script src="christian_female_filter.js"></script>
    <script src="christian_male_filter.js"></script>
    <script src="buddhist_female_filter.js"></script>
    <script src="buddhist_male_filter.js"></script>
    <script src="number_state_filter.js"></script>

</body>

</html>