Restructure
This commit is contained in:
22
views/theme-javascript.twig
Normal file
22
views/theme-javascript.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{#
|
||||
OTS Signage Theme - JavaScript and CSS injection
|
||||
This file is auto-included by Xibo's base.twig at the end of the document
|
||||
|
||||
NOTE: CSS and JS are INLINED to bypass web server MIME type issues with /custom/ paths
|
||||
This ensures all styles and scripts load regardless of web server routing configuration
|
||||
#}
|
||||
|
||||
<!-- Theme CSS overrides - INLINED to bypass MIME type issues -->
|
||||
<style nonce="{{ cspNonce }}">
|
||||
{% include "override-styles.twig" %}
|
||||
</style>
|
||||
|
||||
<!-- DataTables contrast fixes - INLINED to override core DataTables defaults -->
|
||||
<style nonce="{{ cspNonce }}">
|
||||
{% include "datatable-contrast.twig" %}
|
||||
</style>
|
||||
|
||||
<!-- Theme JavaScript - INLINED to bypass MIME type issues -->
|
||||
<script nonce="{{ cspNonce }}">
|
||||
{% include "theme-scripts.twig" %}
|
||||
</script>
|
||||
Reference in New Issue
Block a user