2023-03-08 17:57:36 +09:00
|
|
|
@inject BTCPayServer.Security.ContentSecurityPolicies Csp
|
2022-07-22 15:41:14 +02:00
|
|
|
@model BTCPayServer.Plugins.PointOfSale.Models.ViewPointOfSaleViewModel
|
|
|
|
@{
|
2023-01-30 09:23:49 +01:00
|
|
|
Layout = "PointOfSale/Public/_Layout";
|
2023-03-08 17:57:36 +09:00
|
|
|
Csp.UnsafeEval();
|
2022-07-22 15:41:14 +02:00
|
|
|
}
|
2023-02-10 16:26:38 +01:00
|
|
|
@section PageHeadContent {
|
2023-07-22 14:15:41 +02:00
|
|
|
<link href="~/pos/keypad.css" asp-append-version="true" rel="stylesheet" />
|
2023-02-10 16:26:38 +01:00
|
|
|
}
|
|
|
|
@section PageFootContent {
|
|
|
|
<script>var srvModel = @Safe.Json(Model);</script>
|
|
|
|
<script src="~/vendor/vuejs/vue.min.js" asp-append-version="true"></script>
|
2023-07-22 14:15:41 +02:00
|
|
|
<script src="~/pos/common.js" asp-append-version="true"></script>
|
|
|
|
<script src="~/pos/keypad.js" asp-append-version="true"></script>
|
2023-02-10 16:26:38 +01:00
|
|
|
}
|
2023-11-21 10:13:26 +01:00
|
|
|
<div id="PosKeypad" class="public-page-wrap">
|
2023-01-30 09:23:49 +01:00
|
|
|
<partial name="_StatusMessage" />
|
2023-12-01 16:13:44 +01:00
|
|
|
<partial name="_StoreHeader" model="(string.IsNullOrEmpty(Model.Title) ? Model.StoreName : Model.Title, Model.StoreBranding)" />
|
2023-01-30 09:23:49 +01:00
|
|
|
@if (Context.Request.Query.ContainsKey("simple"))
|
|
|
|
{
|
2022-07-22 15:41:14 +02:00
|
|
|
<partial name="PointOfSale/Public/MinimalLight" model="Model" />
|
2023-01-30 09:23:49 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<noscript>
|
|
|
|
<partial name="PointOfSale/Public/MinimalLight" model="Model" />
|
|
|
|
</noscript>
|
|
|
|
<partial name="PointOfSale/Public/VueLight" model="Model" />
|
|
|
|
}
|
|
|
|
<footer class="store-footer">
|
2023-03-08 13:39:03 +01:00
|
|
|
<a class="store-powered-by" href="https://btcpayserver.org" target="_blank" rel="noreferrer noopener">
|
2023-01-30 09:23:49 +01:00
|
|
|
Powered by <partial name="_StoreFooterLogo" />
|
|
|
|
</a>
|
|
|
|
</footer>
|
|
|
|
</div>
|