Revert "add logging for cache busting colors"
This reverts commit 43e1ea37d5.
This commit is contained in:
@@ -11,9 +11,7 @@
|
||||
<link href="{{ url_for('static', filename='css/file-grid.css') }}" rel="stylesheet">
|
||||
<link href="{{ url_for('static', filename='css/base.css') }}" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/colors.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('main.dynamic_colors') }}?v={{ site_settings.updated_at.timestamp() }}"
|
||||
onload="console.log('[CSS] Dynamic colors loaded with version:', '{{ site_settings.updated_at.timestamp() }}', 'Primary:', getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim(), 'Secondary:', getComputedStyle(document.documentElement).getPropertyValue('--secondary-color').trim())"
|
||||
onerror="console.error('[CSS] Failed to load dynamic colors')">
|
||||
<link rel="stylesheet" href="{{ url_for('main.dynamic_colors') }}?v={{ site_settings.updated_at.timestamp() }}" onload="console.log('[CSS] Dynamic colors loaded with version:', '{{ site_settings.updated_at.timestamp() }}')">
|
||||
{% block extra_css %}{% endblock %}
|
||||
<script>
|
||||
console.log('[CSS] Base colors loaded');
|
||||
@@ -21,8 +19,6 @@
|
||||
console.log('[CSS] All CSS files loaded');
|
||||
console.log('[CSS] Primary color:', getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim());
|
||||
console.log('[CSS] Secondary color:', getComputedStyle(document.documentElement).getPropertyValue('--secondary-color').trim());
|
||||
console.log('[CSS] Chart color 1:', getComputedStyle(document.documentElement).getPropertyValue('--chart-color-1').trim());
|
||||
console.log('[CSS] Chart color 2:', getComputedStyle(document.documentElement).getPropertyValue('--chart-color-2').trim());
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user