Switched everything to pylon

This commit is contained in:
rain
2023-05-23 15:50:31 -05:00
parent 326c6a0e8b
commit 2c0afae749
24 changed files with 216 additions and 640 deletions
+62
View File
@@ -0,0 +1,62 @@
body{
background-color: black;
color: black;
font-family: Arial, Helvetica, sans-serif;
text-align:center;
margin:2% 5% 0 5%;
}
h2{
color:gray;
padding-bottom:0;
}
#scan-table{
width: 100%;
height: 100%;
}
th{
padding:5px;
}
tr{
border:1px solid white;
background-color: #E8EDFF;
}
td{
padding:5px;
}
tr td:last-child{
text-align: left;
}
.table-header{
border-bottom:10px solid white;
font-weight: bold;
background-color: #B9C9FE;
}
tbody tr:hover td {
background-color: #FFEFC6;
cursor: pointer;
}
table tr:last-child td:first-child {
border-bottom-left-radius: 10px;
}
table tr:first-child th:first-child {
border-top-left-radius: 10px;
}
table tr:last-child td:last-child {
border-bottom-right-radius: 10px;
}
table tr:first-child th:last-child {
border-top-right-radius: 10px;
}
a:hover, a:link, a:visited, a:active{
color:gray;
text-decoration:none;
}
+16
View File
@@ -0,0 +1,16 @@
function filter_ports(filter) {
let portCol = document.querySelectorAll("tbody tr td:last-child");
portCol.forEach((item) => {
if(!new RegExp(filter).test(item.innerText)){
item.parentNode.style.display = "none";
} else {
item.parentNode.style.display = "table-row";
}
});
}
document.querySelector("#ports").addEventListener("keyup", (event) => {
if (event.key === "Enter") {
filter_ports(event.srcElement.value);
}
});
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB