Marthee commited on
Commit
3af418e
·
verified ·
1 Parent(s): 3019e47

Update templates/proposed-GUI.html

Browse files
Files changed (1) hide show
  1. templates/proposed-GUI.html +2 -3
templates/proposed-GUI.html CHANGED
@@ -969,7 +969,7 @@ console.log('ayhaga', clone.children[5])
969
  clone.getElementsByClassName('repeatforloopclasshidden')[0].setAttribute('id', 'repeatforloop'+addciconval+'0');
970
  clone.getElementsByClassName('repeatforloopclasshidden')[0].setAttribute('name', 'repeatforloopname'+addciconval+'0');
971
  clone.getElementsByClassName('repeatforloopclasshidden')[0].setAttribute('class', 'repeatforloopclass'+addciconval+'0');
972
- if (thirddropdown.value.startsWith('3.2') || thirddropdown.value.startsWith('3.3') )
973
  {
974
 
975
  clone.children[5].children[1].setAttribute('disabled','True')
@@ -1269,7 +1269,7 @@ function getSelectValues(select) {
1269
  // if (!(projsec.value.startsWith('2.8')))
1270
  // {
1271
  // Show alert immediately to prompt the user
1272
- if (projsec.value.startsWith('3.2') || projsec.value.startsWith('3.3')) {
1273
  downloadPdf(elem.value);
1274
  window.alert("Measure the purple shape drawn on the PDF using Foxit Reader, Bluebeam, or any other external tool, then enter its area and perimeter in your desired scale.");
1275
  }
@@ -1663,7 +1663,6 @@ function getData(form) {
1663
  ratio1=1
1664
  ratio2=prminpixels/(formvalues['prmRatio']/ratioPunit);
1665
  console.log(ratio2, prminpixels,formvalues['prmRatio'],ratioPunit)
1666
-
1667
  }
1668
  else if (formvalues['selectprojs'].startsWith('1.0') ){
1669
  ratio1=(formvalues['areaRatio']/ratioAunit)/areainpixels;
 
969
  clone.getElementsByClassName('repeatforloopclasshidden')[0].setAttribute('id', 'repeatforloop'+addciconval+'0');
970
  clone.getElementsByClassName('repeatforloopclasshidden')[0].setAttribute('name', 'repeatforloopname'+addciconval+'0');
971
  clone.getElementsByClassName('repeatforloopclasshidden')[0].setAttribute('class', 'repeatforloopclass'+addciconval+'0');
972
+ if (thirddropdown.value.startsWith('3.2') || thirddropdown.value.startsWith('3.3') || thirddropdown.value.startsWith('2.8'))
973
  {
974
 
975
  clone.children[5].children[1].setAttribute('disabled','True')
 
1269
  // if (!(projsec.value.startsWith('2.8')))
1270
  // {
1271
  // Show alert immediately to prompt the user
1272
+ if (projsec.value.startsWith('3.2') || projsec.value.startsWith('3.3') || projsec.value.startsWith('2.8')) {
1273
  downloadPdf(elem.value);
1274
  window.alert("Measure the purple shape drawn on the PDF using Foxit Reader, Bluebeam, or any other external tool, then enter its area and perimeter in your desired scale.");
1275
  }
 
1663
  ratio1=1
1664
  ratio2=prminpixels/(formvalues['prmRatio']/ratioPunit);
1665
  console.log(ratio2, prminpixels,formvalues['prmRatio'],ratioPunit)
 
1666
  }
1667
  else if (formvalues['selectprojs'].startsWith('1.0') ){
1668
  ratio1=(formvalues['areaRatio']/ratioAunit)/areainpixels;