-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.html
More file actions
74 lines (72 loc) · 2.31 KB
/
Copy pathelements.html
File metadata and controls
74 lines (72 loc) · 2.31 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
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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Elements - MolViewer</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"> </script>
<script src="elementsScripts.js"></script>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<header> <!--Encompasses entire header to be referred to as one.-->
<h1>Elements</h1>
<nav>
<ul>
<li><a href="index.html">Home Page</a></li>
<li><a href="elements.html">Elements</a></li>
<li><a href="fileUpload.html">Molecule Upload</a></li>
<li><a href="moleculeView.html">Molecule Viewer</a></li>
</ul>
</nav>
</header>
<div id="addElement">
<h2>Add an Element</h2>
<form>
<label>Element Number</label>
<br>
<input type="number" id = "elementNumberInput" name="elementNumberInput" min="1" step="1">
<br>
<label>Element Code</label>
<br>
<input type="text" id = "elementCodeInput" name= "elementCodeInput">
<br>
<label>Element Name</label>
<br>
<input type="text" id = "elementName" name = "elementName">
<br>
<label>Colour #1</label>
<br>
<input type="color" id = "colour1In" name="colour1In" value="#1EB53A">
<br>
<label>Colour #2</label>
<br>
<input type="color" id = "colour2In" name="colour2In" value="#000000">
<br>
<label>Colour #3</label>
<br>
<input type="color" id = "colour3In" name="colour3In" value="#00A3DD">
<br>
<label>Radius</label>
<br>
<input type="number" step="any" id = "radiusInput" name="radiusInput" min="0">
<br>
<input type="button" id="addButton" value="Add">
<br>
</form>
<p id="dialog">Ready to add an element.</p>
</div>
<!--Used to show existing elements, so that they can also be removed upon request.-->
<div id="elementsTableDIV">
<table id="elementsTable" class="container">
<tr>
<th>Number</th>
<th>Code</th>
<th>Name</th>
<th>Colour #1</th>
<th>Colour #2</th>
<th>Colour #3</th>
<th>Radius</th>
</tr>
</table>
</div>
</body>
</html>