Line 55: | Line 55: | ||
<div class="view_format selected_view" id="list_view"> PAGE LIST </div> | <div class="view_format selected_view" id="list_view"> PAGE LIST </div> | ||
<div class="view_format" id="team_view"> TEAM PAGES </div> | <div class="view_format" id="team_view"> TEAM PAGES </div> | ||
− | <div class="view_format" id="hq_view"> HQ </div> | + | <div class="view_format HQ_info" id="hq_view"> HQ </div> |
</div> | </div> | ||
Line 93: | Line 93: | ||
− | <div class="view_format_content" id="hq_view_content"> | + | <div class="view_format_content HQ_info" id="hq_view_content"> |
<div class="column full_size"> | <div class="column full_size"> | ||
Line 141: | Line 141: | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | |||
<script> | <script> | ||
Line 147: | Line 150: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
+ | |||
+ | check_user_priviliges(); | ||
+ | |||
// call the function to load the page list | // call the function to load the page list | ||
load_page_list("https://2017.igem.org/Special:AllPages"); | load_page_list("https://2017.igem.org/Special:AllPages"); | ||
Line 172: | Line 178: | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
//FUNCTIONS | //FUNCTIONS | ||
+ | |||
+ | function check_user_priviliges (){ | ||
+ | |||
+ | switch ( wgUserName) { | ||
+ | |||
+ | case "Sifuentes anita": | ||
+ | case "Vinoo": | ||
+ | case "THaddock": | ||
+ | case "Meagan": | ||
+ | $(".HQ_info").delay( 800 ).fadeIn('slow'); | ||
+ | break; | ||
+ | |||
+ | default: | ||
+ | $(".HQ_info").hide(); | ||
+ | break; | ||
+ | } | ||
+ | } | ||
Line 278: | Line 301: | ||
case 3: default://this page might be a subpage inside a page in a hub list | case 3: default://this page might be a subpage inside a page in a hub list | ||
+ | |||
//check if this is a team's page | //check if this is a team's page | ||
if(page_name.substring(0,4) == "Team"){ | if(page_name.substring(0,4) == "Team"){ | ||
− | |||
append_page_to = page_name.substring(0, page_name.indexOf("/")); | append_page_to = page_name.substring(0, page_name.indexOf("/")); | ||
append_page_to = "#Sitemap0" + append_page_to.replace( /:/g , "0"); | append_page_to = "#Sitemap0" + append_page_to.replace( /:/g , "0"); | ||
− | page_name_display = page_name.substring( | + | page_name_display = page_name.substring(4, page_name.length); |
append_page(append_page_to, page_name, page_name_display, ""); | append_page(append_page_to, page_name, page_name_display, ""); | ||
} | } |
Revision as of 15:13, 24 April 2017
SITEMAP
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.
PAGE LIST
TEAM PAGES
HQ
LIST
TEAMS
HQ
This is the view for iGEM HQ
Wiki in numbers
Total pages | Wiki pages | HQ pages | Redirect pages | Not sorted | Team pages |
---|---|---|---|---|---|