From a93062e0f024c478cb33f9e745c836ce59ec5700 Mon Sep 17 00:00:00 2001 From: Wouter Samaey Date: Fri, 12 Jun 2020 15:22:39 +0200 Subject: [PATCH] Colored "check" and "times" icons green or red the bootstrap way --- .../GetStoreMoneroLikePaymentMethods.cshtml | 4 ++-- BTCPayServer/Views/Server/DynamicDnsServices.cshtml | 4 ++-- BTCPayServer/Views/Stores/Rates.cshtml | 4 ++-- BTCPayServer/Views/Stores/UpdateStore.cshtml | 12 ++++++------ BTCPayServer/Views/Wallets/WalletRescan.cshtml | 12 ++++++------ 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/BTCPayServer/Views/MoneroLikeStore/GetStoreMoneroLikePaymentMethods.cshtml b/BTCPayServer/Views/MoneroLikeStore/GetStoreMoneroLikePaymentMethods.cshtml index f4919f687..e263a353d 100644 --- a/BTCPayServer/Views/MoneroLikeStore/GetStoreMoneroLikePaymentMethods.cshtml +++ b/BTCPayServer/Views/MoneroLikeStore/GetStoreMoneroLikePaymentMethods.cshtml @@ -38,11 +38,11 @@ @if (item.Enabled) { - + } else { - + } diff --git a/BTCPayServer/Views/Server/DynamicDnsServices.cshtml b/BTCPayServer/Views/Server/DynamicDnsServices.cshtml index 4469cc72a..e25757e6a 100644 --- a/BTCPayServer/Views/Server/DynamicDnsServices.cshtml +++ b/BTCPayServer/Views/Server/DynamicDnsServices.cshtml @@ -39,11 +39,11 @@ @if(service.Settings.Enabled) { - + } else { - + } Edit - Remove diff --git a/BTCPayServer/Views/Stores/Rates.cshtml b/BTCPayServer/Views/Stores/Rates.cshtml index 6cef515e9..88694c1ff 100644 --- a/BTCPayServer/Views/Stores/Rates.cshtml +++ b/BTCPayServer/Views/Stores/Rates.cshtml @@ -69,11 +69,11 @@ @if (result.Error) { - @result.CurrencyPair + @result.CurrencyPair } else { - @result.CurrencyPair + @result.CurrencyPair } @result.Rule diff --git a/BTCPayServer/Views/Stores/UpdateStore.cshtml b/BTCPayServer/Views/Stores/UpdateStore.cshtml index a3e96f3a3..43ed9d581 100644 --- a/BTCPayServer/Views/Stores/UpdateStore.cshtml +++ b/BTCPayServer/Views/Stores/UpdateStore.cshtml @@ -130,11 +130,11 @@ @if(scheme.Enabled) { - + } else { - + } @@ -181,11 +181,11 @@ @if(scheme.Enabled) { - + } else { - + } Modify @@ -221,11 +221,11 @@ @if (scheme.Enabled) { - + } else { - + } Modify diff --git a/BTCPayServer/Views/Wallets/WalletRescan.cshtml b/BTCPayServer/Views/Wallets/WalletRescan.cshtml index e3fa3c07b..60fa6f5d3 100644 --- a/BTCPayServer/Views/Wallets/WalletRescan.cshtml +++ b/BTCPayServer/Views/Wallets/WalletRescan.cshtml @@ -13,27 +13,27 @@

This feature is disabled

@if (Model.IsFullySync) { -

The full node is synched

+

The full node is synched

} else { -

The full node is not synched

+

The full node is not synched

} @if (Model.IsServerAdmin) { -

You are server administrator

+

You are server administrator

} else { -

You are not server administrator

+

You are not server administrator

} @if (Model.IsSupportedByCurrency) { -

This full node support rescan of the UTXO set

+

This full node support rescan of the UTXO set

} else { -

This full node do not support rescan of the UTXO set

+

This full node do not support rescan of the UTXO set

}