Update selectall checkbox on index page
This commit is contained in:
+2
-6
@@ -46,10 +46,6 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
|
||||||
padding: 5px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.controls {
|
.controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@@ -73,7 +69,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><input id="selectall" type="checkbox">Name</th>
|
<th><label><input id="selectall" type="checkbox">Name</label></th>
|
||||||
<th>Online</th>
|
<th>Online</th>
|
||||||
<th>Commands</th>
|
<th>Commands</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -105,7 +101,7 @@
|
|||||||
window.location.href = `${url}&mode=${mode}`;
|
window.location.href = `${url}&mode=${mode}`;
|
||||||
});
|
});
|
||||||
|
|
||||||
const tbody = document.querySelector("#streams > tbody");
|
const tbody = document.getElementById("streams");
|
||||||
tbody.addEventListener("click", ev => {
|
tbody.addEventListener("click", ev => {
|
||||||
if (ev.target.innerText !== "delete") return;
|
if (ev.target.innerText !== "delete") return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user