Proyecto en colaboración con OPASO

materials.php 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 : materials
  6. Description : Display authorized 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">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 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/materials.css">
  21. </head>
  22. <!-- content -->
  23. <body>
  24. <div class="material-data-shader hide-material-data">
  25. <div class="material-data-wrapper">
  26. <div class="material-data-icon-wrapper">
  27. <i class="hide-material-data-icon hide-material-data material-icons">close</i>
  28. </div>
  29. <div class="material-name-wrapper">
  30. <h5 class="header material-data-header material-name" value="mat_name"></h6>
  31. </div>
  32. <div class="material-data">
  33. </div>
  34. </div>
  35. </div>
  36. <!-- alerts -->
  37. <div class="alerts">
  38. <div class="alert">
  39. <div class="message-icon-wrapper">
  40. <i class="message-icon success-icon material-icons">done</i>
  41. <i class="message-icon error-icon failed-icon warning-icon material-icons">close</i>
  42. </div>
  43. <p class="alert-status"></p>
  44. <p class="alert-message"></p>
  45. </div>
  46. </div>
  47. <div class="content">
  48. <!-- navbar -->
  49. <?php require_once("navbar.php")?>
  50. <div class="main">
  51. <div class="header-wrapper">
  52. <h5 class="header">Materials</h5>
  53. <!-- processing -->
  54. <div class="processing">
  55. <p class="processing-text">Fetching materials...</p>
  56. <div class="loader"></div>
  57. </div>
  58. </div>
  59. <div class="main-wrapper">
  60. <div class="float-right">
  61. <div class="dropdown download">
  62. <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>
  63. <div class="dropdown-menu" aria-labelledby="dropdown-menu-button">
  64. <span class="download-option" value="full_report">Full Report</span><br>
  65. <span class="download-option" value="full_lab_report">Full Lab Report</span>
  66. </div>
  67. </div>
  68. <div class="search-form-wrapper">
  69. <input class="search-form" type="text" placeholder="Search for materials" name="search-form">
  70. <button class="clear-btn search-form-submit">
  71. <i class="material-icons clear-icon">close</i>
  72. </button>
  73. </div>
  74. </div>
  75. <!-- inventory -->
  76. <h6 class="header sub-header">Full Inventory</h6>
  77. <div class="table-wrapper content-wrapper">
  78. <table class="table">
  79. <thead class="table-header">
  80. <tr>
  81. <th class="sort" value="mat_name" >Material
  82. <i class="sort-icon sort-material fas fa-caret-down"></i>
  83. </th>
  84. <th value="">CAS</th>
  85. <th class="sort" value="total" >Total
  86. <i class="sort-icon sort-alt 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. <!-- footer -->
  97. <?php require_once("footer.php")?>
  98. </div>
  99. <!-- scripts -->
  100. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  101. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
  102. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
  103. <script type="text/javascript" src="/scripts/main.js"></script>
  104. <script type="text/javascript" src="/scripts/materials.js"></script>
  105. </body>
  106. </html>