mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 02:08:32 +01:00
* Update layout structure and header * Implement store selector * Simplify homepage * Update layout * Use dropdown for store selector * Hide global nav in store context * Horizontal section nav * Remove outer section and container from content views * Update nav * Set store context for invoice and payment request lists * Test fixes * Persist menu collapse state on client-side * MainNav as view component * Update app routes to incorporate store context * Test fixes * Display ticker for altcoins build only * Plugins nav * Incorporate category for active page as well * Update invoice icon * Add apps list to nav * Add store context to app type controllers * Incorporate id for active page as well * Test fixes * AppsController cleanup * Nav: Display only apps for the current store * Remove leftover from merge * Nav styles optimization * Left-align content container * Increase sidebar padding on desktop * Use min-width for store selector menu * Store settings nav update * Update app and payment request routes * Test fixes * Refactor MainNav component to use StoresController * Set store context for invoice actions * Cleanups * Remove CurrentStore checks The response will be "Access denied" in case the CookieAuthorizationHandler cannot resolve the store. * Remove unnecessary store context setters * Test fix
22 lines
865 B
Text
22 lines
865 B
Text
@using BTCPayServer.Lightning
|
|
@model System.Collections.Generic.List<BTCPayServer.Data.Payouts.LightningLike.LightningLikePayoutController.ResultVM>
|
|
@{
|
|
Layout = "_Layout";
|
|
ViewData["Title"] = "Lightning Payout Result";
|
|
}
|
|
|
|
<h2 class="mb-4">@ViewData["Title"]</h2>
|
|
@foreach (var item in Model)
|
|
{
|
|
<div class="alert alert-@(item.Result == PayResult.Ok ? "success" : "danger") d-flex justify-content-between align-items-center mb-3" role="alert">
|
|
@if (item.Result == PayResult.Ok)
|
|
{
|
|
<div class="text-break me-3" title="@item.Destination">@item.Destination</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="text-break me-3" title="@item.Destination">@item.Destination: @item.Message (@item.Result)</div>
|
|
}
|
|
<span class="badge fs-5">@(item.Result == PayResult.Ok ? "Sent" : "Failed")</span>
|
|
</div>
|
|
}
|