Difference between revisions of "Team:GO Paris-Saclay"

Line 30: Line 30:
 
}
 
}
 
</style>
 
</style>
 +
</html>
 +
 +
 +
 +
<html>
 +
  <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">
 +
<app-root></app-root>
 +
</div>
 +
 +
<script>
 +
const cssreq = new XMLHttpRequest();
 +
cssreq.open('GET', 'https://static.igem.org/mediawiki/2018/2/22/T--GO_Paris-Saclay--maincss.txt', false);
 +
console.log("Sending CSS XHR...");
 +
cssreq.send(null);
 +
console.log("Received CSS results");
 +
var b64_csstext = cssreq.responseText;
 +
var css_text = atob(b64_csstext);
 +
$('head').append("<style>"+css_text+"</style>");
 +
 +
const req = new XMLHttpRequest();
 +
req.open('GET', 'https://static.igem.org/mediawiki/2018/e/ee/T--GO_Paris-Saclay--mainscript.txt', false);
 +
console.log("Sending JS XHR...");
 +
req.send(null);
 +
console.log("Received JS results");
 +
var b64_text = req.responseText;
 +
var js_text = atob(b64_text);
 +
eval(js_text);
 +
 +
 +
setTimeout(function(){
 +
    $(".body").append($("#bigmaindiv"));
 +
 +
$('#top_title').remove();
 +
$('#bigmaindiv').insertBefore('#content'); }, 0);
 +
</script>
 +
 +
<style>
 +
#content{
 +
background-color: #FFFFFF00;
 +
width: 0px;
 +
padding: 0px;
 +
border: none;
 +
margin-left: 0px;
 +
margin-right: auto;
 +
}
 +
#bigmaindiv
 +
{
 +
width:100%;
 +
position:absolute;
 +
background-color: white;
 +
margin-left : 0px;
 +
margin-top: 25px
 +
margin-right : 0px;
 +
}
 +
body{
 +
background-color: #FFFFFF;
 +
}
 +
</style>
 +
 
</html>
 
</html>

Revision as of 09:28, 8 September 2018

Loading, please wait