Spaces:
Sleeping
Sleeping
Update templates/proposed-GUI.html
Browse files- templates/proposed-GUI.html +12 -0
templates/proposed-GUI.html
CHANGED
|
@@ -620,6 +620,12 @@ worker.onmessage= function(event){
|
|
| 620 |
opt=document.createElement("option");
|
| 621 |
opt.textContent=data[2][d];
|
| 622 |
opt.text=data[2][d];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 623 |
thirddropdown.append(opt);
|
| 624 |
// PrjPartsArray.push(data[2][d]);
|
| 625 |
}
|
|
@@ -2829,6 +2835,12 @@ function refreshAPIbuutton(dataa){
|
|
| 2829 |
opt=document.createElement("option");
|
| 2830 |
opt.textContent=dataa[2][d];
|
| 2831 |
opt.text=dataa[2][d];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2832 |
thirddropdown.append(opt);
|
| 2833 |
// PrjPartsArray.push(data[2][d]);
|
| 2834 |
}
|
|
|
|
| 620 |
opt=document.createElement("option");
|
| 621 |
opt.textContent=data[2][d];
|
| 622 |
opt.text=data[2][d];
|
| 623 |
+
if(!(data[2][d].startsWith('1.0') ))//|| data[i].startsWith('3.2') ||data[i].startsWith('2.2')))
|
| 624 |
+
{
|
| 625 |
+
opt.style.color='#bdbcbc';
|
| 626 |
+
opt.style.cursor='not-allowed';
|
| 627 |
+
opt.setAttribute('disabled',true)
|
| 628 |
+
}
|
| 629 |
thirddropdown.append(opt);
|
| 630 |
// PrjPartsArray.push(data[2][d]);
|
| 631 |
}
|
|
|
|
| 2835 |
opt=document.createElement("option");
|
| 2836 |
opt.textContent=dataa[2][d];
|
| 2837 |
opt.text=dataa[2][d];
|
| 2838 |
+
if(!(dataa[2][d].startsWith('1.0') ))//|| data[i].startsWith('3.2') ||data[i].startsWith('2.2')))
|
| 2839 |
+
{
|
| 2840 |
+
opt.style.color='#bdbcbc';
|
| 2841 |
+
opt.style.cursor='not-allowed';
|
| 2842 |
+
opt.setAttribute('disabled',true)
|
| 2843 |
+
}
|
| 2844 |
thirddropdown.append(opt);
|
| 2845 |
// PrjPartsArray.push(data[2][d]);
|
| 2846 |
}
|