-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddRemove.html
58 lines (50 loc) · 2.07 KB
/
addRemove.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
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"> </script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="addRemoveJS.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css" />
<title>Add/Remove</title>
</head>
<body>
<header>
<h1>Add/Remove</h1>
<nav>
<a href="index.html"><button class="headerButton">Home</button></a>
<a href="addRemove.html"><button class="headerButton">Add/Remove</button></a>
<a href="uploadFile.html"><button class="headerButton">Upload</button></a>
<a href="selectDisplay.html"><button class="headerButton">Select</button></a>
</nav>
</header>
<div class="switchMode">
<button type="submit" id= "switchButton">Change Mode</button>
</div>
<div class="addElement">
<h2>Adding Element</h2>
<form id="form1">
<label for="elementNum">Element Number:</label>
<input type="number" id="elementNum" name="elementNum" min="1" max="900" value="1" required>
<label for="elementCode">Element Code:</label>
<input type="text" id="elementCode" name="elementCode" maxlength="3" required>
<label for="elementName">Element Name:</label>
<input type="text" id="elementName" name="elementName" maxlength="32" required>
<label for="color1">Color 1:</label>
<input type="color" id="color1" name="color1" required>
<label for="color2">Color 2:</label>
<input type="color" id="color2" name="color2" required>
<label for="color3">Color 3:</label>
<input type="color" id="color3" name="color3" required>
<label for="radius">Radius:</label>
<input type="number" id="radius" name="radius" min="1" max="100" value="20" required>
<button id="addButton" type="submit">Add Element</button>
</form>
</div>
<div class="removeElement">
<h2>Remove Element</h2>
<form id="form2">
<select id="selectTable"></select>
<button id="removeButton" type="submit">Remove Element</button>
</form>
</div>
</body>
</html>