footer refactor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-09-22 03:01:51 +02:00
parent ec97d51ab0
commit 0cedfb30f0
2 changed files with 6 additions and 4 deletions

View File

@ -54,8 +54,10 @@
Total scanned <span id="instances">0</span> instances with <span id="peers">0</span> peers - <span Total scanned <span id="instances">0</span> instances with <span id="peers">0</span> peers - <span
id="created">0</span> created - <span id="updated">0</span> id="created">0</span> created - <span id="updated">0</span>
updated<br /> updated<br />
by <a href="https://about.manalejandro.com" target="_blank">ale</a> &copy;2024 - <a id="matrix" matrix <a id="matrix" href="/?matrix">off</a> - download <a download="fediblock-index.json.gz"
href="/?matrix">matrix off</a></footer> href="/api/download_index">index</a> - by <a href="https://about.manalejandro.com" target="_blank">ale</a>
&copy;2024
</footer>
<div id="modal"> <div id="modal">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">

View File

@ -421,10 +421,10 @@ document.addEventListener('DOMContentLoaded', function () {
} }
var matrix = document.getElementById('matrix') var matrix = document.getElementById('matrix')
matrix.href = '/' matrix.href = '/'
matrix.innerText = 'matrix on' matrix.innerText = 'on'
} else { } else {
var matrix = document.getElementById('matrix') var matrix = document.getElementById('matrix')
matrix.href = '/?matrix' matrix.href = '/?matrix'
matrix.innerText = 'matrix off' matrix.innerText = 'off'
} }
}) })