Difference between revisions of "Sitemap"

Line 437: Line 437:
  
  
switch  ( (page_name.match( /\//g ) || []).length  ) {  // check how many "tiers" the page name has in order to nest it
+
switch  ( (page_name.match( /\//g ) || []).length  ) {  // check how many "tiers" (  /  ) the page name has in order to nest it
  
 
case 0:  // this might be a hub or an unassigned page
 
case 0:  // this might be a hub or an unassigned page
append_tier_one ( page_name );  
+
append_tier_one ( page_name, page_link );  
 
break;  
 
break;  
  
Line 475: Line 475:
 
if ( page_name.substring(5, 12 ) == "Example" )  {
 
if ( page_name.substring(5, 12 ) == "Example" )  {
 
if ( page_name.substring(5, 13 ) != "Example2") {
 
if ( page_name.substring(5, 13 ) != "Example2") {
return false;
+
return false;   // if it is from team example it is fine
 
}
 
}
 
}
 
}
Line 502: Line 502:
  
  
function append_tier_one ( page_name ) {
+
function append_tier_one ( page_name, page_link ) {
 
var categories_for_links = ["About",  "Community",  "Requirements", "Calendar", "Judging",  "Safety", "Tracks", "Human_Practices",  "Giant_Jamboree", "Resources", "Team", "Teams", "Sponsors" ];
 
var categories_for_links = ["About",  "Community",  "Requirements", "Calendar", "Judging",  "Safety", "Tracks", "Human_Practices",  "Giant_Jamboree", "Resources", "Team", "Teams", "Sponsors" ];
 
var was_page_placed = false;
 
var was_page_placed = false;
Line 511: Line 511:
  
 
if  ( page_name.substring( 0 ,categories_for_links[i].length) == categories_for_links[i] ) {
 
if  ( page_name.substring( 0 ,categories_for_links[i].length) == categories_for_links[i] ) {
$("#"+categories_for_links[i]+"_Hub").append("<div id='"+page_name+"_wrapper'><a  href='"+page_name+"'>"+no_underscores_name+ " Hub</a> <ol  class='turquoise_link' id='" +page_name+"' ></ol> </div>");
+
$("#"+categories_for_links[i]+"_Hub").append("<div id='"+page_name+"_wrapper'><a  href='"+page_link+"'>"+no_underscores_name+ " Hub</a> <ol  class='turquoise_link' id='" +page_name+"' ></ol> </div>");
  
  
$("#main_container").append("<div id='"+page_name+"_wrapper'><a  href='"+page_name+"'>"+no_underscores_name+"</a> <ol  class='turquoise_link' id='main_"+page_name+"' ></ol> </div>");
+
$("#main_container").append("<div id='"+page_name+"_wrapper'><a  href='"+page_link+"'>"+no_underscores_name+"</a> <ol  class='turquoise_link' id='main_"+page_name+"' ></ol> </div>");
 
was_page_placed = true;
 
was_page_placed = true;
 
}
 
}

Revision as of 14:17, 21 April 2016

iGEM is a multifaceted competition with many different components. Our websites have a lot of information, from requirements of the competition to tips on how make fundraising easier. This page is here to help you navigate our site and make sure you have access to all of its content.

View mode
LIST
MENU

List view

Complete list of the pages in our wiki ordered alphabetically.



All Pages

Menu view

Pages are sorted into "buckets" or categories that mimic the menu on the right side of the page.

About
Requirements
Competition
Judging
Giant Jamboree
Resources
Teams and Community
Team Wiki Standard Pages

    HQ control pages

    This information is for HQ to keep track of the pages that are not on the menu and or that are being developed by headquarters.

    Total number of pages 2016 Wiki HQ Not sorted Redirect
    Not sorted
    HQ pages and Dev
    Redirect