-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
89 lines (80 loc) · 2.87 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Simple Speaker Placement Generator</title>
<meta name="description" content="Simple Speaker Placement">
<meta name="author" content="Glen and Declan Hunter">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header class="page-header">
<h1>Simple Speaker Placement Generator</h1>
</header>
<main class="smol-sidebar">
<aside class="sidebar">
<h3>Room dimensions:</h3>
<form>
<div class="form-group">
<label for="room-width">
Units:
</label>
<!-- updates --units text below -->
<select id="select-measurement">
<option value="in">Inches</option>
<option value="cm">Centimeters</option>
</select>
</div>
<div class="form-group">
<label for="room-width">
Room width:
</label>
<!-- updates CSS var --room-width and --room-width text below -->
<input type="number" id="room-width" class="input-dimension"/>
</div>
<div class="form-group">
<label for="room-length">
Room length:
</label>
<!-- updates CSS var --room-length and --room-length text below -->
<input type="number" id="room-length" class="input-dimension"/>
</div>
<div class="form-group">
<label for="room-height">
Room height:
</label>
<!-- updates CSS var --room-height -->
<input type="number" id="room-height" class="input-dimension"/>
</div>
<div class="form-submit">
<button id="clear-button">Clear</button><button id="submit-button">Submit</button>
</div>
</form>
</aside>
<h5 class="negitiveValue">cmon man</h5>
<div class="content">
<section>
<h2 class="content-title">Your room</h2>
<div class="room-container">
<div class="room">
<div class="left-wall-dimension">--room-length --units</div>
<!-- ## values are updated according to formula -->
<span class="speaker-frontwall-distance">## --units</span>
<i class="fas fa-2x fa-volume-up left-speaker-icon"></i>
<span class="left-speaker-sidewall-distance">## --units</span>
<i class="fas fa-2x fa-volume-up right-speaker-icon"></i>
<span class="right-speaker-sidewall-distance">## --units</span>
<i class="fas fa-2x fa-couch listening-position-icon"></i>
<span class="listening-position-distance">## --units</span>
<div class="rear-wall-dimension">--room-width --units</div>
</div>
</div>
</section>
</div>
</main>
<footer>
</footer>
<script defer src="dep/fontawesome-free-5.15.2-web/js/all.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>