<div class="table-responsive">
    <div>
        <table class="table align-items-center table-dark">
            <thead class="thead-dark">
                <tr>
                    <th scope="col">
                        
                    </th>

                    <th scope="col">Users</th>

                </tr>
            </thead>
            <tbody class="list">
                {% for key, value in employeelist.items() %} 
                <tr>
                    
                    <td class="budget">
                        {{key}}
                    </td>
                    
                    <th scope="row" class="name">   
                        <div class="media align-items-center">
                            <div class="media-body">
                         
                                <span class="mb-0 text-sm">{{value[0]}}</span>
                           
                            </div>
                        </div>
                    </th>
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>

</div>

<div class="modal fade" id="balckfourModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Black List 404 users</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body blackFour">
        ...
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>



<div class="modal fade" id="balcktwoModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Black List 202 users</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body blackTwo">
        ...
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>



<script type='text/javascript'>
    $(document).ready(function () {
        $('.black404').click(function () {
            var userid = $(this).data('id');
            $.ajax({
                url: '/blackfour',
                type: 'post',
                data: { userid: userid },
                success: function (data) {
                    $('.blackFour').html(data);
                    $('.blackFour').append(data.htmlresponse);
                    // $('#empModal').modal('hide');
                    $('#balckfourModal').modal('show');
                }
            });
        });
    });
  </script>


<script type='text/javascript'>
    $(document).ready(function () {
        $('.black202').click(function () {
            var userid = $(this).data('id');
            $.ajax({
                url: '/blacktwo',
                type: 'post',
                data: { userid: userid },
                success: function (data) {
                    $('.blackTwo').html(data);
                    $('.blackTwo').append(data.htmlresponse);
                    // $('#empModal').modal('hide');
                    $('#balcktwoModal').modal('show');
                }
            });
        });
    });
  </script>