Line 438: | Line 438: | ||
if ( ( page_name.match( /\//g ) || []).length == 0 ) { //place as a root page | if ( ( page_name.match( /\//g ) || []).length == 0 ) { //place as a root page | ||
− | place_root_page ( page_name, | + | place_root_page ( page_name , (page_name.substring( page_name.lastIndexOf("/")+1 , page_name.length ) ).replace( /_/g , " ") , page_name.replace( /\//g , "-") ); |
} | } | ||
else { //place pages under root id | else { //place pages under root id | ||
Line 474: | Line 474: | ||
− | function place_root_page ( | + | function place_root_page ( page_href, clean_name, name_for_id ) { |
var categories_for_links = ["About", "Community", "Requirements", "Calendar", "Judging", "Safety", "Tracks", "Human Practices", "Giant Jamboree", "Resources", "Sponsors" ]; | var categories_for_links = ["About", "Community", "Requirements", "Calendar", "Judging", "Safety", "Tracks", "Human Practices", "Giant Jamboree", "Resources", "Sponsors" ]; | ||
Line 485: | Line 485: | ||
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> <a href='"+page_href+"'>"+clean_name+"</a> <ol class='turquoise_link' id='"+name_for_id+"'></ol></div>" ); | |
− | + | $("#main_container").append( "<div> <a href='"+page_href+"'>"+clean_name+"</a> <ol class='turquoise_link' id='main_"+name_for_id+"'></ol></div>" ); | |
was_page_placed = true; | was_page_placed = true; | ||
Line 502: | Line 502: | ||
function place_nested_pages (page_href, clean_name, name_for_id ) { | function place_nested_pages (page_href, clean_name, name_for_id ) { | ||
− | |||
// for bucket | // for bucket | ||
− | $("#"+name_for_id.substring(0, name_for_id.lastIndexOf("-") ) ).append("<li><a href='"+page_href +" '>"+clean_name+"</a> <ul id='"+name_for_id+"'></ul> </li>"); | + | $("#"+name_for_id.substring(0, name_for_id.lastIndexOf("-") ) ).append("<li><a href='"+page_href +" '>"+clean_name+"</a> <ul id='"+name_for_id+"'></ul> </li>"); |
//for list | //for list |
Revision as of 15:43, 26 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
TEAMS
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