mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
93 lines
3.8 KiB
Plaintext
93 lines
3.8 KiB
Plaintext
@model StoreViewModel
|
|
@{
|
|
Layout = "../Shared/_NavLayout.cshtml";
|
|
ViewData["Title"] = "Profile";
|
|
ViewData.AddActivePage(BTCPayServer.Views.Stores.StoreNavPages.Index);
|
|
}
|
|
|
|
<h4>@ViewData["Title"]</h4>
|
|
@Html.Partial("_StatusMessage", Model.StatusMessage)
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<form method="post">
|
|
<div class="form-group">
|
|
<label asp-for="Id"></label>
|
|
<input asp-for="Id" readonly class="form-control" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="StoreName"></label>
|
|
<input asp-for="StoreName" class="form-control" />
|
|
<span asp-validation-for="StoreName" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="StoreWebsite"></label>
|
|
<input asp-for="StoreWebsite" class="form-control" />
|
|
<span asp-validation-for="StoreWebsite" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="DefaultCryptoCurrency"></label>
|
|
<select asp-for="DefaultCryptoCurrency" asp-items="Model.CryptoCurrencies" class="form-control"></select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="NetworkFee"></label>
|
|
<input asp-for="NetworkFee" type="checkbox" class="form-check" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="InvoiceExpiration"></label>
|
|
<input asp-for="InvoiceExpiration" class="form-control" />
|
|
<span asp-validation-for="InvoiceExpiration" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="MonitoringExpiration"></label>
|
|
<input asp-for="MonitoringExpiration" class="form-control" />
|
|
<span asp-validation-for="MonitoringExpiration" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="SpeedPolicy"></label>
|
|
<select asp-for="SpeedPolicy" class="form-control">
|
|
<option value="0">Is unconfirmed</option>
|
|
<option value="1">Has at least 1 confirmation</option>
|
|
<option value="2">Has at least 6 confirmations</option>
|
|
</select>
|
|
<span asp-validation-for="SpeedPolicy" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<h5>Derivation Scheme</h5>
|
|
<span>The DerivationScheme represents the destination of the funds received by your invoice.</span>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<a asp-action="AddDerivationScheme" class="btn btn-success" role="button"><span class="glyphicon glyphicon-plus"></span>Add or modify a derivation scheme</a>
|
|
<table class="table">
|
|
<thead class="thead-inverse">
|
|
<tr>
|
|
<th>Crypto</th>
|
|
<th>Derivation Scheme</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach(var scheme in Model.DerivationSchemes)
|
|
{
|
|
<tr>
|
|
<td>@scheme.Crypto</td>
|
|
<td>@scheme.Value</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<button name="command" type="submit" class="btn btn-success" value="Save">Save</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
|
}
|