mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
Add advanced custom CSS/JS file support per template (#7361)
Introduces a new 'customFiles' array in the config schema for granular domain-level CSS and JavaScript customization. Updates webserver logic to inject custom CSS/JS tags based on template scope, replacing static custom.css/custom.js references in all Handlebars views. Also updates meshctrl.js to support the new config property.
This commit is contained in:
@@ -7,12 +7,14 @@
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="/favicon-303x303.png" />
|
||||
{{{customCSSTags}}}
|
||||
<title>RDP</title>
|
||||
<script type="text/javascript" src="mstsc/mstsc.js"></script>
|
||||
<script type="text/javascript" src="mstsc/keyboard.js"></script>
|
||||
<script type="text/javascript" src="mstsc/rle.js"></script>
|
||||
<script type="text/javascript" src="mstsc/client.js"></script>
|
||||
<script type="text/javascript" src="mstsc/canvas.js"></script>
|
||||
{{{customJSTags}}}
|
||||
<style>
|
||||
:focus {
|
||||
outline: 0;
|
||||
|
||||
Reference in New Issue
Block a user