2020-11-17 13:46:23 +01:00
@model BTCPayServer.Plugins.Test.TestPluginPageViewModel
2020-10-15 14:28:09 +02:00
<section>
<div class="container">
<h1>Challenge Completed!!</h1>
Here is also an image loaded from the plugin<br/>
<a href="https://twitter.com/NicolasDorier/status/1307221679014256640">
<img src="/Resources/img/screengrab.png"/>
</a>
2020-11-17 13:46:23 +01:00
<div class="row">
<h2>Persisted Data</h2>
2021-07-13 16:14:36 +02:00
<p>The following is data persisted to the configured database but in an isolated DbContext. Every time you start BTCPay Server with this plugin enabled, a timestamp is logged.</p>
2021-07-08 12:53:34 +02:00
<ul class="list-group">
2020-11-17 13:46:23 +01:00
@foreach (var item in Model.Data)
{
<li class="list-group-item">@item.Id at @item.Timestamp.ToString("F")</li>
}
</ul>
</div>
2020-10-15 14:28:09 +02:00
</div>
</section>