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 | + | var nominations_assigned = false; |
Line 1,064: | Line 1,074: | ||
} | } | ||
− | + | 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( | + | if(nominations_assigned == false){ |
data[x].nominations = '-'; | data[x].nominations = '-'; | ||
} | } | ||
//if the didnt win an award | //if the didnt win an award | ||
− | if( | + | if(award_assigned == false){ |
data[x].awards = '-'; | data[x].awards = '-'; | ||
} | } |
Revision as of 18:38, 13 September 2019
Code setup page
This page will help you setup the awards and results page
- Place the awards and medals into a excel file to create the variable notation
- Place the variables indicated on the code on this page
- Place the resulting data bases into the results and all teams info pages