Update links.htm
This commit is contained in:
parent
fc30e01f5e
commit
b24bf27296
|
@ -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%>
|
||||||
|
|
Loading…
Reference in New Issue