mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 14:00:31 +02:00
search and cleanup
This commit is contained in:
parent
eeb54aa36a
commit
f436edffe2
3 changed files with 4488 additions and 22265 deletions
26737
skin-ids/index.html
26737
skin-ids/index.html
File diff suppressed because it is too large
Load diff
15
skin-ids/index.js
Normal file
15
skin-ids/index.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
function filterSkins() {
|
||||
const input = document.getElementById("searchInput").value.toLowerCase();
|
||||
const rows = document.querySelectorAll("tbody tr");
|
||||
|
||||
rows.forEach(row => {
|
||||
const name = row.querySelector("td span")?.textContent.toLowerCase() || "";
|
||||
const id = row.querySelector("td code")?.textContent.toLowerCase() || "";
|
||||
|
||||
if (name.includes(input) || id.includes(input)) {
|
||||
row.style.display = "";
|
||||
} else {
|
||||
row.style.display = "none";
|
||||
}
|
||||
});
|
||||
}
|
1
skin-ids/style.css
Normal file
1
skin-ids/style.css
Normal file
|
@ -0,0 +1 @@
|
|||
@import url(/global.css);
|
Loading…
Add table
Add a link
Reference in a new issue