Enhanced `ReportViewer.razor` with new UI elements, including a detailed `receiver-info-header` and `receiver-action-bar` for better signature workflows. Refactored signature logic to ensure accurate placement using `report.AfterPrint` and `PrintingSystem.Pages`. Removed legacy methods and iText7-based workflows. Added Turkish documentation (`COPILOT_CONTEXT_TR.md`) detailing project structure, workflows, and pending tasks. Updated `MainLayout.razor` to simplify layout. Improved styling in `app.css` for better visual hierarchy and readability. Documented pending tasks such as adding signature backgrounds, improving checkbox styles, and automating signature workflows.
22 lines
482 B
Plaintext
22 lines
482 B
Plaintext
@using EnvelopeGenerator.ReceiverUI.Services;
|
|
@inherits LayoutComponentBase
|
|
|
|
<div class="page">
|
|
<main>
|
|
<article class="content">
|
|
@Body
|
|
</article>
|
|
</main>
|
|
</div>
|
|
|
|
@code {
|
|
[Inject] HttpClient Http { get; set; }
|
|
List<string> RequiredFonts = new() {
|
|
"opensans.ttf"
|
|
};
|
|
|
|
protected async override Task OnInitializedAsync() {
|
|
await FontLoader.LoadFonts(Http, RequiredFonts);
|
|
await base.OnInitializedAsync();
|
|
}
|
|
} |