Browse Source

Upload files to 'publ'

david.ortiz11 5 years ago
parent
commit
67fd9f29c8
4 changed files with 228 additions and 0 deletions
  1. 5
    0
      publ/footer.html
  2. 19
    0
      publ/index.html
  3. 168
    0
      publ/inventory.php
  4. 36
    0
      publ/navbar.html

+ 5
- 0
publ/footer.html View File

@@ -0,0 +1,5 @@
1
+<footer class="footer">
2
+	<div class="copyright-wrapper">
3
+		<small class="copyright">OPASO 2019<i class="fas fa-copyright"></i></small>
4
+	</div>
5
+</footer>

+ 19
- 0
publ/index.html View File

@@ -0,0 +1,19 @@
1
+<!--    Authors         :   Carlos C. Corrada-Bravo
2
+                            David J. Ortiz-Rivera
3
+                            José A. Quiñones-Flores 
4
+
5
+        Organization    :   Centro de Desarrollo y Consultoria Computacional
6
+        Project         :   OPASO Material Registry  
7
+        File            :   inventory.html
8
+        Description     :   Redirect user to main page -->
9
+
10
+        <!doctype html>
11
+        <html lang="en">
12
+            <!-- Redirect user -->
13
+            <head>
14
+                <!-- js and meta fallback  -->
15
+                <script type="text/javascript">window.location.href = "/inventory.html"</script>
16
+                <meta http-equiv="refresh" content="0;url=/inventory.html"> 
17
+            </head>
18
+        </html>
19
+        

+ 168
- 0
publ/inventory.php View File

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

+ 36
- 0
publ/navbar.html View File

@@ -0,0 +1,36 @@
1
+<!--    Authors         :   Carlos C. Corrada-Bravo
2
+                            David J. Ortiz-Rivera
3
+                            José A. Quiñones-Flores 
4
+
5
+        Organization    :   Centro de Desarrollo y Consultoria Computacional
6
+        Project         :   OPASO Material Registry  
7
+        File            :   navbar.html
8
+        Description     :   Provide navigation for site. -->
9
+
10
+<!-- Navbar -->
11
+<nav class="navbar navbar-expand-xlg">
12
+	<!-- Brand -->
13
+	<a class="navbar-brand" href="/home.html">OPASO</a>
14
+	<!-- Collapse Button -->
15
+	<div class="collapse-wrapper">
16
+		<ul class="navbar-nav">
17
+			<!-- Nav Links -->
18
+			<li class="nav-item"><a class="link" href="#">Home <i class="fas fa-home"></i></a></li>
19
+			<li class="nav-item"><a class="link" href="#">Laboratory <i class="fas fa-flask"></i></a></li>
20
+			<li class="nav-item"><a class="link" href="/inventory.php">Inventory <i class="fas fa-list-alt"></i></a></li>
21
+			<li class="nav-item"><a class="link" href="#">Materials <i class="fas fa-vial"></i></a></li>
22
+		</ul>
23
+		<div class="um-wrapper">	
24
+			<div class="user-menu">
25
+				<a class="user link dropdown-toggle" href="#" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">User</a>
26
+				<div class="dropdown-menu dropdown-menu-right">
27
+					<a class="dropdown-item" href="/profile.php">Profile <i class="um-icons fas fa-user"></i></a>
28
+					<div class="dropdown-divider"></div>
29
+					<a class="dropdown-item" href="/settings.php">Settings <i class="um-icons fas fa-cog"></i></a>
30
+					<div class="dropdown-divider"></div>
31
+					<a class="dropdown-item" href="#">Log Out <i class="um-icons fas fa-sign-out-alt"></i></a>
32
+				</div>
33
+			</div>
34
+		</div>
35
+	</div>
36
+</nav>