-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (73 loc) · 3.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Manufacturing Database</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="navbar-styles.css">
<link rel="stylesheet" href="dashboard-styles.css"> <!-- New styles for improved UI -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <!-- Chart.js CDN -->
</head>
<body>
<!-- Sidebar Section -->
<aside class="sidebar">
<div class="logo">mdbms</div>
<ul class="sidebar-links">
<li><a class="active" href="index.html">Home</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="products.html">Products</a></li>
<li><a href="dashboard.html">Dashboard</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="orders.html">Orders</a></li>
</ul>
</aside>
<div class="hamburger" id="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</nav>
</header>
<!-- Main Content Section -->
<div class="container">
<h1>Manufacturing Database</h1>
<!-- Form to input manufacturing data -->
<form id="manufacturing-form">
<label for="product-name">Product Name:</label>
<input type="text" id="product-name" placeholder="Enter product name" required title="Enter the name of the product">
<label for="quantity">Quantity:</label>
<input type="number" id="quantity" placeholder="Enter quantity" min="1" required title="Enter the quantity to manufacture?">
<label for="date">Manufacturing Date:</label>
<input type="date" id="date" required title="Select the manufacturing date">
<label for="status">Status:</label>
<select id="status" required>
<option value="" disabled selected>Select status</option>
<option value="In Production">In Production</option>
<option value="Completed">Completed</option>
<option value="Pending">Pending</option>
</select>
<button type="submit" aria-label="Submit manufacturing form">Add Record</button>
</form>
<div id="notification" class="hidden"></div>
<h2>Manufacturing Records</h2>
<table id="manufacturing-table">
<thead>
<tr>
<th>Product Name</th>
<th>Quantity</th>
<th>Date</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<!-- Data will be populated here using JavaScript -->
</tbody>
</table>
</div>
<script src="navbar.js"></script> <!-- Navbar script for toggle functionality -->
<script src="app.js"></script> <!-- JavaScript for the manufacturing form -->
</body>
</html>