mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 19:02:01 +01:00
* Improve and unify page headers * Altcoin test fixes * Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Fix missing store name in pairing view * Fix CanUsePairing test * Bump header navigation font size * Use partial tag instead of Html.PartialAsync in views As suggested by @nicolasdorier. These are equivalent, see details [here](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?view=aspnetcore-3.1#partial-tag-helper). * Fix docs link As in #2432. * Update BTCPayServer/Views/Wallets/SignWithSeed.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Update BTCPayServer/Views/Wallets/WalletSendVault.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Update BTCPayServer/Views/Wallets/WalletTransactions.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
@using BTCPayServer.Controllers
|
|
@model BTCPayServer.Controllers.ServerController.CreateTemporaryFileUrlViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ServerNavPages.Services, $"Create temporary file link");
|
|
}
|
|
|
|
<h2 class="mb-4">@ViewData["Title"]</h2>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
}
|
|
<form method="post">
|
|
<div class="form-group">
|
|
<label asp-for="IsDownload"></label>
|
|
<input type="checkbox" class="form-check" asp-for="IsDownload"/>
|
|
<span asp-validation-for="IsDownload" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="TimeAmount" class="control-label"></label>
|
|
<div class="input-group">
|
|
|
|
<input type="number" asp-for="TimeAmount" class="form-control">
|
|
<div class="input-group-append">
|
|
<select asp-for="TimeType" asp-items="@Html.GetEnumSelectList<ServerController.CreateTemporaryFileUrlViewModel.TmpFileTimeType>()" class="custom-select"></select>
|
|
</div>
|
|
</div>
|
|
|
|
<span asp-validation-for="TimeAmount" class="text-danger"></span>
|
|
<span asp-validation-for="TimeType" class="text-danger"></span>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary" name="command" value="Generate">Generate</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|