install/upgrade bug fix

This commit is contained in:
usmannasir 2025-08-03 23:55:07 +05:00
parent 0a6d544007
commit b208d6b464
1 changed files with 11 additions and 2 deletions

View File

@ -976,9 +976,11 @@
<i class="fab fa-twitter"></i>
</a>
</div>
<!-- Dark mode toggle temporarily disabled
<button id="theme-toggle" class="theme-toggle" title="Toggle Dark Mode">
<i class="fas fa-moon" id="theme-icon"></i>
</button>
-->
<a href="{% url 'logout' %}" class="logout-btn">
<i class="fas fa-arrow-right-from-bracket"></i>
Logout
@ -1944,8 +1946,15 @@
}
</script>
<!-- Dark Mode Toggle Script -->
<!-- Force light theme until dark mode is fully implemented -->
<script>
// Force light theme
document.documentElement.setAttribute('data-theme', 'light');
localStorage.setItem('cyberPanelTheme', 'light');
</script>
<!-- Dark Mode Toggle Script - Temporarily disabled until fully implemented -->
<!-- <script>
// Theme switching functionality
(function() {
// Get saved theme from localStorage or default to light
@ -1982,7 +1991,7 @@
});
}
})();
</script>
</script> -->
{% block footer_scripts %}{% endblock %}
</body>