Some improvement for IT doc

This commit is contained in:
2024-10-31 21:24:37 +01:00
parent 3346b3b8fc
commit 364d160f24
6 changed files with 95 additions and 12 deletions

View File

@@ -2,10 +2,11 @@ div#HEADFILES
-
const backups = []
const readNode = (curNode) => {
if(curNode?.data?.backups?.length > 0) {
if(curNode?.backups?.length > 0) {
const nodeItem = {
name: curNode.data.name,
backups: curNode.data.backups,
name: curNode.title,
url: curNode.url,
backups: curNode.backups,
}
backups.push(nodeItem)
}
@@ -27,8 +28,8 @@ div#HEADFILES
table
thead
th Devices
th Types
th Object
th Type
th Content
th Frequency
th Time

View File

@@ -1,11 +1,8 @@
div#HEADFILES
each itm in node.items
table
tr
td.bold=itm.data.name
tr
td=itm.data.url
div.bold=itm.data.name
a(href=itm.data.url, target="_blank")=itm.data.url
div#FILES
div#FOOTFILES

View File

@@ -27,8 +27,8 @@ div#HEADFILES
table
thead
th Devices
th Types
th Object
th Type
th Method
th Frequency
th Time