mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-10-14 08:02:34 -04:00
🗃️ Committing everything that changed 🗃️
Dockerfile README.md rootfs/tmp/etc/nginx/nginx.conf rootfs/tmp/etc/nginx/vhosts.d/admin.conf rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/init.d/99-php-fpm.sh rootfs/usr/local/share/
This commit is contained in:
31
rootfs/usr/local/share/webpanel/components/footer.php
Normal file
31
rootfs/usr/local/share/webpanel/components/footer.php
Normal file
@@ -0,0 +1,31 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="footer-content">
|
||||
<p>© 2025 Tor Admin Panel |
|
||||
<a href="https://www.torproject.org/" target="_blank">Tor Project</a> |
|
||||
<span id="last-update"></span>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
// Update last refresh time
|
||||
document.getElementById('last-update').textContent = 'Last updated: ' + new Date().toLocaleTimeString();
|
||||
|
||||
// Mobile menu toggle
|
||||
function toggleMobileMenu() {
|
||||
const nav = document.querySelector('.nav');
|
||||
nav.classList.toggle('mobile-open');
|
||||
}
|
||||
|
||||
// Auto-refresh functionality
|
||||
<?php if (isset($auto_refresh)): ?>
|
||||
setTimeout(function() {
|
||||
window.location.reload();
|
||||
}, <?php echo $auto_refresh * 1000; ?>);
|
||||
<?php endif; ?>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user