mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 06:47:50 +01:00
* Remove xxl breakpoint * Remove code bg * Form updates * Update PoS accordion * Update forms * Fix webhook password toggle * Update highlight js styles * Page updates * Style unformatted checkboxes * Fix typo * Update accordions * Update policies domain mapping * Update toggles and checkboxes * Update storage pages * Fix specter logo filename casing * Update checkout experience view * Update webhook view * Re-add used negative margins * Update bootstrap * POS layout fixes * Decrease size of info icon in main headline * Update BTCPayServer/Views/Stores/ModifyWebhook.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
38 lines
1.6 KiB
Text
38 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 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" asp-for="TimeAmount" class="form-control">
|
|
<select asp-for="TimeType" asp-items="@Html.GetEnumSelectList<ServerController.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>
|
|
<button type="submit" class="btn btn-primary" name="command" value="Generate">Generate</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|