Works almost
This commit is contained in:
7
static/abac/main.js
Normal file
7
static/abac/main.js
Normal file
@@ -0,0 +1,7 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
document.querySelectorAll('tr[data-url]').forEach(row => {
|
||||
row.addEventListener('click', function() {
|
||||
window.location.href = row.dataset.url;
|
||||
});
|
||||
});
|
||||
});
|
||||
4
static/abac/styles.css
Normal file
4
static/abac/styles.css
Normal file
@@ -0,0 +1,4 @@
|
||||
tr[data-url]:hover {
|
||||
cursor: pointer;
|
||||
background-color: #e8e8e8; /* Or any other color you prefer */
|
||||
}
|
||||
Reference in New Issue
Block a user