Proyecto en colaboración con OPASO

requests.php 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!-- Authors : Carlos C. Corrada-Bravo
  2. David J. Ortiz-Rivera
  3. Organization : Centro de Desarrollo y Consultoria Computacional
  4. Project : OPASO Material Registry
  5. File : requests
  6. Description : Display material requests -->
  7. <!-- verify session -->
  8. <?php require_once("header.php");?>
  9. <!doctype html>
  10. <html lang="en">
  11. <!-- encoding/imports/styling -->
  12. <head>
  13. <meta charset="utf-8">
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15. <title class="title">Material Requests</title>
  16. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
  17. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  18. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  19. <link rel="stylesheet" href="/style/main.css">
  20. <link rel="stylesheet" href="/style/offered.css">
  21. </head>
  22. <!-- content -->
  23. <body>
  24. <!-- alerts -->
  25. <div class="alerts">
  26. <div class="alert">
  27. <div class="message-icon-wrapper">
  28. <i class="message-icon success-icon material-icons">done</i>
  29. <i class="message-icon error-icon failed-icon warning-icon material-icons">close</i>
  30. </div>
  31. <p class="alert-status"></p>
  32. <p class="alert-message"></p>
  33. </div>
  34. </div>
  35. <div class="content">
  36. <!-- navbar -->
  37. <?php require_once("navbar.php")?>
  38. <div class="main">
  39. <div class="header-wrapper">
  40. <h5 class="header">Material Requests</h5>
  41. <!-- processing -->
  42. <div class="processing">
  43. <p class="processing-text">Fetching requests...</p>
  44. <div class="loader"></div>
  45. </div>
  46. </div>
  47. <div class="main-wrapper">
  48. <!-- search form -->
  49. <div class="float-right">
  50. <div class="search-form-wrapper">
  51. <input class="search-form" placeholder="Search for requests" type="text" name="search-form">
  52. <button class="clear-btn search-form-submit">
  53. <i class="material-icons clear-icon">close</i>
  54. </button>
  55. </div>
  56. </div>
  57. <!-- requests -->
  58. <h6 class="header sub-header"></h6>
  59. <div class="table-wrapper content-wrapper">
  60. <table class="table">
  61. <thead class="table-header">
  62. <tr>
  63. <th value="mat_name">Material</th>
  64. <th value="man_name">Manufacturer</th>
  65. <th value="capacity">Capacity</th>
  66. <th value="amount">Amount</th>
  67. <th value="person_name">Requestor</th>
  68. <th value="lab_room">Previous Lab</th>
  69. <th value="lab_room">New Lab</th>
  70. <th value="actions">Actions</th>
  71. </tr>
  72. </thead>
  73. <tbody></tbody>
  74. </table>
  75. </div>
  76. <h6 class="header table-total"></h6>
  77. </div>
  78. </div>
  79. <!-- footer -->
  80. <?php require_once("footer.php")?>
  81. </div>
  82. <!-- scripts -->
  83. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  84. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  85. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  86. <script type="text/javascript" src="/scripts/main.js"></script>
  87. <script type="text/javascript" src="/scripts/requests.js"></script>
  88. </body>
  89. </html>