mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52: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:
@@ -8,7 +8,9 @@
|
||||
<meta name=format-detection content="telephone=no" />
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
<link type=text/css href="/styles/style.css" media="screen" rel="stylesheet" title="CSS" />
|
||||
{{{customCSSTags}}}
|
||||
<link rel="apple-touch-icon" href="/favicon-303x303.png" />
|
||||
{{{customJSTags}}}
|
||||
<title>{{{title1}}} - Download</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user