-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (96 loc) · 4.29 KB
/
index.html
File metadata and controls
96 lines (96 loc) · 4.29 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./index.css">
<title>Cube Manipulation</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-12 col-md-3 bg-dark pb-3">
<h2 class="text-center text-white text-uppercase border-bottom">Dashboard</h2>
<div class="text-center my-2">
<button class="btn btn-outline-info" id="transparent" >Transparent</button>
<button class="btn btn-outline-info" id="dimension" >3D</button>
</div>
<div class="border text-white p-3">
<h2 class="text-center">Side Controller</h2>
<div class="side-container">
<div class="range my-2">
<input type="range" id="top_range" min=0 max=10 value=0 >
<label for="top_range" class="ms-5 text-primary" >TOP</label>
</div>
<div class="range my-2">
<input type="range" id="bottom_range" min=0 max=10 value=0 >
<label for="bottom_range" class="ms-5 text-primary" >BOTTOM</label>
</div>
<div class="range my-2">
<input type="range" id="front_range" min=0 max=10 value=0 >
<label for="front_range" class="ms-5 text-primary" >FRONT</label>
</div>
<div class="range my-2">
<input type="range" id="back_range" min=0 max=10 value=0 >
<label for="back_range" class="ms-5 text-primary" >BACK</label>
</div>
<div class="range my-2">
<input type="range" id="left_range" min=0 max=10 value=0 >
<label for="left_range" class="ms-5 text-primary" >LEFT</label>
</div>
<div class="range my-2">
<input type="range" id="right_range" min=0 max=10 value=0 >
<label for="right_range" class="ms-5 text-primary" >RIGHT</label>
</div>
</div>
</div>
<div class="border text-white p-3 my-3">
<h2 class="text-center">Axis Controller</h2>
<div class="axis-container">
<div class="range my-2">
<input type="range" id="x-axis" min=0 max=360 value=0 >
<label for="x-axis" class="ms-5 text-primary" >X AXIS</label>
</div>
<div class="range my-2">
<input type="range" id="y-axis" min=0 max=360 value=0 >
<label for="y-axis" class="ms-5 text-primary" >Y AXIS</label>
</div>
<div class="range my-2">
<input type="range" id="z-axis" min=0 max=360 value=0 >
<label for="z-axis" class="ms-5 text-primary" >Z AXIS</label>
</div>
</div>
</div>
<div class="border text-white p-3">
<h2 class="text-center">Position Controller</h2>
<div class="position-controller">
<div class="range">
<input type="range" id="vertical-position" min=0 max=10 value=5 >
<label for="vertical-position" class="ms-5 text-primary" >VERTICAL</label>
</div>
<div class="range">
<input type="range" id="horizontal-position" min=0 max=10 value=5 >
<label for="horizontal-position" class="ms-5 text-primary" >HORIZONTAL</label>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-9" style="position: relative;background-color: black;">
<div id="cube-box">
<div id="cube">
<div class="box-item" id="front_element">Front</div>
<div class="box-item" id="back_element">Back</div>
<div class="box-item" id="left_element">Left</div>
<div class="box-item" id="right_element">Right</div>
<div class="box-item" id="top_element">Top</div>
<div class="box-item" id="bottom_element">Bottom</div>
</div>
</div>
</div>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>