mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-04 06:39:43 +01:00
enable dark mode
This commit is contained in:
12
.idea/workspace.xml
generated
12
.idea/workspace.xml
generated
@@ -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">{
|
||||
"selectedUrlAndAccountId": {
|
||||
"url": "git@github.com:usmannasir/cyberpanel.git",
|
||||
"accountId": "3c646e5c-b11f-4d8e-a791-3ddc15576bed"
|
||||
}
|
||||
}]]></component>
|
||||
}</component>
|
||||
<component name="ProjectColorInfo">{
|
||||
"associatedIndex": 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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user