-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathworkorderdetails.html
executable file
·190 lines (176 loc) · 7.03 KB
/
workorderdetails.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!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 Order Details</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body>
<header>
<h1>Hello Earth Machines</h1>
</header>
<h2>Work Order Details</h2>
<h3>The following are the products and mechanics assigned to the current Work Orders</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>
<p> </p>
<div id="detailWorkOrderId1">
<form method="GET" id="viewDetails1">
<legend><strong> Id: 1 Work Order Details</strong></legend>
<fieldset class="fields">
<table>
<tr>
<th><a href="#">New</a></th>
<th>Product Name</th>
<th>Product Reference</th>
</tr>
<tr>
<td><a href="#">Delete</a></td>
<td>Lubricant X</td>
<td>REF001</td>
</tr>
<tr>
<td><a href="#">Delete</a></td>
<td>Grease Y</td>
<td>REF002</td>
</tr>
</table>
<br>
<table>
<tr>
<th><a href="#">New</a></th>
<th>Mechanic First Name</th>
<th>Mechanic Last Name</th>
</tr>
<tr>
<td><a href="#">Delete</a></td>
<td>Bryan</td>
<td>Cook</td>
</tr>
</table>
</fieldset>
</form>
</div>
<p> </p>
<div id="detailWorkOrderId2">
<form method="GET" id="viewDetails2">
<legend><strong> Id: 2 Work Order Details</strong></legend>
<fieldset class="fields">
<table>
<tr>
<th><a href="#">New</a></th>
<th>Product Name</th>
<th>Product Reference</th>
</tr>
<tr>
<td><a href="#">Delete</a></td>
<td>Lubricant X</td>
<td>REF001</td>
</tr>
</table>
<br>
<table>
<tr>
<th><a href="#">New</a></th>
<th>Mechanic First Name</th>
<th>Mechanic Last Name</th>
</tr>
<tr>
<td><a href="#">Delete</a></td>
<td>Clark</td>
<td>Bennet</td>
</tr>
</table>
</fieldset>
</form>
</div>
<p> </p>
<div id="detailWorkOrderId8">
<form method="GET" id="viewDetails8">
<legend><strong> Id: 8 Work Order Details</strong></legend>
<fieldset class="fields">
<table>
<tr>
<th><a href="#">New</a></th>
<th>Product Name</th>
<th>Product Reference</th>
</tr>
<tr>
</tr>
</table>
<br>
<table>
<tr>
<th><a href="#">New</a></th>
<th>Mechanic First Name</th>
<th>Mechanic Last Name</th>
</tr>
<tr>
</tr>
</table>
</fieldset>
</form>
</div>
<p> </p>
<div id="insert">
<form method="POST" id="addWorkOrderProducts">
<legend><strong>Add Work Order Products</strong></legend>
<fieldset class="fields">
<label> Product Reference</label> <select name="productReference">
<option value="0"> </option>
<option value="1">REF001</option>
<option value="6">P532501</option>
<option value="7">HYDO10</option>
</select>
</fieldset>
<input class="btn" type="submit" id="addProduct" value="Add Product">
</form>
</div>
<p> </p>
<div id="insert">
<form method="POST" id="addWorkOrderMechanics">
<legend><strong>Add Work Order Mechanics</strong></legend>
<fieldset class="fields">
<label> Mechanic Email</label> <select name="email">
<option value="0"> </option>
<option value="1">[email protected]</option>
<option value="2">[email protected]</option>
<option value="3">[email protected]</option>
</select>
</fieldset>
<input class="btn" type="submit" id="addMechanic" value="Add Mechanic">
</form>
</div>
<p> </p>
<div id="updateWorkOrderProducts">
<form method="POST" id="updateProducts">
<legend><strong>Update Work Order Products</strong></legend>
<fieldset class="fields">
<input type="hidden" name="machineId id="udpatemachineId" value="4">
<label> Work Order Id: 1</label>
<label> product </label> <select name="productReference">
<option value="0"> </option>
<option value="1" selected>REF001</option>
<option value="2">REF002</option>
<option value="6">P532501</option>
</select>
<label> product </label> <select name="productReference">
<option value="0"> </option>
<option value="1">REF001</option>
<option value="2" selected>REF002</option>
<option value="6">P532501</option>
</select>
</fieldset>
<input class="btn" type="submit" id="updateProducts" value="Update Products">
</form>
</div>
<footer>
<p> Project Step 3 Draft Version: Design HTML Interface + DML SQL [Juan Pablo Duque and Marco Scandroglio]</p>
</footer>
</body>
</html>