Update email templates, mai_data, button sizes, numerous tweaks

This commit is contained in:
John Crisp
2025-07-06 13:37:49 +02:00
parent b5b7645ebc
commit 305e7b75d2
93 changed files with 244 additions and 1435 deletions

View File

@@ -19,21 +19,36 @@
%= content_for 'head_contrib'
%= content_for 'refresh'
<!-- Specific for AdminLTE -->
%= include 'common_js'
%= include 'common_css'
<!-- should move the JS in here to a proper file if required -->
%# if (config 'hasJquery') {
%#= include 'partials/_js_imports'
%# }
<!-- Custom overrides js/css? -->
<!-- This needs refining - do contribs add in their own stuff?? -->
<!-- This needs refining -->
% if (config 'hasJquery') {
%= include 'partials/_js_imports'
<!-- the sections below should add the correct JS/CSS per panel -->
%# if ($c->current_route eq 'nutups') {
%#= include 'partials/_nutups_overrides'
%# }
%# panel specific css file
% my $controller = stash('controller');
% if ($controller) {
% my $css_path = "css/$controller.css";
%# Use the url_for helper to generate the correct static file URL
% if (app->static->file($css_path)) {
<link rel="stylesheet" href="<%= url_for("/$css_path") %>">
% }
% }
% if ($c->current_route eq 'nutups') {
%= include 'partials/_nutups_overrides'
% }
</head>
@@ -208,6 +223,16 @@
<div id="adminlte-version"></div>
%# Specific panel js code
% $controller = stash('controller');
% if ($controller) {
% my $js_path = "js/$controller.js";
%# Use the url_for helper to generate the correct static file URL
% if (app->static->file($js_path)) {
<script src="<%= url_for("/$js_path") %>"></script>
% }
% }
</body>
</html>