<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Clients</title>

  <!-- Google Font: Source Sans Pro -->
  <link type="text/css" rel="stylesheet" href="/css/GoogleFont.css">
  <!-- Font Awesome -->
  <link type="text/css" rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">

  <link type="text/css" rel="stylesheet" href="/css/bootstrap.css">
  <link type="text/css" rel="stylesheet" href="/css/fontawesome.css">
  <!-- jQuery library -->
    <script src="/js/jQuery.js"></script>
    <!-- Popper JS -->
    <script src="/js/Popper.js"></script>
    <!-- Latest compiled JavaScript -->
    <script src="/js/compiled.js"></script>
    <link type="text/css" href="/css/style.css" rel="stylesheet">
 <!-- Font Awesome Icons -->
 <link type="text/css" rel="stylesheet" href="/plugins/fontawesome-free/css/all.min.css">
 <!-- overlayScrollbars -->
 <link type="text/css" rel="stylesheet" href="/plugins/overlayScrollbars/css/OverlayScrollbars.min.css">

 <script src="/js/renderTable.js"></script>
 <script src="/js/dataTable.js"></script>
  <link type="text/css" rel="stylesheet" href="/css/dataTable.css">

  <link type="text/css"  href="/css/general.css" rel="stylesheet" >

 <!-- Theme style -->
 <link type="text/css"  href="/css/adminlte.min.css" rel="stylesheet" >

 

    <!-- <script src="/js/plnClient.js"></script> -->
    <script src="/js/clients.js"></script>


</head>

<body class="hold-transition dark-mode sidebar-mini layout-fixed layout-navbar-fixed layout-footer-fixed" >
  <!-- Site wrapper -->
<div class="wrapper">
  <!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-dark">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
      </li>
      
    </ul>

    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
           <!-- Navbar Search -->
           <li class="nav-item">
            <a class="nav-link" data-widget="navbar-search" href="#" role="button">
              <i class="fas fa-search"></i>
            </a>
            <div class="navbar-search-block">
              <form class="form-inline">
                <div class="input-group input-group-sm">
                  <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
                  <div class="input-group-append">
                    <button class="btn btn-navbar" type="submit">
                      <i class="fas fa-search"></i>
                    </button>
                    <button class="btn btn-navbar" type="button" data-widget="navbar-search">
                      <i class="fas fa-times"></i>
                    </button>
                  </div>
                </div>
              </form>
            </div>
          </li>
    
    
          <li class="nav-item">
            <a class="nav-link" data-widget="fullscreen" href="#" role="button">
              <i class="fas fa-expand-arrows-alt"></i>
            </a>
          </li>
          <li class="nav-item">
            <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
              <i class="fas fa-th-large"></i>
            </a>
          </li>
        </ul>
      </nav>
      <!-- /.navbar -->

  <!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-dark-primary elevation-4">


    <!-- Sidebar -->
    <div class="sidebar">
      <!-- Sidebar user (optional) -->
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image">
          <img src="/images/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
        </div>
        <div class="info">
          <a href="#" class="d-block">Alexander Pierce</a>
        </div>
      </div>

      <!-- SidebarSearch Form -->
      <div class="form-inline">
        <div class="input-group" data-widget="sidebar-search">
          <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
          <div class="input-group-append">
            <button class="btn btn-sidebar">
              <i class="fas fa-search fa-fw"></i>
            </button>
          </div>
        </div>
      </div>

      <!-- Sidebar Menu -->
      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
          <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->

               <li class="nav-item">
                <a class="nav-link"  href="/">
                  <i class="nav-icon fas fa-house-user" ></i>
                  <p>home</p>
                </a>
               </li>  

             <li class="nav-item">
               <a href="#" class="nav-link">
                 <i class="nav-icon fas fa-book"></i>
                 <p>
                   Project
                   <i class="fas fa-angle-left right"></i>
                 </p>
               </a>
               <ul class="nav nav-treeview">



                 <li class="nav-item" >
                   <a href="/projects" class="nav-link">
                     <i class="far fa-circle nav-icon"></i>
                     <p>Projects</p>
                   </a>
                 </li>

                 <li class="nav-item">
                   <a href="project-add.html" class="nav-link">
                     <i class="far fa-circle nav-icon"></i>
                     <p>Project Add</p>
                   </a>
                 </li>

                 <li class="nav-item">
                   <a href="project-edit.html" class="nav-link">
                     <i class="far fa-circle nav-icon"></i>
                     <p>Project Edit</p>
                   </a>
                 </li>
                 <li class="nav-item">
                   <a href="project-detail.html" class="nav-link">
                     <i class="far fa-circle nav-icon"></i>
                     <p>Project Detail</p>
                   </a>
                 </li>



               </ul>
             </li>
        </ul>
      </nav>
      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>Users</h1>
          </div>

        </div>
      </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">

      <!-- Default box -->
      <div class="card">
        <div class="card-header">
          <h3 class="card-title">All Users</h3>

          <div class="card-tools">
            <button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
              <i class="fas fa-minus"></i>
            </button>
            <button type="button" class="btn btn-tool" data-card-widget="remove" title="Remove">
              <i class="fas fa-times"></i>
            </button>
          </div>
        </div>
        <div class="card-body p-0">
          <table class="table table-striped projects" id ="queryAllProjectsTable">
              <thead>
                <tr>
                  <th style="width: 5%">
                      #
                  </th>
                  <th style="width: 15%">
                    First Name
                  </th>
                  <th style="width: 15%">
                    Last Name 
                  </th>
                  <th style="width: 20%">
                    Phone Number
                  </th>
                  <th style="width: 20%">
                    Email
                  </th>
                  <th style="width: 20%">
                  </th>
              </tr>
              </thead>
              <tbody id="queryAllProjectsTableBody">

              </tbody>

              </tbody>
          </table>
          
        </div>
        <!-- /.card-body -->
      </div>
      <!-- /.card -->

      <!-- /.card-footer-->
    
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  <form>
    <div class="modal fade" id="Edit-client" >
      <div class="modal-dialog">
        <div class="modal-content bg-secondary">
          <div class="modal-header">
            
            <h4 class="modal-title">Edit Client </h4>
            
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <div class="cloumn">
              <div class="row">
                <div class="card-body ">
                  <div class="form-group">
                    <label for="firstName">First Name</label>
                    <input type="text" id="firstName" class="form-control" required>
                  </div>
                </div>
    
                <div class="card-body ">
                  <div class="form-group">
                    <label for="lastName">Last Name</label>
                    <input type="text" id="lastName" class="form-control" required>
                  </div>
                </div>
              </div>
    
              <div class="card-body  borderr"  >
                <h5 class="ttitle">Contact Info</h5>
                <div class="form-group">
                  <label for="phoneNumber">Phone Number</label>
                  <input type="number" id="phoneNumber" class="form-control" required>&nbsp;<span id ="clientPhoneError" class="errmsg"></span>
                </div>
      
                <div class="form-group">
                  <label for="email">Email</label>
                  <input type="email" id="email" class="form-control" required>
                </div>
    
    
    
            </div>
    
    
    
    
          </div>
          </div>
          <div class="modal-footer justify-content-between">
            <button type="button" class="btn btn-outline-light" data-dismiss="modal">Close</button>
            <button type="submit" id="editClient" class="btn btn-outline-light">Add Client</button>
          </div>
    
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal-dialog -->
    </div>
    </form>

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
  </aside>
  <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->

<!-- jQuery -->
<script src="/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/js/demo.js"></script>


</body>
</html>
