Files
TekH 8ee3ae55d9 Add custom CSS, Bootstrap Icons, and signature pad script
Added multiple custom CSS files for receiver UI enhancements, integrated Bootstrap Icons via CDN, and included signature-pad.js to support signature capture functionality. These changes improve UI styling and add new interactive features.
2026-05-13 22:46:48 +02:00

38 lines
1.5 KiB
Plaintext

@using Microsoft.AspNetCore.Mvc.ViewFeatures
@inject IFileVersionProvider FileVersionProvider
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
@DxResourceManager.RegisterTheme(ActiveTheme)
@DxResourceManager.RegisterScripts()
<link href=@AppendVersion("_content/DevExpress.Blazor.Viewer/css/dx-blazor-viewer-components.fluent.css") rel="stylesheet" />
<link href=@AppendVersion("css/site.css") rel="stylesheet" />
<link href=@AppendVersion("css/receiver-site.css") rel="stylesheet" />
<link href=@AppendVersion("css/card.css") rel="stylesheet" />
<link href=@AppendVersion("css/logo.css") rel="stylesheet" />
<link href=@AppendVersion("css/receiver-extras.css") rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet" />
<link href=@AppendVersion("EnvelopeGenerator.ReceiverUI.Web.styles.css") rel="stylesheet" />
<HeadOutlet @rendermode="InteractiveAuto" />
</head>
<body>
<Routes @rendermode="InteractiveAuto" />
<script src="_framework/blazor.web.js"></script>
<script src="js/signature-pad.js"></script>
</body>
</html>
@code {
static readonly ITheme ActiveTheme = Themes.Fluent.Clone(properties => {
properties.Mode = ThemeMode.Light;
properties.UseBootstrapStyles = true;
});
private string AppendVersion(string path) => FileVersionProvider.AddFileVersionToPath("/", path);
}