Compare commits
No commits in common. "53e68faf54888ace072e1bdaedda9224e552eaf2" and "7cb8bbeaa898c67926d57b8a77afa1f6fa439a44" have entirely different histories.
53e68faf54
...
7cb8bbeaa8
29
home.html
29
home.html
|
@ -49,13 +49,10 @@
|
|||
</svg>
|
||||
</button>
|
||||
<button class="btn btn-dark border-black ms-2" id="logout">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
|
||||
class="bi bi-box-arrow-right" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd"
|
||||
d="M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0z" />
|
||||
<path fill-rule="evenodd"
|
||||
d="M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z" />
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-box-arrow-right" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0z"/>
|
||||
<path fill-rule="evenodd" d="M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z"/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1690,20 +1687,17 @@
|
|||
|
||||
function updateBars(element, number) {
|
||||
let row = (number + 72) / 3;
|
||||
|
||||
let red = (-6 + 72) / 3;
|
||||
let yellow = (-18 + 72) / 3;
|
||||
|
||||
let spans = element[0].getElementsByTagName('span');
|
||||
|
||||
for (let i = 0; i < spans.length; i++) {
|
||||
if (row >= i) {
|
||||
if (row >= red && i >= red) {
|
||||
if (row > i) {
|
||||
if (row > red && i > red) {
|
||||
spans[i].style.opacity = "1"
|
||||
spans[i].style.backgroundColor = "#ff0000"
|
||||
}
|
||||
else if (row >= yellow && i < red && i >= yellow) {
|
||||
|
||||
else if (row > yellow + 1 && i <= red && i > yellow + 1) {
|
||||
spans[i].style.opacity = "1"
|
||||
spans[i].style.backgroundColor = "#ff6600"
|
||||
}
|
||||
|
@ -1730,15 +1724,8 @@
|
|||
let num2 = getRandomIntInclusive(0, 72)
|
||||
let num3 = getRandomIntInclusive(0, 72)
|
||||
let num5 = getRandomIntInclusive(0, 72)
|
||||
let num7 = getRandomIntInclusive(0, 70)
|
||||
let num7 = getRandomIntInclusive(0, 72)
|
||||
let num8 = getRandomIntInclusive(0, 72)
|
||||
|
||||
num = 53
|
||||
num2 = 54
|
||||
num3 = 55
|
||||
num5 = 56
|
||||
num7 = 65
|
||||
num8 = 66
|
||||
LineInputLeftRandomBar(num - 72)
|
||||
LineInputRightRandomBar(num2 - 72)
|
||||
Microphone1LeftRandomBar(num3 - 72)
|
||||
|
|
Loading…
Reference in New Issue