|
|
(43 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− |
| |
| <html> | | <html> |
| + | <!-- predisplay while loading --> |
| + | <style> |
| + | body { |
| + | width: 1200px; |
| + | background-color: rgb(217,217,217); |
| + | margin: auto; |
| + | font-family: 'Roboto', Helvetica, SansSerif; |
| + | padding: 0; |
| + | color: black; |
| + | background-color:rgb(217,217,217); |
| + | word-wrap: break-word; |
| + | } |
| | | |
− | <meta charset="utf-8"> | + | #cssmenu { |
| + | background: white; |
| + | margin-top: 25px; |
| + | width: 100%; |
| + | padding: 0; |
| + | line-height: 1; |
| + | display: block; |
| + | position: relative; |
| + | top: 0em; |
| + | z-index: 1000; |
| + | font-family: 'PT Sans', sans-serif; |
| | | |
− |
| + | } |
− | <base href="https://2018.igem.org/Team:GO_Paris-Saclay">
| + | |
| | | |
− | <meta name="viewport" content="width=device-width, initial-scale=1"> | + | #cssmenu ul { |
| + | list-style: none; |
| + | margin: 0; |
| + | padding: 0; |
| + | display: block; |
| + | z-index: 1000; |
| + | } |
| + | #cssmenu ul:after, |
| + | #cssmenu:after { |
| + | content: " "; |
| + | display: block; |
| + | font-size: 0; |
| + | height: 0; |
| + | clear: both; |
| + | visibility: hidden; |
| + | } |
| + | #cssmenu ul li { |
| + | margin: 0; |
| + | margin-right: 5px; |
| + | padding: 0; |
| + | display: block; |
| + | position: relative; |
| + | z-index: 1000; |
| | | |
| + | } |
| + | #cssmenu ul li a { |
| + | text-decoration: none; |
| + | display: block; |
| + | margin: 0; |
| + | -webkit-transition: color .2s ease; |
| + | -moz-transition: color .2s ease; |
| + | -ms-transition: color .2s ease; |
| + | -o-transition: color .2s ease; |
| + | transition: color .2s ease; |
| + | -webkit-box-sizing: border-box; |
| + | -moz-box-sizing: border-box; |
| + | box-sizing: border-box; |
| + | z-index: 1000; |
| + | |
| + | } |
| + | |
| + | .container { |
| + | position: relative; |
| + | margin: auto; |
| + | background-color: white; |
| + | height: 100%; |
| + | } |
| + | .waiteranimationdiv { |
| + | margin-left: auto; |
| + | margin-right: auto; |
| + | width: 100%; |
| + | } |
| + | |
| + | </style> |
| + | <div id="removeme"> |
| + | <nav> |
| + | <div id='cssmenu'> |
| + | <ul> |
| + | <li></li> |
| + | <li><a><span>Project</span></a> |
| + | |
| + | </li> |
| + | |
| + | <li><a><span>Lab</span></a> |
| + | |
| + | </li> |
| + | |
| + | <li><a><span>Parts</span></a> |
| + | </li> |
| + | <li><a ><span>Model</span></a> |
| + | |
| + | </li> |
| + | |
| + | <li><a ><span>Contribution</span></a> |
| + | |
| + | </li> |
| + | <li><a ><span>Human practice</span></a></li> |
| + | <li><a ><span>Acknowledgement</span></a> |
| + | </li> |
| + | </ul> |
| + | </div> |
| + | </nav> |
| + | <div class="container"><div class="waiteranimationdiv"><img class="spinner" src="https://static.igem.org/mediawiki/2018/c/cc/T--GO_Paris-Saclay--mascotte_spinner.png"> Loading, please wait <progress id="progress" value="0"></progress><span id="progdisplay"></span></div></div> |
| + | </div> |
| + | |
| + | <style> |
| + | .spinner { |
| + | width: 40px; |
| + | |
| + | margin: 100px auto; |
| + | -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out; |
| + | animation: sk-rotateplane 1.2s infinite ease-in-out; |
| + | } |
| + | |
| + | @-webkit-keyframes sk-rotateplane { |
| + | 0% { -webkit-transform: perspective(120px) } |
| + | 50% { -webkit-transform: perspective(120px) rotateY(180deg) } |
| + | 100% { -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg) } |
| + | } |
| + | |
| + | @keyframes sk-rotateplane { |
| + | 0% { |
| + | transform: perspective(120px) rotateX(0deg) rotateY(0deg); |
| + | -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) |
| + | } 50% { |
| + | transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); |
| + | -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) |
| + | } 100% { |
| + | transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); |
| + | -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); |
| + | } |
| + | } |
| + | |
| + | </style> |
| + | |
| + | <!-- end predisplay --> |
| + | |
| + | <meta charset="utf-8"> |
| + | <base href="https://2018.igem.org/Team:GO_Paris-Saclay"> |
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| | | |
| <div id="bigmaindiv"> | | <div id="bigmaindiv"> |
Line 14: |
Line 152: |
| </div> | | </div> |
| | | |
| + | <script> |
| + | $('#top_title').remove(); |
| + | var progressBar = document.getElementById("progress"); |
| + | var display = document.getElementById("progdisplay"); |
| | | |
− | <link rel="stylesheet" href="data:text/css;base64,Lm1hdC1kYXRlcGlja2VyLWNvbnRlbnQubWF0LWFjY2VudCAubWF0LWNhbGVuZGFyLWJvZHktdG9kYXkubWF0LWNhbGVuZGFyLWJvZHktc2VsZWN0ZWR7Ym94LXNoYWRvdzppbnNldCAwIDAgMCAxcHggcmdiYSgwLDAsMCwuODcpO2JveC1zaGFkb3c6aW5zZXQgMCAwIDAgMXB4ICNmZmZ9Lm1hdC1kYXRlcGlja2VyLWNvbnRlbnQubWF0LXdhcm4gLm1hdC1jYWxlbmRhci1ib2R5LXRvZGF5Lm1hdC1jYWxlbmRhci1ib2R5LXNlbGVjdGVke2JveC1zaGFkb3c6aW5zZXQgMCAwIDAgMXB4ICNmZmY7Ym94LXNoYWRvdzppbnNldCAwIDAgMCAxcHggcmdiYSgwLDAsMCwuODcpfS5tYXQtaW5wdXQtZWxlbWVudHtjYXJldC1jb2xvcjojNjczYWI3O2NhcmV0LWNvbG9yOiM2MjAwM2N9Lm1hdC1hY2NlbnQgLm1hdC1pbnB1dC1lbGVtZW50e2NhcmV0LWNvbG9yOiNmZmQ3NDB9Lm1hdC1mb3JtLWZpZWxkLWludmFsaWQgLm1hdC1pbnB1dC1lbGVtZW50LC5tYXQtd2FybiAubWF0LWlucHV0LWVsZW1lbnR7Y2FyZXQtY29sb3I6I2Y0NDMzNn0ubWF0LXByb2dyZXNzLWJhci1iYWNrZ3J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1hZ2VzLzMvM2YvVC0tR09fUGFyaXMtU2FjbGF5LS1NYXRlcmlhbEljb25zLVJlZ3VsYXIuc3ZnI01hdGVyaWFsSWNvbnMtUmVndWxhcikgZm9ybWF0KCJzdmciKX0ubWF0ZXJpYWwtaWNvbnN7Zm9udC1mYW1pbHk6J01hdGVyaWFsIEljb25zJztmb250LXdlaWdodDo0MDA7Zm9udC1zdHlsZTpub3JtYWw7Zm9udC1zaXplOjI0cHg7bGluZS1oZWlnaHQ6MTtsZXR0ZXItc3BhY2luZzpub3JtYWw7dGV4dC10cmFuc2Zvcm06bm9uZTtkaXNwbGF5OmlubGluZS1ibG9jazt3aGl0ZS1zcGFjZTpub3dyYXA7d29yZC13cmFwOm5vcm1hbDtkaXJlY3Rpb246bHRyOy1tb3otZm9udC1mZWF0dXJlLXNldHRpbmdzOidsaWdhJzstbW96LW9zeC1mb250LXNtb290aGluZzpncmF5c2NhbGV9aDEsaDIsaDMsaDQsaDUsaDZ7Ym9yZGVyLWJvdHRvbTowfS5tYXQtbGlzdHtwYWRkaW5nLXRvcDowIWltcG9ydGFudH1uZy1saXN0LWl0ZW0gLm1hdC1saXN0LWl0ZW06aG92ZXJ7YmFja2dyb3VuZC1jb2xvcjpyZ2JhKDAsMCwwLC4wNCkhaW1wb3J0YW50fW5nLWxpc3QtaXRlbSAubWF0LWRpdmlkZXJ7Ym9yZGVyOjB9">
| + | function reqListener () { |
| + | var b64_csstext = this.responseText; |
| + | console.log("Received CSS results"); |
| + | var css_text = atob(b64_csstext); |
| + | $('head').append("<style>"+css_text+"</style>"); |
| + | } |
| | | |
− | <script>var base64script = atob("IWZ1bmN0aW9uKGUpe2Z1bmN0aW9uIHIocil7Zm9yKHZhciBuLGksYT1yWzBdLGM9clsxXSxsPXJbMl0scD0wLGY9W107cDxhLmxlbmd0aDtwKyspb1tpPWFbcF1dJiZmLnB1c2gob1tpXVswXSksb1tpXT0wO2ZvcihuIGluIGMpT2JqZWN0LnByb3RvdHlwZS5oYXNP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hciByPXQuY2FsbCh0aGlzKXx8dGhpcztyZXR1cm4gci5wYXJlbnQ9ZSxyLm91dGVyVmFsdWU9bixyLm91dGVySW5kZXg9aSxyLmluZGV4PTAscn1yZXR1cm4gaS5iKGUsdCksZS5wcm90b3R5cGUuX25leHQ9ZnVuY3Rpb24odCl7dGhpcy5wYXJlbnQubm90aWZ5TmV4dCh0aGlzLm91dGVyVmFsdWUsdCx0aGlzLm91dGVySW5kZXgsdGhpcy5pbmRleCsrLHRoaXMpfSxlLnByb3RvdHlwZS5fZXJyb3I9ZnVuY3Rpb24odCl7dGhpcy5wYXJlbnQubm90aWZ5RXJyb3IodCx0aGlzKSx0aGlzLnVuc3Vic2NyaWJlKCl9LGUucHJvdG90eXBlLl9jb21wbGV0ZT1mdW5jdGlvbigpe3RoaXMucGFyZW50Lm5vdGlmeUNvbXBsZXRlKHRoaXMpLHRoaXMudW5zdWJzY3JpYmUoKX0sZX0obigiRkZPbyIpLmEpLG89bigiRnhiMSIpO2Z1bmN0aW9uIGEodCxlLG4saSl7dmFyIGE9bmV3IHIodCxuLGkpO3JldHVybiBPYmplY3Qoby5hKShlKShhKX1uLmQoZSwiYSIsZnVuY3Rpb24oKXtyZXR1cm4gYX0pfX0sW1s0LDVdXV0pOw==");eval(base64script); </script>
| + | var oReq = new XMLHttpRequest(); |
| + | oReq.addEventListener("load", reqListener); |
| + | oReq.open("GET", "https://static.igem.org/mediawiki/2018/2/22/T--GO_Paris-Saclay--maincss.txt"); |
| + | console.log("Sending CSS XHR..."); |
| + | oReq.send(); |
| | | |
| + | |
| + | function JSreqLoader () { |
| + | var b64_text = this.responseText; |
| + | console.log("Received JS results"); |
| + | |
| + | var js_text = atob(b64_text); |
| + | eval(js_text); |
| | | |
| | | |
− | <script>
| |
| setTimeout(function(){ | | setTimeout(function(){ |
| $(".body").append($("#bigmaindiv")); | | $(".body").append($("#bigmaindiv")); |
| | | |
− | $('#top_title').remove(); | + | $('#removeme').remove(); |
| $('#bigmaindiv').insertBefore('#content'); }, 0); | | $('#bigmaindiv').insertBefore('#content'); }, 0); |
− | </script> | + | setTimeout(function(){ |
− | <style> | + | $('#cssmenu').prepend('<div id="menu-button">Menu</div>'); |
− | #content{ | + | $('#cssmenu #menu-button').on('click', function(){ |
− | background-color: #FFFFFF00;
| + | var menu = $(this).next('ul'); |
− | width: 0px;
| + | if (menu.hasClass('open')) { |
− | padding: 0px;
| + | menu.removeClass('open'); |
− | border: none;
| + | } |
− | margin-left: 0px;
| + | else { |
− | margin-right: auto;
| + | menu.addClass('open'); |
| + | } |
| + | }); |
| + | },1000); |
| } | | } |
− | #bigmaindiv
| + | |
− | {
| + | |
− | width:100%;
| + | const req = new XMLHttpRequest(); |
− | position:absolute;
| + | req.addEventListener("load", JSreqLoader); |
− | background-color: white;
| + | |
− | margin-left : 0px;
| + | req.open('GET', 'https://static.igem.org/mediawiki/2018/e/ee/T--GO_Paris-Saclay--mainscript.txt', true); |
− | margin-top: 25px
| + | console.log("Sending JS XHR..."); |
− | margin-right : 0px; | + | req.onprogress = function(e) { |
− | } | + | if (e.lengthComputable) { |
− | body{
| + | progressBar.max = e.total; |
− | background-color: #FFFFFF;
| + | progressBar.value = e.loaded; |
− | } | + | display.innerText = Math.floor((e.loaded / e.total) * 100) + '%'; |
− | </style> | + | } |
| + | }; |
| + | req.send(null); |
| + | |
| + | </script> |
| + | <script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
| + | <script type="text/x-mathjax-config"> |
| + | MathJax.Hub.Config({ |
| + | tex2jax: { |
| + | inlineMath: [ ['$','$'], ["\\(","\\)"] ], |
| + | displayMath: [ ['$$','$$'], ["\\[","\\]"] ], |
| + | processEscapes: true, |
| + | processEnvironments: true |
| + | }, |
| + | // Center justify equations in code and markdown cells. Elsewhere |
| + | // we use CSS to left justify single line equations in code cells. |
| + | displayAlign: 'center', |
| + | "HTML-CSS": { |
| + | styles: {'.MathJax_Display': {"margin": 0}}, |
| + | linebreaks: { automatic: true } |
| + | } |
| + | }); |
| + | </script> |
| </html> | | </html> |