From 0545f6b74d8e9f87378df75fcd38fcca53ef233d Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Mon, 14 Sep 2020 06:45:50 -0700 Subject: [PATCH] Adjust logs section styling (#1907) close #1905 --- BTCPayServer/Views/Server/Logs.cshtml | 50 +++++++++++++++------------ 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/BTCPayServer/Views/Server/Logs.cshtml b/BTCPayServer/Views/Server/Logs.cshtml index 9df0a193a..6f5850a23 100644 --- a/BTCPayServer/Views/Server/Logs.cshtml +++ b/BTCPayServer/Views/Server/Logs.cshtml @@ -5,34 +5,40 @@ -
-
    - @foreach (var file in Model.LogFiles) - { -
  • - @file.Name -
  • - } +
      + @foreach (var file in Model.LogFiles) + {
    • - @if (Model.LogFileOffset > 0) - { - << - } - Showing @Model.LogFileOffset - (@(Model.LogFileOffset+Model.LogFiles.Count)) of @Model.LogFileCount - @if ((Model.LogFileOffset+ Model.LogFiles.Count) < Model.LogFileCount) - { - >> - } + @file.Name +
    • + } +
    + + + +@if (!string.IsNullOrEmpty(Model.Log)) +{ +
    +
    +
    + +
     @Model.Log
     
    - } +} -
@section Scripts { @await Html.PartialAsync("_ValidationScriptsPartial")