enable dark mode

This commit is contained in:
usmannasir
2025-08-04 18:24:11 +05:00
parent b86054c6d5
commit 9fdf82aa29
2 changed files with 9 additions and 17 deletions

12
.idea/workspace.xml generated
View File

@@ -22,12 +22,12 @@
"assignee": "usmannasir"
}
}</component>
<component name="GithubPullRequestsUISettings"><![CDATA[{
"selectedUrlAndAccountId": {
"url": "git@github.com:usmannasir/cyberpanel.git",
"accountId": "3c646e5c-b11f-4d8e-a791-3ddc15576bed"
<component name="GithubPullRequestsUISettings">{
&quot;selectedUrlAndAccountId&quot;: {
&quot;url&quot;: &quot;git@github.com:usmannasir/cyberpanel.git&quot;,
&quot;accountId&quot;: &quot;3c646e5c-b11f-4d8e-a791-3ddc15576bed&quot;
}
}]]></component>
}</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 3
}</component>
@@ -46,7 +46,7 @@
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
"RunOnceActivity.git.unshallow": "true",
"SHELLCHECK.PATH": "/Users/cyberpersons/Library/Application Support/JetBrains/PyCharm2025.1/plugins/Shell Script/shellcheck",
"git-widget-placeholder": "v2.4.3",
"git-widget-placeholder": "v2.4.4-dev",
"last_opened_file_path": "/Users/cyberpersons/cyberpanel",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",

View File

@@ -976,11 +976,9 @@
<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
@@ -1946,15 +1944,9 @@
}
</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>
<!-- Dark Mode Toggle Script -->
<script>
// Theme switching functionality
(function() {
// Get saved theme from localStorage or default to light
@@ -1991,7 +1983,7 @@
});
}
})();
</script> -->
</script>
{% block footer_scripts %}{% endblock %}
</body>