Difference between revisions of "HQ:Code Test"

Line 6: Line 6:
 
<div class="column full_size">
 
<div class="column full_size">
 
 
 +
<h1> Code setup page </h1>
 +
 +
<p>This page will help you setup the awards and results page</p>
 +
 +
<ol>
 +
<li> Place the awards and medals into a excel file to create the variable notation</li>
 +
<li>Place the variables indicated on the code on this page</li>
 +
<li>Place the resulting data bases into the results and all teams info pages</li>
 +
</ol>
 +
 
 
 
</div>
 
</div>
Line 1,025: Line 1,035:
 
var medal_assigned = false;
 
var medal_assigned = false;
 
var award_assigned = false;
 
var award_assigned = false;
var nominations_asigned = false;
+
var nominations_assigned = false;
 
 
 
 
Line 1,064: Line 1,074:
 
}
 
}
 
 
nominations_asigned = true;
+
nominations_assigned = true;
 
}  
 
}  
 
 
Line 1,072: Line 1,082:
 
 
 
 
award_assigned = true;
+
award_assigned = true;
 
}
 
}
 
 
Line 1,080: Line 1,090:
 
 
 
//if the team wasnt nominated
 
//if the team wasnt nominated
if(nominations_asigned == false){
+
if(nominations_assigned  == false){
 
data[x].nominations = '-';
 
data[x].nominations = '-';
 
}
 
}
 
 
 
//if the didnt win an award
 
//if the didnt win an award
if(award_asigned == false){
+
if(award_assigned  == false){
 
data[x].awards = '-';
 
data[x].awards = '-';
 
}
 
}

Revision as of 18:38, 13 September 2019

Loading...

Code setup page

This page will help you setup the awards and results page

  1. Place the awards and medals into a excel file to create the variable notation
  2. Place the variables indicated on the code on this page
  3. Place the resulting data bases into the results and all teams info pages