feat: added basic command issuing

This commit is contained in:
Andrew Rioux
2025-02-23 01:46:18 -05:00
parent 9fee4009f2
commit e0af4ad291
13 changed files with 563 additions and 16 deletions

View File

@@ -0,0 +1,38 @@
main.beacons div.commands {
padding: 10px;
overflow-y: scroll;
fieldset {
display: grid;
grid-template-columns: 400px 200px;
grid-row-gap: 10px;
input, label {
margin: 10px;
}
}
.cmd-exec, .cmd-install, .cmd-upload, .cmd-download, .cmd-chdir {
display: none;
}
select[name="cmd_type"]:has(> option[value="exec"]:checked) ~ .cmd-exec {
display: block;
}
select[name="cmd_type"]:has(> option[value="upload"]:checked) ~ .cmd-upload {
display: block;
}
select[name="cmd_type"]:has(> option[value="download"]:checked) ~ .cmd-download {
display: block;
}
select[name="cmd_type"]:has(> option[value="chdir"]:checked) ~ .cmd-chdir {
display: block;
}
select[name="cmd_type"]:has(> option[value="install"]:checked) ~ .cmd-install {
display: block;
}
}