38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Trafag Finanze/Sales Management Cockpit</title>
|
|
<base href="@BaseHref" />
|
|
<link href="css/app.css" rel="stylesheet" />
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
|
|
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
|
|
<HeadOutlet @rendermode="@Microsoft.AspNetCore.Components.Web.RenderMode.InteractiveServer" />
|
|
</head>
|
|
<body>
|
|
<Routes @rendermode="@Microsoft.AspNetCore.Components.Web.RenderMode.InteractiveServer" />
|
|
<script src="_framework/blazor.web.js"></script>
|
|
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
|
<script src="js/download.js"></script>
|
|
</body>
|
|
</html>
|
|
|
|
@code {
|
|
[Inject]
|
|
private IConfiguration Configuration { get; set; } = default!;
|
|
|
|
private string BaseHref
|
|
{
|
|
get
|
|
{
|
|
var pathBase = Configuration["ASPNETCORE_PATHBASE"]?.Trim();
|
|
if (string.IsNullOrWhiteSpace(pathBase) || pathBase == "/")
|
|
return "/";
|
|
|
|
pathBase = "/" + pathBase.Trim('/');
|
|
return $"{pathBase}/";
|
|
}
|
|
}
|
|
}
|