Update links.htm

This commit is contained in:
有種 2023-02-24 21:33:47 +08:00 committed by GitHub
parent fc30e01f5e
commit b24bf27296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<% if luci.sys.exec("echo -n `uci -q get base_config.@status[0].links`") ~= "0" then %>
<script> <script>
var links = document.createElement('div'); var links = document.createElement('div');
links.innerHTML ='<div class="table"><div class="tr"><div class="td left" width="33%"><a href="https://github.com/kenzok78/Bulid_Wrt" target="_blank">仓库地址</a></div><div class="td left"><a href="https://op.dllkids.xyz/firmware/x86_64/" target="_blank">固件下载</a></div></div></div>'; links.innerHTML ='<div class="table"><div class="tr"><div class="td left" width="33%"><a href="https://github.com/kenzok8/Bulid_Wrt" target="_blank">仓库地址</a></div><div class="td left"><a href="https://op.dllkids.xyz/firmware/" target="_blank">固件下载</a></div></div></div class="td left" width="25%"><a href="https://t.me/opwrt" target="_blank">TG频道</a></div><div>';
setTimeout(function(){ setTimeout(function(){
var telegram = document.querySelectorAll(".cbi-section")[0]; var telegram = document.querySelectorAll(".cbi-section")[0];
telegram.appendChild(links); telegram.appendChild(links);
@ -10,3 +11,4 @@
telegram.appendChild(links); telegram.appendChild(links);
}, 1800); }, 1800);
</script> </script>
<%end%>