added fancy ascii image
This commit is contained in:
@@ -127,7 +127,21 @@ function help(req, res) {
|
||||
|
||||
|
||||
function info(req, res){
|
||||
|
||||
respondToCommand(
|
||||
req, res,
|
||||
`<div style='display:flex; justify-content:flex-start; gap:5px;'>
|
||||
<img src='icon-ascii.png' alt='ascii image' style='height: 600px;'/>
|
||||
<div style='display:flex; flex-direction: column; gap:15px; justify-content: center;'>
|
||||
<p>OS: HerpDerpOS</p>
|
||||
<p>USER: ${req.session.state.username}</p>
|
||||
<p>CPU: 12th Gen Intel i7-1260P (12) @ 2.496GHz</p>
|
||||
<p>GPU: NVIDIA Geforce RTX 4060 TI</p>
|
||||
<p>Memory: 812MiB/2048MiB</p>
|
||||
</div>
|
||||
</div>`,
|
||||
req.session.state.directory,
|
||||
"info"
|
||||
)
|
||||
}
|
||||
|
||||
function respondToCommand(req, res, text, directory, command) {
|
||||
|
||||
Reference in New Issue
Block a user