Proyecto en colaboración con OPASO

offered.php 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 : offered
  6. Description : Display offered materials -->
  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">Offered Materials</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. <!-- form-->
  25. <div class="form-shader close-form">
  26. <div class="lab-form close-form">
  27. <div class="form-wrapper">
  28. <div class="form-header-wrapper">
  29. <h5 class="form-header main-header">Request Material</h5>
  30. <div class="close-icon"><i class="close-form material-icons">close</i></div>
  31. </div>
  32. <div class="form">
  33. <div class="form-body">
  34. <span class="form-message"></span>
  35. <div class="select-wrapper">
  36. <label class="select-label" for="number">Laboratory: </label>
  37. <select class="labs"></select>
  38. </div>
  39. </div>
  40. <div class="form-actions">
  41. <button class="btn btn-primary action-btn submit" id="main-submit">Submit</button>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. <!-- alerts -->
  48. <div class="alerts">
  49. <div class="alert">
  50. <div class="message-icon-wrapper">
  51. <i class="message-icon success-icon material-icons">done</i>
  52. <i class="message-icon error-icon failed-icon warning-icon material-icons">close</i>
  53. </div>
  54. <p class="alert-status"></p>
  55. <p class="alert-message"></p>
  56. </div>
  57. </div>
  58. <div class="content">
  59. <!-- navbar -->
  60. <?php require_once("navbar.php")?>
  61. <div class="main">
  62. <div class="header-wrapper">
  63. <h5 class="header">Offered Materials</h5>
  64. <!-- processing -->
  65. <div class="processing">
  66. <p class="processing-text">Fetching materials...</p>
  67. <div class="loader"></div>
  68. </div>
  69. </div>
  70. <div class="main-wrapper">
  71. <div class="float-right">
  72. <div class="search-form-wrapper">
  73. <input class="search-form" placeholder="Search for materials" type="text" name="search-form">
  74. <button class="clear-btn search-form-submit">
  75. <i class="material-icons clear-icon">close</i>
  76. </button>
  77. </div>
  78. </div>
  79. <!-- materials -->
  80. <h6 class="header sub-header"></h6>
  81. <div class="table-wrapper content-wrapper">
  82. <table class="table">
  83. <thead class="table-header">
  84. <tr>
  85. <th value="mat_name">Material</th>
  86. <th value="date">Date</th>
  87. <th value="man_name">Manufacturer</th>
  88. <th value="capacity">Capacity</th>
  89. <th value="amount">Amount</th>
  90. <th value="person_name">Person</th>
  91. <th value="lab_room">Lab</th>
  92. <th value="actions">Request</th>
  93. </tr>
  94. </thead>
  95. <tbody></tbody>
  96. </table>
  97. </div>
  98. <h6 class="header table-total"></h6>
  99. </div>
  100. </div>
  101. <!-- footer -->
  102. <?php require_once("footer.php")?>
  103. </div>
  104. <!-- scripts -->
  105. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  106. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  107. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  108. <script type="text/javascript" src="/scripts/main.js"></script>
  109. <script type="text/javascript" src="/scripts/offered.js"></script>
  110. </body>
  111. </html>