diff --git a/samy.ps1 b/samy.ps1 index 8b99a3a..2e65d77 100644 --- a/samy.ps1 +++ b/samy.ps1 @@ -1033,634 +1033,35 @@ Write-LogHybrid "Tasks by page: onboard=$( #endregion Strat-Server - #region UIHtml +#region UIHtml + function Get-UIHtml { - param([string]$Page = 'onboard') -if (-not $Page) { $Page = 'onboard' } - -# no spaces before $style -$style = @' - - - -'@ - -# no spaces before $script -$script = @' - - -'@ - -# no spaces before $htmlTemplate -$htmlTemplate = @" + # + # 3) HTML template that references external CSS/JS hosted on Gitea + # (adjust the URLs to match your repo + branch) + # + $htmlTemplate = @"
@@ -1668,7 +1069,9 @@ $htmlTemplate = @"