Added fake terminal to /nodeDetails

It doesn't do anything yet, but it should allow sending commands to servers and watching their output.
This commit is contained in:
Danielv123 committed 2017-07-13 11:59:38 +02:00
1 parent e3b8926e35
commit 512b3c66a5
5 files changed
+365 -2

No files matched your search

+73
View File
@@ -68,6 +68,79 @@ a:hover {
#contentGraph {
float:left;
}
/* terminal */
.Terminal p div {
color:lime;
}
.Terminal p span {
color:yellow;
}
.Terminal p > span:nth-child(1):before {
content:"> ";
}
.Terminal {
overflow-y: scroll;
position:absolute;
border-left:1px solid darkgrey;
border-bottom:1px solid darkgrey;
height:400px;
transition:height 0.2s linear;
}
#terminal {
width:640px;
height:400px;
position:fixed;
right:10px;
bottom:10px;
left:50%;
top:50%;
}
/* titleBar, the bar above windows where you can minimize, maximize etc. Mostly for the terminal. */
.titleBar {
width:100%;
height:25px;
background-color:white;
}
.titleBar > .title {
float:left;
margin-top: 3px;
margin-left: 5px;
}
.titleBar p {
color:black;
}
.titleBar > .titleButton {
width:50px;
height:100%;
float:right;
background-color:white;
color:black;
transition:0.3s;
}
.titleBar > .titleButton:hover {
background-color: lightgray;
}
.titleBar > .titleButton:before {
margin-left: 18px;
}
.titleBar > .titleButton.close:hover {
background-color: red;
color:white;
}
.titleBar > .titleButton.close:before {
content:"✕";
margin-top:5px;
}
.titleBar > .titleButton.maximize:before {
content:"⬜";
margin-top:5px;
}
.titleBar > .titleButton.minimize:before {
content:"__";
margin-left:17px;
}
/* Slave stuff */
.slaveBox {
float:left;