mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
0f8da123b8
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
@using BTCPayServer.Controllers
|
|
@model BTCPayServer.Controllers.UIServerController.CreateTemporaryFileUrlViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Services, $"Create temporary file link");
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<h2>@ViewData["Title"]</h2>
|
|
<button type="submit" class="btn btn-primary" name="command" value="Generate">Generate</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="row">
|
|
<div class="col-xl-8 col-xxl-constrain">
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All"></div>
|
|
}
|
|
<div class="form-group form-check">
|
|
<input type="checkbox" class="form-check-input" asp-for="IsDownload"/>
|
|
<label asp-for="IsDownload" class="form-check-label"></label>
|
|
<span asp-validation-for="IsDownload" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="TimeAmount" class="form-label"></label>
|
|
<div class="input-group">
|
|
<input type="number" inputmode="decimal" asp-for="TimeAmount" class="form-control">
|
|
<select asp-for="TimeType" asp-items="@Html.GetEnumSelectList<UIServerController.CreateTemporaryFileUrlViewModel.TmpFileTimeType>()" class="form-select"></select>
|
|
</div>
|
|
|
|
<span asp-validation-for="TimeAmount" class="text-danger"></span>
|
|
<span asp-validation-for="TimeType" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|