mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
39be605459
Reusability
31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
@inject BTCPayServer.HostedServices.CssThemeManager themeManager
|
|
@addTagHelper *, BundlerMinifier.TagHelpers
|
|
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
@if (themeManager.DiscourageSearchEngines)
|
|
{
|
|
<meta name="robots" content="noindex">
|
|
}
|
|
<title>@ViewData["Title"]</title>
|
|
@* CSS *@
|
|
<link href="@this.Context.Request.GetRelativePathOrAbsolute(themeManager.BootstrapUri)" rel="stylesheet" asp-append-version="true" />
|
|
<link href="@this.Context.Request.GetRelativePathOrAbsolute(themeManager.CreativeStartUri)" rel="stylesheet" asp-append-version="true" />
|
|
<link href="@this.Context.Request.GetRelativePathOrAbsolute(themeManager.ThemeUri)" rel="stylesheet" asp-append-version="true" />
|
|
@if (!String.IsNullOrWhiteSpace(themeManager.CustomThemeUri))
|
|
{
|
|
<link href="@this.Context.Request.GetRelativePathOrAbsolute(themeManager.CustomThemeUri)" rel="stylesheet" asp-append-version="true" />
|
|
}
|
|
<bundle name="wwwroot/bundles/main-bundle.min.css" asp-append-version="true" />
|
|
@* JS *@
|
|
<bundle name="wwwroot/bundles/main-bundle.min.js" asp-append-version="true" />
|
|
@* Non-JS *@
|
|
<noscript>
|
|
<style>
|
|
.hide-when-js { display: block !important; }
|
|
.only-for-js { display: none !important; }
|
|
</style>
|
|
</noscript>
|