Team:SUSTC-Shenzhen/WikiPlay/index.htm

From 2014.igem.org

(Difference between revisions)
Line 42: Line 42:
     </ul>
     </ul>
     <ul class="nav navbar-nav pull-right">
     <ul class="nav navbar-nav pull-right">
-
       <li class="active"><a onload="this.innerHTML='Logged in as ' + wgUserName;">Log in</a>
+
       <li><a id="nav-login-status">Log in</a>
       </li>
       </li>
     </ul>
     </ul>
Line 70: Line 70:
</body>
</body>
<footer>
<footer>
 +
  <script>
 +
    $(document).ready(function(){
 +
      if(wgUserName!='') {
 +
        $("#nav-login-status").text(wgUserName);
 +
      } else {
 +
       
 +
      }
 +
    });
 +
  </script>
   <script>
   <script>
   (function(i, s, o, g, r, a, m) {
   (function(i, s, o, g, r, a, m) {

Revision as of 03:45, 27 July 2014

<head>

 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta name="description" content="">
 <meta name="author" content="">
 <link rel="shortcut icon" href="/favicon.ico">
 <title>Team SUSTC-Shenzhen</title>
 <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato">
 <style>
 body {
   margin-top: 70px;
   font-family: Lato, inherit;
 }
 </style>


</head> <nav role="navigation" class="navbar navbar-default navbar-fixed-top">

</nav>

<body>

iGEM SUSTC-Shenzhen

Believe that something amazing will happen.

<a href="http://www.freelists.org/list/igem-sustc" target="_blank" class="btn btn-lg btn-default">Stay focused</a>

2014 SUSTC-Shenzhen

 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>

</body> <footer>

 <script>
   $(document).ready(function(){
     if(wgUserName!=) {
       $("#nav-login-status").text(wgUserName);
     } else {
       
     }
   });
 </script>
 <script>
 (function(i, s, o, g, r, a, m) {
   i['GoogleAnalyticsObject'] = r;
   i[r] = i[r] || function() {
     (i[r].q = i[r].q || []).push(arguments)
   }, i[r].l = 1 * new Date();
   a = s.createElement(o),
   m = s.getElementsByTagName(o)[0];
   a.async = 1;
   a.src = g;
   m.parentNode.insertBefore(a, m)
 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
 ga('create', 'UA-42690126-5', 'igem.org');
 ga('send', 'pageview');
 </script>

</footer>