-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathworkorders.html
executable file
·140 lines (130 loc) · 5.15 KB
/
workorders.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Work Orders</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body>
<header>
<h1>Hello Earth Machines</h1>
</header>
<h2>Work Orders</h2>
<h3>Click on details to edit Mechanics and Products of a Work Order</h3>
<a href="index.html"> Machines</a>
<a href="locations.html"> Locations</a>
<a href="mechanics.html"> Mechanics</a>
<a href="products.html"> Products</a>
<a href="workorders.html"> Work Orders</a>
<br>
<br>
<table>
<tr>
<th><a href="#">New</a></th>
<th></th>
<th>Order Id</th>
<th>Machine Model</th>
<th>Machine Serial</th>
<th>Location Name</th>
<th>Date</th>
<th>Description</th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td><a href="#">Edit</a></td>
<td><a href="#">Delete</a></td>
<td>1</td>
<td>R 317 Litronic</td>
<td>1042-48528</td>
<td>Client Site 1</td>
<td>2023-02-07</td>
<td>Machine needs a general check-up</td>
<td><a href="workorderdetails.html">Details</a></td>
<td><a href="workorderproducts.html">Product Details</a></td>
<td><a href="workordermechanics.html">Mechanic Details</a></td>
</tr>
<tr>
<td><a href="#">Edit</a></td>
<td><a href="#">Delete</a></td>
<td>2</td>
<td>963K</td>
<td>D8T49943</td>
<td>HelloEarth Depot 1</td>
<td>2023-02-07</td>
<td>Machine needs an oil change</td>
<td><a href="workorderdetails.html">Details</a></td>
<td><a href="workorderproducts.html">Product Details</a></td>
<td><a href="workordermechanics.html">Mechanic Details</a></td>
</tr>
<tr>
<td><a href="#">Edit</a></td>
<td><a href="#">Delete</a></td>
<td>8</td>
<td>320DL</td>
<td>KGF02672</td>
<td>HelloEarth Depot 3</td>
<td>2023-01-03</td>
<td>Adjust boom</td>
<td><a href="workorderdetails.html">Details</a></td>
<td><a href="workorderproducts.html">Product Details</a></td>
<td><a href="workordermechanics.html">Mechanic Details</a></td>
</tr>
</table>
<p> </p>
<div id="insert">
<form method="POST" id="addWorkOrder">
<legend><strong>Add Work Order</strong></legend>
<fieldset class="fields">
<label> machineSerial </label> <select name="serial">
<option value="0"> </option>
<option value="4">3WN02456</option>
<option value="5">AKH01920</option>
<option value="6">KGF02672</option>
</select>
<label> locationName </label> <select name="locationId">
<option value="0"> </option>
<option value="1">HelloEarth Depot 1</option>
<option value="2">HelloEarth Depot 2</option>
<option value="4">Client Site 1</option>
</select>
<label> date </label> <input type="text" name="date">
<label> description </label> <input type="text" name="description">
</fieldset>
<input class="btn" type="submit" id="addWorkOrder" value="Add Work Order">
</form>
</div>
<p> </p>
<div id="update">
<form method="POST" id="UpdateWorkOder">
<legend><strong>Update Work Order</strong></legend>
<fieldset class="fields">
<input type="hidden" name="workOrderId" id="updateworkOrderId" value="1">
<label> Order Id: </label> 8
<label> Machine Serial </label> <select name="serial">
<option value="0"> </option>
<option value="4" selected>3WN02456</option>
<option value="5">AKH01920</option>
<option value="6">KGF02672</option>
</select>
<label> Location Name </label> <select name="locationName">
<option value="0"> </option>
<option value="1" selected>HelloEarth Depot 1 </option>
<option value="2">HelloEarth Depot 2 </option>
<option value="3">Client Site 1 </option>
<option value="NULL">NULL </option>
</select>
<label> Date </label> <input type="date" name="date" value="2023-01-03">
<label> Description </label> <input type="text" name="description" value="Adjust boom">
</fieldset>
<input class="btn" type="submit" id="UpdateSavePerson" value="Update Work Order">
</form>
</div>
<footer>
<p> Project Step 3 Draft Version: Design HTML Interface + DML SQL [Juan Pablo Duque and Marco Scandroglio]</p>
</footer>
</body>
</html>