Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
f38c4239b2
commit
d89e6c940f
3 changed files with 4 additions and 8 deletions
|
@ -18,7 +18,6 @@
|
||||||
<button id="start-calibration-button">Start Calibration</button>
|
<button id="start-calibration-button">Start Calibration</button>
|
||||||
<button class="hide" id="stop-calibration-button">Stop Calibration</button>
|
<button class="hide" id="stop-calibration-button">Stop Calibration</button>
|
||||||
</div>
|
</div>
|
||||||
<p id="log"></p>
|
|
||||||
</main>
|
</main>
|
||||||
<script src="./scripts/Constants.js"></script>
|
<script src="./scripts/Constants.js"></script>
|
||||||
<script src="./scripts/Utility.js"></script>
|
<script src="./scripts/Utility.js"></script>
|
||||||
|
|
|
@ -67,7 +67,6 @@ class Utility {
|
||||||
}
|
}
|
||||||
|
|
||||||
static log(text) {
|
static log(text) {
|
||||||
//logParagraph.innerHTML = `${text}<br>${logParagraph.innerHTML}`;
|
|
||||||
console.log(text);
|
console.log(text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
:root {
|
:root {
|
||||||
--spacing: 12px;
|
--spacing: 12px;
|
||||||
|
--input-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
@ -22,16 +23,12 @@ main {
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding: var(--spacing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#message {
|
#message {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
min-height: 23px;
|
||||||
|
|
||||||
#log {
|
|
||||||
height: 300px;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
overflow: scroll;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
@ -43,6 +40,7 @@ input {
|
||||||
button {
|
button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
padding: var(--spacing);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hide {
|
.hide {
|
||||||
|
|
Reference in a new issue