Update index.html

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-09-01 00:06:52 +08:00 committed by GitHub
parent 16854dadf9
commit 2ab01e5328
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -451,6 +451,10 @@
title:"Netinstall (CLI Linux)",
type:"netinstall_linux_cli"
},
{
title:"Changelog",
type:"changlog"
},
]
}
]
@ -483,6 +487,10 @@
{
title:"Install image",
type:"install"
},
{
title:"Changelog",
type:"changlog"
}
]
}
@ -610,7 +618,6 @@
files.push(`netinstall-${version}.zip`);
if(type === "netinstall_linux_cli")
files.push(`netinstall-${version}.tar.gz`);
return files;
};
@ -643,6 +650,10 @@
<tr class="hv">
<td>${d.title}</td>
${download.versions.map(v => {
if(d.type === "changlog"){
const url = "https://download.mikrotik.com/routeros/v.version/CHANGELOG"
return `<a href="${url}" class="download-btn" title="${d.title}" target="_blank"><i class="fa fa-download"></i></a>`;
}else{
const files = fileNames(v.version,g.arch,d.type);
if (files && files.length > 0) {
const links = files.map(file => {
@ -667,6 +678,7 @@
}else{
return `<td></td>`;
}
}
}).join("")}
</tr>
`;