81 lines
2.1 KiB
HTML
81 lines
2.1 KiB
HTML
<!--YOUR PAGE HAVE TO CONTAIN THESE ELEMENT FOR THE API TO WORK:-->
|
|
<script>
|
|
document.body.innerText = `
|
|
YOUR PAGE HAVE TO CONTAIN THESE ELEMENT FOR THE API TO WORK:
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>TO REPLACE WITH YOUR TITLE</title>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
:root{
|
|
--bg-color: black;
|
|
--txt-color: white;
|
|
}
|
|
html, body{
|
|
background-color:var(--bg-color);
|
|
color: var(--txt-color);
|
|
margin:0;
|
|
height:100%;
|
|
min-height:100vh;
|
|
display:flex;
|
|
flex-direction:column;
|
|
word-wrap: break-word;
|
|
word-break: break-all;
|
|
z-index:2
|
|
}
|
|
.second {
|
|
flex-grow: 1;
|
|
}
|
|
#termcontent{
|
|
display: fixed;
|
|
left:0;
|
|
top:0;
|
|
height:95%;
|
|
width:100%;
|
|
overflow: auto
|
|
}
|
|
#divinput{
|
|
display:flex;
|
|
left:0;
|
|
bottom:0;
|
|
height:5%;
|
|
width:100%
|
|
}
|
|
#terminpt{
|
|
border: 0px solid !important;
|
|
background-color: var(--bg-color);
|
|
color:var(--txt-color);
|
|
width:95%
|
|
}
|
|
/*#terminptdiv{
|
|
float: none
|
|
}*/
|
|
*:focus {
|
|
outline: none;
|
|
}
|
|
/*#divofinfos{
|
|
float:left
|
|
}*/
|
|
#matrixcanvas{
|
|
width:100%;
|
|
height:100%;
|
|
position:fixed;
|
|
z-index:-1
|
|
}
|
|
</style>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body>
|
|
<!--username and ip: green, $ or %: white, commands: white-->
|
|
<div id="termcontent">
|
|
</div>
|
|
<div id="divinput">
|
|
<span id=spanofinfos><span id="inptindic"></span><span id="inptname"></span></span><span class=second><input id=terminpt type="text"/></span>
|
|
</div>
|
|
<canvas id=matrixcanvas style='width:100%; height: 100%'>
|
|
</canvas>
|
|
<script src="//api.gzod01.fr/scripts/termapi.js"></script>
|
|
</body>
|
|
</html>`</script>
|