Proyecto en colaboración con OPASO

inventory.php 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <!-- Authors : Carlos C. Corrada-Bravo
  2. David J. Ortiz-Rivera
  3. José A. Quiñones-Flores
  4. Organization : Centro de Desarrollo y Consultoria Computacional
  5. Project : OPASO Material Registry
  6. File : inventory.html
  7. Description : Display inventory and present option to correct if necessary. -->
  8. <!doctype html>
  9. <html lang="en">
  10. <!-- Encoding and imports -->
  11. <head>
  12. <!-- Page Encoding -->
  13. <meta charset="utf-8">
  14. <!-- Scaling -->
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  16. <!-- Title -->
  17. <title class="Page-Home">Inventory</title>
  18. <!-- Bootstrap CSS -->
  19. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
  20. <!-- Icons -->
  21. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  22. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  23. <!-- Favicon -->
  24. <link class="favicon" rel="icon" href="">
  25. <!-- Page styling and font -->
  26. <link rel="stylesheet" href="./style/main.css">
  27. <link rel="stylesheet" href="/style/inventory.css">
  28. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lexend+Deca">
  29. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  30. <meta http-equiv="Pragma" content="no-cache" />
  31. <meta http-equiv="Expires" content="0" />
  32. </head>
  33. <!-- Main content -->
  34. <body>
  35. <!-- Loading screen -->
  36. <div class="loading-screen">
  37. <!-- Wrap elements -->
  38. <div class="ls-wrapper">
  39. <div class="loading-icon"></div>
  40. <p class="loading-text">OPASO</p>
  41. </div>
  42. </div>
  43. <!-- Form window -->
  44. <div class="form-window">
  45. <!-- Wrap elements -->
  46. <div class="form-wrapper">
  47. <div class="form-header-wrapper">
  48. <h4 class="form-header">Edit entry</h4>
  49. <div class="close-form close-icon"><i class="fas fa-times-circle"></i></div>
  50. </div>
  51. <div class="form">
  52. <div class="li-wrapper">
  53. <label for="chemical">Chemical</label>
  54. <input class="text-field" type="text" name="chemical">
  55. </div>
  56. <div class="li-wrapper">
  57. <label for="cas-number">CAS Number</label>
  58. <input class="text-field" type="text" name="cas">
  59. </div>
  60. <div class="li-wrapper">
  61. <label for="manufacturer">Manufacturer</label>
  62. <input class="text-field" type="text" name="manufacturer">
  63. </div>
  64. <div class="li-wrapper">
  65. <label for="sds-link">SDS Link</label>
  66. <input class="text-field" type="text" name="sds">
  67. </div>
  68. <div class="li-wrapper">
  69. <label for="ghs">GHS</label>
  70. <input class="text-field" type="text" name="ghs">
  71. </div>
  72. <div class="li-wrapper">
  73. <label for="hazard">Hazard</label>
  74. <input class="text-field" type="text" name="hazard">
  75. </div>
  76. <div class="li-wrapper">
  77. <label for="state">State</label>
  78. <input class="text-field" type="text" name="state">
  79. </div>
  80. <div class="li-wrapper">
  81. <label for="type">Type</label>
  82. <input class="text-field" type="text" name="type">
  83. </div>
  84. <div class="li-wrapper">
  85. <label for="amount">Amount</label>
  86. <input class="text-field" type="text" name="amount">
  87. </div>
  88. <div class="li-wrapper">
  89. <label for="quantity">Quantity</label>
  90. <input class="text-field" type="text" name="quantity">
  91. </div>
  92. <div class="li-wrapper">
  93. <label for="total">Total</label>
  94. <input class="text-field" type="text" name="total">
  95. </div>
  96. <div class="li-wrapper">
  97. <label for="uom">UOM</label>
  98. <input class="text-field" type="text" name="uom">
  99. </div>
  100. <div class="li-wrapper">
  101. <label for="location">Location</label>
  102. <input class="text-field" type="text" name="location">
  103. </div>
  104. <small class="fields-required">* All fields are required.</small>
  105. <div class="changes-wrapper">
  106. <button class="changes submit">Submit</button>
  107. <button class="changes cancel close-form">Cancel</button>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <div class="row content">
  113. <!-- Navbar -->
  114. <div class="navbar-wrapper"></div>
  115. <!-- Main Content -->
  116. <div class="main">
  117. <div class="header-wrapper">
  118. <h4 class="header"></h4>
  119. <!-- search form wrapper -->
  120. <div class="input-group sf-wrapper">
  121. <!-- search form -->
  122. <input type="text" class="form-control search-form text" placeholder="Search materials" aria-describedby="basic-addon2">
  123. <!-- append submit button -->
  124. <div class="input-group-append">
  125. <!-- submit button -->
  126. <button class="btn submit-query" type="button"><i class="fas fa-search"></i></button>
  127. </div>
  128. </div>
  129. </div>
  130. <div class="inventory">
  131. <table class="table">
  132. <thead>
  133. <tr>
  134. <th class="col " scope="col">Options</th>
  135. <th class="col" scope="col">#</th>
  136. <th class="col" scope="col">Chemical</th>
  137. <th class="col" scope="col">CAS Number</th>
  138. <th class="col" scope="col">Manufacturer</th>
  139. <th class="col" scope="col">SDS Link</th>
  140. <th class="col" scope="col">GHS</th>
  141. <th class="col" scope="col">Hazard</th>
  142. <th class="col" scope="col">State</th>
  143. <th class="col" scope="col">Type</th>
  144. <th class="col" scope="col">Amount</th>
  145. <th class="col" scope="col">Quantity</th>
  146. <th class="col" scope="col">Total</th>
  147. <th class="col" scope="col">UOM</th>
  148. <th class="col" scope="col">Location</th>
  149. </tr>
  150. </thead>
  151. <tbody>
  152. </tbody>
  153. </table>
  154. </div>
  155. </div>
  156. <div class="footer-wrapper"></div>
  157. </div>
  158. <!-- Bootstrap JS -->
  159. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  160. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  161. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  162. <!-- Load scripts -->
  163. <script type="text/javascript" src='/scripts/main.js'></script>
  164. <script type="text/javascript" src='/scripts/inventory.js'></script>
  165. </body>
  166. </html>