mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Implemented the color change of the progressbar
This commit is contained in:
+4
-47
@@ -37,6 +37,10 @@ function checkBoxes() {
|
||||
iter++;
|
||||
}
|
||||
});
|
||||
document.getElementById("box1").style.backgroundColor = "red";
|
||||
document.getElementById("box2").style.backgroundColor = "red";
|
||||
document.getElementById("box3").style.backgroundColor = "red";
|
||||
document.getElementById("box4").style.backgroundColor = "red";
|
||||
console.log(selectedCheckboxes);
|
||||
const outputType = document.getElementById("output_type");
|
||||
const transcriptionType = document.getElementById("transkript_type");
|
||||
@@ -289,53 +293,6 @@ function showStep(stepNumber) {
|
||||
currentStep = stepNumber;
|
||||
}
|
||||
|
||||
function setCircleOne(){
|
||||
try {
|
||||
if(document.getElementById("block1").style.backgroundColor == "red"){
|
||||
document.getElementById("block1").style.backgroundColor = "green";
|
||||
}else{
|
||||
document.getElementById("block1").style.backgroundColor = "red";
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function setCircleZwo(){
|
||||
try {
|
||||
if(document.getElementById("block2").style.backgroundColor == "red"){
|
||||
document.getElementById("block2").style.backgroundColor = "green";
|
||||
}else{
|
||||
document.getElementById("block2").style.backgroundColor = "red";
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function setCircleThree(){
|
||||
try {
|
||||
if(document.getElementById("block3").style.backgroundColor == "red"){
|
||||
document.getElementById("block3").style.backgroundColor = "green";
|
||||
}else{
|
||||
document.getElementById("block3").style.backgroundColor = "red";
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function setCircleFour(){
|
||||
try {
|
||||
if(document.getElementById("block4").style.backgroundColor == "red"){
|
||||
document.getElementById("block4").style.backgroundColor = "green";
|
||||
}else{
|
||||
document.getElementById("block4").style.backgroundColor = "red";
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//Audio value setter
|
||||
var speakerAudios = {};
|
||||
|
||||
Reference in New Issue
Block a user