<!DOCTYPE html> <html> <head> <title>Calls</title> <meta charset="utf-8" /> <link href="lib/css/bootstrap.min.css" rel="stylesheet" /> <link rel="icon" href="data:;base64,iVBORw0KGgo="> <link href="css/call.css" rel="stylesheet" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" /> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body class=""> <!--Nav Bar--> <nav class="navbar navbar-expand-md navbar-dark"> <a class="navbar-brand mx-3" href="#">Case #2</a> <button class="navbar-toggler mx-3" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarContent"> <ul class="navbar-nav ms-3 me-auto"> <!--Home--> <li class="nav-item"> <a class="nav-link" href="/home.html">Home</a> </li> <!--Employees List--> <li class="nav-item"> <a class="nav-link" href="/employee.html">Employees</a> </li> <!--Calls List--> <li class="nav-item"> <a class="nav-link active" href="/call.html">Calls</a> </li> <!--Reports--> <li class="nav-item"> <a class="nav-link" href="/report.html">Reports</a> </li> </ul> <!--Search Bar--> <form> <input class="form-control rounded-pill rounded-pill h-25 mt-2 ms-2" type="search" placeholder="Search Calls" id="srch" aria-label="Search" style="width: 12em; max-width:12em; "> </form> <!--Darkmode Switch--> <label class="switch ms-3 mt-3"> <input type="checkbox" class="checker" id="lightSwitch" /> <span class="slider round"></span> </label> </div> </nav> <!--Logo and Title--> <div class="text-center mt-5"> <img src="img/logo.png" width="200" height="200" id="logo" /> <h1>Calls List</h1> </div> <!--Content Container--> <div class="justify-content-center align-items-center row m-1"> <div class="justify-content-center align-items-center row m-2 ml-3" style="height:70vh;"> <!--Calls List - This is where the JS will insert the list header and call information--> <div class="list-group col-10" id="callList"></div> </div> </div> <form id="CallModalForm" name="CallModalForm" method="post" action=""> <!--Modal--> <div class="modal fade" id="myModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <!--Modal Content--> <div class="modal-content"> <!--Modal Header With Title--> <div class="modal-header"> <h2 class="modal-title" id="myModalLabel"></h2> <!--Modal Close Button in Header--> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> </div> <!--Modal Body--> <div class="modal-body"> <div class="mx-4 my-4"> <!--Card containing Call Information, Inputs, and Selects--> <div class="card"> <div class="card-header text-center"> Call Information </div> <div class="card-body"> <div class="row"> <div class="col-4">Problem:</div> <div class="col-8"><select id="ddlProblems" name="ddlProblems" class="form-control"></select></div> </div> <div class="row"> <div class="col-4">Employee:</div> <div class="col-8"><select id="ddlEmployees" name="ddlEmployees" class="form-control"></select></div> </div> <div class="row"> <div class="col-4">Technician:</div> <div class="col-8"><select id="ddlTechnicians" name="ddlTechnicians" class="form-control"></select></div> </div> <div class="row"> <div class="col-4">Date Opened:</div> <div class="col-8" id="dateOpenedText"> </div> </div> <div class="row" id="dateClosedDiv"> <div class="col-4">Date Closed:</div> <div class="col-8" id="dateClosedText"> </div> </div> <div class="row" id="CheckBoxCloseCallDiv"> <div class="col-4">Close Call:</div> <div class="col-8"><input type="checkbox" id="CheckBoxCloseCall" name="CheckBoxCloseCall"/> </div> </div> <div class="row"> <div class="col-4">Note:</div> <div class="col-8"> <textarea placeholder="enter a note" id="TextAreaNote" name="TextAreaNote" class="form-control"></textarea> </div> </div> </div> </div> </div> <!--Card footer containing input buttons to update, delete, and confirm delete--> <div class="card-footer text-center"> <input type="button" class="btn btn-secondary mt-3" value="update" id="actionbutton" /> <input type="button" class="btn btn-secondary mt-3" value="delete" id="deleteprompt" /> <div class="alert alert-danger fade show" role="alert" id="deletealert" style="width: 80%; margin: auto; margin-top: 2vh;"> <strong>Are you sure?</strong><p></p> <input type="button" class="btn btn-secondary mt-3" value="yes" id="deletebutton" /> <input type="button" class="btn btn-secondary mt-3" value="No" id="deletenobutton" /> </div> <!--Modal Status - This is where the JS inputs Modal Status--> <br /> <div id="modalstatus" class="text-left mt-3 mb-2"></div> </div> </div> </div> </div> </div> </form> <!--JQuery, Bootstrap, and Calls Script--> <script src="lib/js/jquery.min.js"></script> <script src="lib/js/jquery.validate.min.js"></script> <script src="lib/js/bootstrap.min.js"></script> <script src="js/call.js"></script> </body> </html>