Merge pull request 'Add report logos and configurable folder scan depth' (#2) from feat/report-logos-and-scan-depth into main

Reviewed-on: #2
This commit is contained in:
2026-06-02 15:02:52 +02:00
committed by kawa
26 changed files with 631 additions and 91 deletions
+22
View File
@@ -0,0 +1,22 @@
@* Dropdown for choosing how multi-site reports are bundled on export. *@
@if (Visible)
{
<select class="form-select" style="width:auto;font-size:13px" value="@Value" @onchange="OnChange"
title="How to bundle reports when multiple sites are scanned">
<option value="@ReportMergeMode.SingleMerged">One document, no tabs</option>
<option value="@ReportMergeMode.SingleTabbed">One document, tabs (HTML)</option>
<option value="@ReportMergeMode.MultipleFiles">Multiple documents (ZIP)</option>
</select>
}
@code {
[Parameter] public ReportMergeMode Value { get; set; }
[Parameter] public EventCallback<ReportMergeMode> ValueChanged { get; set; }
[Parameter] public bool Visible { get; set; } = true;
private async Task OnChange(ChangeEventArgs e)
{
if (Enum.TryParse<ReportMergeMode>(e.Value?.ToString(), out var mode))
await ValueChanged.InvokeAsync(mode);
}
}