Line 165: | Line 165: | ||
]; | ]; | ||
+ | //generate team list | ||
+ | setup_teams_and_countries(all_teams_info); | ||
+ | |||
//Place all the team information in the general printing div | //Place all the team information in the general printing div | ||
Line 182: | Line 185: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
//if a search is requested | //if a search is requested | ||
$('.search_input').click(function() { | $('.search_input').click(function() { | ||
− | search_request(this.id,all_teams_info); | + | search_request(this.id, all_teams_info); |
}); | }); | ||
Line 201: | Line 200: | ||
− | function | + | function setup_teams_and_countries(all_teams_info){ |
var clean_name; | var clean_name; | ||
Line 212: | Line 211: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | + | clean_name = ""; | |
+ | |||
var countries = [... new Set(all_teams_info.map(x => x.location))]; | var countries = [... new Set(all_teams_info.map(x => x.location))]; | ||
Line 231: | Line 227: | ||
− | function search_request(object_property, all_teams_info){ | + | function search_request(object_property, all_teams_info, setup_teams_and_countries){ |
//get the value to search | //get the value to search |
Revision as of 14:02, 5 September 2019
Information on all teams
This page contains information and links to all the 2019 teams. If you would like to search by category or look for a specific team, you can do so by click below.