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