Difference between revisions of "Sitemap"

m (Protected "Sitemap" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(103 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Mobile}}
 
<html>
 
<html>
  
Line 26: Line 27:
  
 
.collapse_control {cursor:pointer; font-weight:bold; font-size:16px; padding-bottom:5px; color: #4e606e; text-align:center;}
 
.collapse_control {cursor:pointer; font-weight:bold; font-size:16px; padding-bottom:5px; color: #4e606e; text-align:center;}
.collapse_icon { float: right; margin-right: -30px; margin-top: -25px; border: 2px solid white; border-radius: 50%;  height: 20px;width: 25px;color:white; text-align: center;padding: 10px 5px 5px 5px;  }
+
.collapse_icon { float: right; margin-right: -20px; margin-top: -25px; border: 2px solid white; border-radius: 50%;  height: 20px;width: 25px;color:white; text-align: center;padding: 10px 5px 5px 5px;  }
 
.collapse_content { padding-top:5px;  border-top: 1px solid #f2f2f2; }
 
.collapse_content { padding-top:5px;  border-top: 1px solid #f2f2f2; }
  
Line 41: Line 42:
 
.display_style_button.selected { font-size: 16px; }
 
.display_style_button.selected { font-size: 16px; }
  
.display_control { float:left; width:150px;  height:20px; padding:5px;  text-align:center; margin-right:20px;  font-weight:bold; cursor:pointer;}  
+
.display_control { float:left; width:128px;  height:20px; padding:5px;  text-align:center; margin: 0px 5px;  font-weight:bold; cursor:pointer; background-color: #f2f2f2; color:#d3d3d3; border-radius: 7px;}  
 
.display_control:hover  { background-color: #e8edaa;}
 
.display_control:hover  { background-color: #e8edaa;}
.display_control.selected {background-color:#f2f2f2; }
+
.display_control.selected {background-color:#3b99fc; color: white;}
.display_control_wrapper {    margin: auto; text-align: center; float: left; width: 450px; padding-left: 285px;}
+
.display_control_wrapper {    margin: auto; }
  
  
Line 50: Line 51:
 
.hide_content{ display:none;}
 
.hide_content{ display:none;}
  
.loading_message {display:block; color:#d3d3d3; text-align:center; font-size: 20px; z-index:100; font-weight:bold;}
+
.selected_icon {background-color: blue; color: white; }
 +
.selected_icon:after { content: "✓"; }
 
</style>
 
</style>
  
  
 
<div class="oneColumn" >
 
<div class="oneColumn" >
<p> iGEM is a multifaceted competition with many different components. Our websites have a lot of information, from requirements of the competition to tips in 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. </p>
+
<p> 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. </p>
 +
</div>
 +
 
 +
<div class="threeColumns "></div>
 +
<div class="threeColumns ">
 +
<center> <h5> View mode </h5>
  
<center> <h5> View mode </h5> </center>
 
  
<div class="display_control_wrapper">
 
 
<div class="display_control" id="display_as_list">
 
<div class="display_control" id="display_as_list">
 
LIST
 
LIST
 
</div>
 
</div>
  
<div class="display_control"  id="display_as_bucket">
+
<div class="display_control"  id="display_as_bucket">  
 
MENU
 
MENU
 
</div>
 
</div>
 
+
</center>
 
+
 
</div>
 
</div>
  
Line 74: Line 78:
  
  
 +
<div class="threeColumns ">
 
</div>
 
</div>
  
  
 
<div class="oneColumn">
 
<div class="loading_message">
 
LOADING...
 
</div>
 
</div>
 
  
  
Line 357: Line 356:
 
$(document).ready(function() {
 
$(document).ready(function() {
  
load_page_list ( ) ;
 
  
  
$(".loading_message").delay( 400 ).hide();
+
load_page_list ( );
$(".bucket_view").delay( 800 ).fadeIn('slow');
+
 
$("#display_as_bucket").addClass("selected");
+
$(".list_view").delay( 500 ).fadeIn('slow');
 +
$("#display_as_list").addClass("selected");
  
 
$(".collapse_control").click(function() {
 
$(".collapse_control").click(function() {
Line 396: Line 395:
  
 
});
 
});
 
 
  
 
});
 
});
Line 409: Line 406:
  
 
$('ul.mw-allpages-chunk li').each(function () {
 
$('ul.mw-allpages-chunk li').each(function () {
sort_pages( $(this).text(),  $(this).html() );
+
sort_pages( $(this).text(),  $(this).html() );   //sort each page
 
});
 
});
  
Line 435: Line 432:
 
 
  
page_name = page_name.replace(/ /g,"_").replace(/:/g, "_");  // clean string from empty spaces and ":"
+
page_name = page_name.replace(/ /g,"_").replace(/:/g, "_");  // clean string from empty spaces  
  
  
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
Line 470: Line 467:
 
return true;
 
return true;
 
}
 
}
 +
 +
// is this a page from a team ?
 +
 +
else if ( page_name.substring(0, 4 ) == "Team") {
 +
 +
console.log (page_name);
 +
 +
if ( page_name.substring(5, 12 ) == "Example" )  {
 +
if ( page_name.substring(5, 13 ) != "Example2") {
 +
//return false;    // if it is from team example it is fine
 +
 +
 +
var page_help = page_name.replace(/:/g, "_");
 +
 +
if ( page_name == "Team:Example") {
 +
$("#Team_Hub").append("<div id='"+page_name+"_wrapper'><a  href='/"+page_name+"'>"+page_name+"</a> <ol  class='turquoise_link' id='" +page_help+"' ></ol> </div>");
 +
$("#main_container").append("<div id='"+page_name+"_wrapper'><a  href='/"+page_name+"'>"+page_name+"</a> <ol  class='turquoise_link' id='main_"+page_help+"' ></ol> </div>");
 +
}
 +
 +
else {
 +
console.log(page_name);
 +
$("#"+page_help.substring(0, page_help.indexOf("/") ) ).append("<li><a href='/"+page_name+"'> "+page_name.substring( page_name.indexOf("/")+1, page_name.length )+"</a>  <ul id='"+page_help+"'>  </ul></li>");
 +
 +
$("#main_"+page_help.substring(0, page_help.indexOf("/") ) ).append("<li><a href='/"+page_name+"'> "+page_name.substring( page_name.indexOf("/")+1, page_name.length )+"</a>  <ul id='main_"+page_help+"'>  </ul></li>");
 +
 +
}
 +
 +
return true;  // page sorted, done!
 +
}
 +
}
 +
 +
else {
 +
return true;  // this is a page from a team, ignore
 +
}
 +
}
 +
 
// is it a redirect?
 
// is it a redirect?
 
else if( page_link.indexOf("mw-redirect") >= 0)  {  
 
else if( page_link.indexOf("mw-redirect") >= 0)  {  
Line 489: Line 522:
  
 
function append_tier_one ( page_name ) {
 
function append_tier_one ( page_name ) {
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", "Sponsors" ];
 
var was_page_placed = false;
 
var was_page_placed = false;
 
var no_underscores_name = page_name.replace( /_/g , " ");
 
var no_underscores_name = page_name.replace( /_/g , " ");
 +
 +
  
 
for ( i =0; i< categories_for_links.length; i++) {  
 
for ( i =0; i< categories_for_links.length; i++) {  
Line 497: Line 532:
  
 
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_name+"'>"+no_underscores_name+"</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_name+"'>"+no_underscores_name+"</a> <ol  class='turquoise_link' id='main_"+page_name+"' ></ol> </div>");
was_page_placed = true;
+
 
 +
 
 +
was_page_placed = true;
 +
 
 
}
 
}
 
}
 
}
 
  
 
if ( was_page_placed == false ) {
 
if ( was_page_placed == false ) {
Line 521: Line 560:
 
var clean_name = page_name.replace( /\//g , "-");
 
var clean_name = page_name.replace( /\//g , "-");
 
var no_underscores_name = page_name.replace( /_/g , " ");
 
var no_underscores_name = page_name.replace( /_/g , " ");
 +
 +
  
  
 
// for bucket
 
// for bucket
 
$("#"+page_name.substring(0, page_name.indexOf("/") ) ).append("<li><a href='"+page_name+"'> "+no_underscores_name.substring( page_name.indexOf("/")+1, page_name.length )+"</a>  <ul id='"+clean_name+"'>  </ul></li>");
 
$("#"+page_name.substring(0, page_name.indexOf("/") ) ).append("<li><a href='"+page_name+"'> "+no_underscores_name.substring( page_name.indexOf("/")+1, page_name.length )+"</a>  <ul id='"+clean_name+"'>  </ul></li>");
 +
 +
  
 
//for list  
 
//for list  
Line 548: Line 591:
  
 
}
 
}
 +
 +
  
  
Line 564: Line 609:
 
$(".HQ_info").hide();
 
$(".HQ_info").hide();
 
break;
 
break;
 +
 +
 +
 
}
 
}
 +
 +
 +
 +
 +
 +
  
  

Latest revision as of 17:49, 10 June 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