|
|
(51 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"); |
| | | |
| + | function reqListener () { |
| + | var b64_csstext = this.responseText; |
| + | console.log("Received CSS results"); |
| + | var css_text = atob(b64_csstext); |
| + | $('head').append("<style>"+css_text+"</style>"); |
| + | } |
| | | |
− | <link rel="stylesheet" href="data:text/css;base64,QG1lZGlhIHNjcmVlbiBhbmQgKC1tcy1oaWdoLWNvbnRyYXN0OmJsYWNrLW9uLXdoaXRlKXsubWF0LWNoZWNrYm94LWNoZWNrbWFyay1wYXRoe3N0cm9rZTojMDAwIWltcG9ydGFudH19QG1lZGlhIHNjcmVlbiBhbmQgKC1tcy1oaWdoLWNvbnRyYXN0OmFjdGl2ZSl7Lm1hdC1jaGVja2JveC1kaXNhYmxlZHtvcGFjaXR5Oi41fS5tYXQtY2hlY2tib3gtYmFja2dyb3VuZHtiYWNrZ3JvdW5kOjAgMH0ubWF0LXJpcHBsZXtkaXNwbGF5Om5vbmV9fS5tYXQtdGFibGUgdGJvZHksLm1hdC10YWJsZSB0Zm9vdCwubWF0LXRhYmxlIHRoZWFkLC5tYXQtdGFibGUtc3RpY2t5LFttYXQtZm9vdGVyLXJvd10sW21hdC1oZWFkZXItcm93XSxbbWF0LXJvd10sbWF0LWZvb3Rlci1yb3csbWF0LWhlYWRlci1yb3csbWF0LXJvd3tiYWNrZ3JvdW5kOmluaGVyaXR9Lm1hdC1kYXRlcGlja2VyLWNvbnRlbnQubWF0LWFjY2VudCAubWF0LWNhbGVuZGFyL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ly8yMDE4LmlnZW0ub3JnL3dpa2kvaW1hZ2VzLzIvMjgvVC0tR09fUGFyaXMtU2FjbGF5LS1NYXRlcmlhbEljb25zLVJlZ3VsYXIud29mZikgZm9ybWF0KCJ3b2ZmIiksdXJsKGh0dHA6Ly8yMDE4LmlnZW0ub3JnL3dpa2kvaW1hZ2VzLzEvMWUvVC0tR09fUGFyaXMtU2FjbGF5LS1NYXRlcmlhbEljb25zLVJlZ3VsYXIudHRmKSBmb3JtYXQoInRydWV0eXBlIiksdXJsKGh0dHA6Ly8yMDE4LmlnZW0ub3JnL3dpa2kvaW1hZ2VzLzMvM2YvVC0tR09fUGFyaXMtU2FjbGF5LS1NYXRlcmlhbEljb25zLVJlZ3VsYXIuc3ZnI01hdGVyaWFsSWNvbnMtUmVndWxhcikgZm9ybWF0KCJzdmciKX0ubWF0ZXJpYWwtaWNvbnN7Zm9udC1mYW1pbHk6J01hdGVyaWFsIEljb25zJztmb250LXdlaWdodDo0MDA7Zm9udC1zdHlsZTpub3JtYWw7Zm9udC1zaXplOjI0cHg7bGluZS1oZWlnaHQ6MTtsZXR0ZXItc3BhY2luZzpub3JtYWw7dGV4dC10cmFuc2Zvcm06bm9uZTtkaXNwbGF5OmlubGluZS1ibG9jazt3aGl0ZS1zcGFjZTpub3dyYXA7d29yZC13cmFwOm5vcm1hbDtkaXJlY3Rpb246bHRyOy1tb3otZm9udC1mZWF0dXJlLXNldHRpbmdzOidsaWdhJzstbW96LW9zeC1mb250LXNtb290aGluZzpncmF5c2NhbGV9aDEsaDIsaDMsaDQsaDUsaDZ7Ym9yZGVyLWJvdHRvbTowfQ==">
| + | 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(); |
| | | |
| | | |
− | <script>var base64script = atob("IWZ1bmN0aW9uKGUpe2Z1bmN0aW9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XSksZD0ocz1bNzksNTQsNzQsNjIsODUsNTUsODgsODUsNTEsODUsNTQsODQsNzgsNDcsODMsNTIsNjIsODQsNTIsNzksNTEsNDcsNzgsNjksNzQsODMsNTUsNzYsNzgsNzksNzMsNzcsNjYsODAsNzQsNTIsNDgsODAsNTksOTAsODAsNTgsODQsNTgsNzMsODMsNjQsNTMsODIsNTksNzUsOTAsNTQsODAsNTQsODMsNzEsNjQsNzcsODEsNTksODQsNDgsODIsNjAsOTIsNzgsNzgsNjUsNzMsODIsNTYsNzksNzEsNjIsNzYsNjAsNzgsNzYsODMsNzUsODIsNzAsNjUsNzMsODgsNzYsODAsNDgsODYsNjAsOTAsNTAsNzgsNjMsNzIsODQsNzUsNTEsODIsNjIsODgsNDksODMsODEsNDcsODQsNTIsODYsODEsNzUsNTksODksNzksNTksODEsNTAsODUsNTksODcsNTMsNjksNzcsNTYsODgsODEsNDUsODIsNTUsOTAsNDUsODMsNTYsODksNDYsODIsNTEsODYsNTMsNzksODEsNjAsODIsNzcsNzYsNTksODAsNDksOTYsNTMsNzcsNzcsNjUsODEsNzEsNzAsODEsOTMsNTMsODksNDUsODYsNTgsNzgsNjYsNzYsNjMsODgsNTIsOTMsNDksNTcsNzcsNjgsODEsODEsNzMsNTAsODUsNzQsNTUsNzcsODMsODMsNTEsNzgsODQsNDYsODMsNTUsODEsNTcsNzYsODQsNzcsODEsODcsNzcsNTEsNzgsNjAsODIsOTEsNTMsNzgsNDYsNzcsODQsNDksODMsNzEsODAsNDksNzUsNjQsNzYsNTMsOTQsNTUsNzYsNTAsODIsNTQsNzUsNzgsNzksNzgsNzgsNzAsNzksNzAsNTQsODYsNTAsOTAsNTQsNTQsNzcsNzksNjQsNzUsNDcsODYsNjMsODUsODIsNTcsODIsNjcsNzQsNTQsODMsNzMsNzMsODgsODAsNzEsODMsNTYsNzksNzgsODQsNTgsODMsNDMsNjAsNzUsODEsNDYsOTAsNDYsNzRdKS5sZW5ndGgsbT1fLmUoKS5kb21haW4oby5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uYyx0LkdhLFtdKSx0LldhKDEwNzM3NDIzMzYsaSxpLFt0LnosdC5jXSksdC5XYSgyNTYsdC5aLCEwLFtdKSx0LldhKDI1NixKLmEsIkJyb3dzZXJBbmltYXRpb25zIixbXSksdC5XYSgyNTYsX2wubCwiWFNSRi1UT0tFTiIsW10pLHQuV2EoMjU2LF9sLm0sIlgtWFNSRi1UT0tFTiIsW10pXSl9KTtlLmEucHJvZHVjdGlvbiYmT2JqZWN0KHQuUykoKSxkbC5qKCkuYm9vdHN0cmFwTW9kdWxlRmFjdG9yeShZbCkuY2F0Y2goZnVuY3Rpb24obCl7cmV0dXJuIGNvbnNvbGUubG9nKGwpfSl9fSxbWzQsMyw0XV1dKTs=");eval(base64script); </script>
| + | 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:100vw;
| + | 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> |