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

  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet" href="/css/GoogleFont.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="/css/adminlte.min.css">
  <link rel="stylesheet" href="/css/bootstrap.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.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 rel="stylesheet" href="/css/dataTable.css">


 
    <!-- <script src="/js/plnClient.js"></script> -->
    <script src="/js/projects.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">
     


      <!-- 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">
          <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="/addProject" class="nav-link">
                     <i class="far fa-circle nav-icon"></i>
                     <p>Project Add</p>
                   </a>
                  </li>
                 
                 
               </ul>
             </li>

             <li class="nav-item">
              <a href="/tasks" class="nav-link">
                <i class="nav-icon fas fa-tasks"></i>
                <p>All Tasks</p>
              </a>
             </li>


             <li class="nav-item">
              <a href="#" class="nav-link">
                <i class="nav-icon fas fa-users"></i>
                <p>
                  Participants
                  <i class="fas fa-angle-left right"></i>
                </p>
              </a>
              <ul class="nav nav-treeview">
                <li class="nav-item" >
                  <a href="/clients" class="nav-link">
                    <i class="far fa-circle nav-icon"></i>
                    <p>Clients</p>
                  </a>
                </li>

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

              </ul>
            </li>

             <!-- <li class="nav-header">Add Participants</li>

             <li class="nav-item">
               <a  class="nav-link" data-toggle="modal" data-target="#add-employee">
                 <i class="nav-icon far fa-circle text-warning"></i>
                 <p>add Employee</p>
               </a>
             </li>
             <li class="nav-item">
               <a class="nav-link"  data-toggle="modal" data-target="#add-client">
                 <i class="nav-icon far fa-circle text-info"></i>
                 <p>add Client</p>
               </a>
              </li> -->
              <!-- <li class="nav-item">
                <a class="nav-link"  id="addUser">
                  <i class="nav-icon far fa-circle text-info"></i>
                  <p>add</p>
                </a>
               </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>Projects</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">Projects</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%">
                      Project Name
                  </th>
                  <th style="width: 10%">
                    Estimated Budget
                  </th>
                  <th style="width: 10%">
                    Estimated Duration
                  </th>
                  <th style="width: 10%">
                    Deadline
                  </th>
                  <th style="width: 25%">
                      Project Progress
                  </th>
                  <th style="width: 10%" >
                      Status
                  </th>
                  <th style="width: 15%">
                  </th>
              </tr>
              </thead>
              <tbody id="queryAllProjectsTableBody">

              </tbody>

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

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


  <div id="wait" style="display:none;width:69px;height:89px;border:1px solid black;position:absolute;top:50%;left:50%;padding:2px;"><img src='/images/wait.gif' width="64" height="64" /><br>Loading..</div>

  <!-- 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>
