Proyecto en colaboración con OPASO

hazards.php 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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 : hazards
  6. Description : Display materials by hazards -->
  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">Hazards</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 href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  18. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  19. <link rel="stylesheet" href="/style/main.css">
  20. <link rel="stylesheet" href="/style/hazards.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"><?php if(isset($_GET["ghs"])){echo $_GET["ghs"];} else{echo "GHS Codes";}?></h5>
  41. <!-- processing -->
  42. <div class="processing">
  43. <p class="processing-text">Fetching material data...</p>
  44. <div class="loader"></div>
  45. </div>
  46. <span class="description"></span>
  47. </div>
  48. <div class="main-wrapper">
  49. <div class="ghs-codes"></div>
  50. <div class="hazard">
  51. <div class="float-right">
  52. <div class="dropdown download">
  53. <button class="btn btn-outline-success download-btn" type="button" title="Download" id="dropdown-menu-button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="material-icons download-icon">archived</i></button>
  54. <div class="dropdown-menu" aria-labelledby="dropdown-menu-button">
  55. <span class="download-option" value="ghs_report">GHS Report</span>
  56. </div>
  57. </div>
  58. <!-- search form -->
  59. <div class="search-form-wrapper">
  60. <input class="search-form" type="text" placeholder="Search for materials" name="search-form">
  61. <button class="clear-btn search-form-submit">
  62. <i class="material-icons clear-icon">close</i>
  63. </button>
  64. </div>
  65. </div>
  66. <!-- materials -->
  67. <h6 class="header sub-header">Materials</h6>
  68. <div class="table-wrapper content-wrapper">
  69. <table class="table">
  70. <thead class="table-header">
  71. <tr>
  72. <th class="sort" value="mat_name" >Material
  73. <i class="sort-icon sort-material fas fa-caret-down"></i>
  74. </th>
  75. <th class="sort" value="man_name">Manufacturer
  76. <i class="sort-alt man_name fas fa-caret-down"></i>
  77. </th>
  78. <th value="sds">SDS</th>
  79. <th value="cas">CAS Num.</th>
  80. <th value="capacity">Capacity</th>
  81. <th value="quantity">Quantity</th>
  82. <th value="total" >Total
  83. </th>
  84. <th >Location</th>
  85. <th class="sort" value="lab_room">Laboratory
  86. <i class="sort-alt lab_room fas fa-caret-down"></i>
  87. </th>
  88. </tr>
  89. </thead>
  90. <tbody></tbody>
  91. </table>
  92. </div>
  93. <h6 class="header table-total"></h6>
  94. </div>
  95. </div>
  96. </div>
  97. <!-- footer -->
  98. <?php require_once("footer.php")?>
  99. </div>
  100. <!-- scripts -->
  101. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  102. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  103. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  104. <script type="text/javascript" src="/scripts/main.js"></script>
  105. <script type="text/javascript" src="/scripts/hazards.js"></script>
  106. </body>
  107. </html>