mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-03 13:24:31 +01:00
Only change opacity of amount
This commit is contained in:
committed by
nicolas.dorier
parent
192d339a79
commit
4fbcd89bb6
@@ -43,12 +43,12 @@
|
||||
<tbody>
|
||||
@foreach (var tx in Model.Transactions)
|
||||
{
|
||||
<tr class="@(tx.IsConfirmed ? "" : "opacity-50")">
|
||||
<td>@tx.Timestamp.ToTimeAgo()</td>
|
||||
<td>
|
||||
<tr>
|
||||
<td class="align-middle">@tx.Timestamp.ToTimeAgo()</td>
|
||||
<td class="align-middle">
|
||||
<vc:truncate-center text="@tx.Id" link="@tx.Link" classes="truncate-center-id" />
|
||||
</td>
|
||||
<td>
|
||||
<td class="align-middle">
|
||||
@if (tx.Labels.Any())
|
||||
{
|
||||
<div class="d-flex flex-wrap gap-2 align-items-center">
|
||||
@@ -70,18 +70,9 @@
|
||||
}
|
||||
|
||||
</td>
|
||||
@if (tx.Positive)
|
||||
{
|
||||
<td class="text-end text-success">
|
||||
<span data-sensitive>@DisplayFormatter.Currency(tx.Balance, tx.Currency)</span>
|
||||
</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td class="text-end text-danger">
|
||||
<span data-sensitive>@DisplayFormatter.Currency(tx.Balance, tx.Currency)</span>
|
||||
</td>
|
||||
}
|
||||
<td class="align-middle text-end">
|
||||
<span data-sensitive class="text-@(tx.Positive ? "success" : "danger")@(tx.IsConfirmed ? "" : " opacity-50")">@DisplayFormatter.Currency(tx.Balance, tx.Currency)</span>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
||||
@@ -228,9 +228,9 @@
|
||||
</button>
|
||||
</div>
|
||||
</th>
|
||||
<th text-translate="true" style="min-width:125px">Label</th>
|
||||
<th text-translate="true">Transaction</th>
|
||||
<th text-translate="true" class="amount-col">Amount</th>
|
||||
<th text-translate="true" style="min-width:125px">Label</th>
|
||||
<th text-translate="true">Transaction</th>
|
||||
<th text-translate="true" class="amount-col">Amount</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -247,8 +247,8 @@
|
||||
</div>
|
||||
<form id="WalletActions" method="post" asp-action="WalletActions" asp-route-walletId="@walletId" permission="@Policies.CanModifyStoreSettings" class="d-inline-flex align-items-center gap-3">
|
||||
<button id="BumpFee" name="command" type="submit" value="cpfp" class="btn btn-link">
|
||||
<vc:icon symbol="actions-send" />
|
||||
<span text-translate="true">Bump fee</span>
|
||||
<vc:icon symbol="actions-send" />
|
||||
<span text-translate="true">Bump fee</span>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}
|
||||
@foreach (var transaction in Model.Transactions)
|
||||
{
|
||||
<tr class="mass-action-row@(transaction.IsConfirmed ? "" : " opacity-50")">
|
||||
<tr class="mass-action-row">
|
||||
<td class="only-for-js mass-action-select-col">
|
||||
<input name="selectedTransactions" type="checkbox" class="form-check-input mass-action-select" form="WalletActions" value="@transaction.Id" />
|
||||
</td>
|
||||
@@ -25,7 +25,7 @@
|
||||
<vc:truncate-center text="@transaction.Id" link="@transaction.Link" classes="truncate-center-id" />
|
||||
</td>
|
||||
<td class="amount-col">
|
||||
<span data-sensitive class="text-@(transaction.Positive ? "success" : "danger")">@transaction.Balance</span>
|
||||
<span data-sensitive class="text-@(transaction.Positive ? "success" : "danger")@(transaction.IsConfirmed ? "" : " opacity-50")">@transaction.Balance</span>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<div class="d-inline-block">
|
||||
|
||||
Reference in New Issue
Block a user