WIP
This commit is contained in:
parent
36baaf0caf
commit
ad638acaf3
7 changed files with 120 additions and 37 deletions
17
static/js/dns.mjs
Normal file
17
static/js/dns.mjs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
export class Application {
|
||||
constructor() {
|
||||
this.addTopHandlers()
|
||||
}
|
||||
|
||||
addTopHandlers() {
|
||||
for (const top of document.querySelectorAll('.top .fqdn'))
|
||||
top.addEventListener('click', event=>this.handlerTop(event))
|
||||
}
|
||||
|
||||
handlerTop(event) {
|
||||
const fqdn = event.target
|
||||
const top = fqdn.closest('.top')
|
||||
const records = top.querySelector('.records')
|
||||
console.log(fqdn, top, records)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue