btcpayserver/BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml

40 lines
1.2 KiB
Text
Raw Normal View History

2018-12-11 16:36:25 +01:00
@addTagHelper *, Meziantou.AspNetCore.BundleTagHelpers
@inject BTCPayServer.HostedServices.CssThemeManager themeManager
@model BTCPayServer.Models.AppViewModels.ViewCrowdfundViewModel
@{
ViewData["Title"] = Model.Title;
Layout = null;
}
<!DOCTYPE html>
<html class="h-100">
<head>
<title>@Model.Title</title>
<meta charset="utf-8"/>
2018-12-11 16:36:25 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
2018-12-22 15:02:16 +01:00
<link href="@Context.Request.GetAbsoluteUri(themeManager.BootstrapUri)" rel="stylesheet"/>
2018-12-11 16:36:25 +01:00
@if (Model.CustomCSSLink != null)
{
<link href="@Model.CustomCSSLink" rel="stylesheet"/>
2018-12-11 16:36:25 +01:00
}
<link href="~/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
<bundle name="wwwroot/bundles/crowdfund-bundle.min.js"></bundle>
2018-12-22 15:43:40 +01:00
@if (!string.IsNullOrEmpty(Model.EmbeddedCSS))
{
<style>
@Html.Raw(Model.EmbeddedCSS);
</style>
}
<script>
2018-12-22 15:02:16 +01:00
var srvModel = @Json.Serialize(Model);
</script>
2018-12-22 15:43:40 +01:00
2018-12-11 16:36:25 +01:00
</head>
<body class="h-100">
<partial name="MinimalCrowdfund" model="@Model"/>
2018-12-11 16:36:25 +01:00
</body>
</html>