79 lines
2.1 KiB
HTML
79 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>CyberTermHack</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">
|
|
<!-- oldcommands and outputs -->
|
|
</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>
|
|
<!-- actual command with username and ip, $ or %, input for command, enter to send command -->
|
|
</div>
|
|
<canvas id=matrixcanvas style='width:100%; height: 100%'>
|
|
</canvas>
|
|
<script src=//api.gzod01.fr/scripts/termapi.js></script>
|
|
<script src="maincode.js"></script>
|
|
</body>
|
|
</html>
|