-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (109 loc) · 5.25 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DIGITAL LINE ENCODER</title>
<link href="https://fonts.googleapis.com/css?family=Black+Ops+One|Monoton|Press+Start+2P&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Orbitron&display=swap" rel="stylesheet">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="app">
<div id="appBanner" class="hideAppBanner">
<p id="bannerText">ADXPERQ-KJXR-TRDJKSH</p>
<button id="nextButton" class="progressButtons nextButtonHide" >→</button>
</div>
<form id="signalParams" class="hide">
<label for="signalLength">Enter the number signal bits</label>
<input type="number" id="signalLength" min=2 required>
<button id="signalParamsButton" class="progressButtons nextButtonHide">→</button>
</form>
<form id="signalData" class="hide">
<div id="signalBitWrapper">
<p id="signalBitStreamHeaderText" class="labelText">Enter the signal bits</p>
<div id="signalBitStream"></div>
</div>
<button id="signalDataButton" class="progressButtons nextButtonHide">→</button>
</form>
<div id="encodingMonitor" class="hide" >
<div id="loaderWrapper" class="showLoader">
<div class="loader-16"></div>
<p id="loaderText">..................</p>
</div>
<div id="signalStream" class="hide">
<div id="signalStreamText">DIGITAL STREAM</div>
<div id="signalStreamBits"></div>
</div>
<div id="encoderWrapper" class="hide">
<div id="encoderList">
<div id="NRZLUtils" class="utilsContainers">
<div class="schemeNames">
NRZ-L
</div>
<div class="showHideOption">
<label for="NRZLUtilsViewCheck">Hide</label>
<input class="viewCheckBoxes" id="NRZLUtilsViewCheck" type="checkbox">
</div>
</div>
<div id="NRZIUtils" class="utilsContainers">
<div class="schemeNames">
NRZ-I
</div>
<div class="showHideOption">
<label for="NRZIUtilsViewCheck">Hide</label>
<input class="viewCheckBoxes" id="NRZIUtilsViewCheck" type="checkbox">
</div>
</div>
<div id="RZUtils" class="utilsContainers">
<div class="schemeNames">
RZ
</div>
<div class="showHideOption">
<label for="R2ZSUtilsViewCheck">Hide</label>
<input class="viewCheckBoxes" id="R2ZSUtilsViewCheck" type="checkbox">
</div>
</div>
<div id="MANCHESTERUtils" class="utilsContainers">
<div class="schemeNames">
MANC
</div>
<div class="showHideOption">
<label for="MANCHESTERUtilsViewCheck">Hide</label>
<input class="viewCheckBoxes" id="MANCHESTERUtilsViewCheck" type="checkbox">
</div>
</div>
<div id="DMANCHESTERUtils" class="utilsContainers">
<div class="schemeNames">
D-MANC
</div>
<div class="showHideOption">
<label for="DMANCHESTERUtilsViewCheck">Hide</label>
<input class="viewCheckBoxes" id="DMANCHESTERUtilsViewCheck" type="checkbox">
</div>
</div>
<div id="AMIUtils" class="utilsContainers">
<div class="schemeNames">
AMI
</div>
<div class="showHideOption">
<label for="AMISUtilsViewCheck">Hide</label>
<input class="viewCheckBoxes" id="AMISUtilsViewCheck" type="checkbox">
</div>
</div>
</div>
<div id="encoderOutputs">
<canvas class="encoderCanvas" id="NRZL"></canvas>
<canvas class="encoderCanvas" id="NRZI"></canvas>
<canvas class="encoderCanvas" id="R2ZS"></canvas>
<canvas class="encoderCanvas" id="MANC"></canvas>
<canvas class="encoderCanvas" id="DMAN"></canvas>
<canvas class="encoderCanvas" id="AMIS"></canvas>
</div>
</div>
</div>
</div>
<script src="animator.js"></script>
<script src="index.js"></script>
</body>
</html>