Apply custom css across the board including client portal and guest

This commit is contained in:
johnnyq
2026-08-15 17:53:10 -04:00
parent 6ef84c4547
commit bcc73737e4
6 changed files with 12 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ $data = "otpauth://totp/ITFlow:$session_email?secret=$token";
<!-- Theme style -->
<link rel="stylesheet" href="../../libs/adminlte/css/adminlte.min.css">
<link rel="stylesheet" href="../../css/itflow_custom.css">
<!-- jQuery -->

View File

@@ -30,6 +30,11 @@ header("X-Frame-Options: DENY"); // Legacy
<link rel="stylesheet" href="/libs/adminlte/css/adminlte.min.css">
<link rel="stylesheet" href="/libs/sweetalert2/css/sweetalert2.min.css">
<!-- ITFlow style: the AdminLTE 3 compatibility layer and the theme colours. Must load
last so it wins, and must load HERE too - it used to be on the agent header only,
which left this portal without .text-bold, the bg-dark text pairing or any theme. -->
<link rel="stylesheet" href="/css/itflow_custom.css">
</head>
<body class="theme-<?= escapeHtml($config_theme) ?>">

View File

@@ -186,6 +186,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
<!-- Theme style -->
<link rel="stylesheet" href="../libs/adminlte/css/adminlte.min.css">
<link rel="stylesheet" href="../css/itflow_custom.css">
</head>

View File

@@ -25,6 +25,9 @@
<link rel="stylesheet" href="/libs/flatpickr/css/flatpickr.min.css">
<link rel="stylesheet" href="/libs/tom-select/css/tom-select.bootstrap5.min.css">
<!-- ITFlow style: loaded last so it wins. See includes/header.php -->
<link rel="stylesheet" href="/css/itflow_custom.css">
<!-- Scripts -->
</head>

View File

@@ -698,6 +698,7 @@ $show_login_form = (!$show_role_choice && !$show_mfa_form);
<?php } ?>
<link rel="stylesheet" href="libs/adminlte/css/adminlte.min.css">
<link rel="stylesheet" href="css/itflow_custom.css">
</head>
<body class="hold-transition login-page">

View File

@@ -547,6 +547,7 @@ if (isset($_POST['add_telemetry'])) {
<link rel="stylesheet" href="/libs/adminlte/css/adminlte.min.css">
<!-- Custom Style Sheet -->
<link href="/libs/tom-select/css/tom-select.bootstrap5.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/itflow_custom.css">
</head>