-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddDevice.html
More file actions
48 lines (39 loc) · 1.72 KB
/
addDevice.html
File metadata and controls
48 lines (39 loc) · 1.72 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Device Information Form</title>
<link rel="stylesheet" href="./public/styles/styleforaddDevice.css">
</head>
<body>
<div class="form-container">
<img src="public/src/csl_logo.jpg" alt="Logo" class="logo"> <!-- Add your logo here -->
<div class="header">
<h1>Cochin Shipyard Limited</h1>
</div>
<form action="#" method="post">
<label for="deviceid">Device ID:</label>
<input type="text" id="deviceid" name="deviceid">
<label for="devicename">Device Name:</label>
<input type="text" id="devicename" name="devicename" required>
<label for="devicetype">Device Type:</label>
<select id="devicetype" name="devicetype" required>
<option value="" disabled selected>Select device type</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<label for="latitude">Latitude:</label>
<input type="number" id="latitude" name="latitude" step="0.000001" required>
<label for="longitude">Longitude:</label>
<input type="number" id="longitude" name="longitude" step="0.000001" required>
<label for="deviceip">Device IP:</label>
<input type="text" id="deviceip" name="deviceip">
<label for="info">Additional Info:</label>
<textarea id="info" name="info" rows="4"></textarea>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>