From 414d6414401e02360ea51892e54c0f21ff5ef6e9 Mon Sep 17 00:00:00 2001 From: djbadders <34887832+djbadders@users.noreply.github.com> Date: Tue, 16 Apr 2019 21:22:28 +0100 Subject: [PATCH] Fixes for mobile view and SSV added to bags list --- Monitor/Pages/BagAnalyzer.cshtml | 1 + Monitor/Pages/_Layout.cshtml | 11 +- Monitor/Pages/_get/BagList.cshtml | 3 + Monitor/Pages/_get/DashboardBottom.cshtml | 16 +- Monitor/Pages/_get/DashboardTop.cshtml | 205 +++++++++++----------- Monitor/wwwroot/assets/css/custom.css | 7 + 6 files changed, 129 insertions(+), 114 deletions(-) diff --git a/Monitor/Pages/BagAnalyzer.cshtml b/Monitor/Pages/BagAnalyzer.cshtml index 4aa3ad0..e2a3e3f 100644 --- a/Monitor/Pages/BagAnalyzer.cshtml +++ b/Monitor/Pages/BagAnalyzer.cshtml @@ -37,6 +37,7 @@
Your Profit Trailer did not find anything worth buying so far.
} else { +Market | -24H Trend | -Value | -- | DCA Buy Strats | -Sell Strats | -Profit | -- | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@dcaLogEntry.Market | - } else { -@dcaLogEntry.Market | - } - -@Html.Raw((dcaLogEntry.PercChange * 100).ToString("#,#0.00", new System.Globalization.CultureInfo("en-US")))% | - -@Html.Raw(dcaLogEntry.TotalCost.ToString("#,#0.000000", new System.Globalization.CultureInfo("en-US"))) | - -- @if (dcaEnabled) { - @if (dcaLogEntry.BoughtTimes > 0) { - @dcaLogEntry.BoughtTimes; - } - } else { - - } - | - -@Html.Raw(buyStrategyText) | - -@Html.Raw(sellStrategyText) | - - @if(!@lostValue) - { -@dcaLogEntry.ProfitPercent.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US"))% | - } - else - { -No Value! | - } - -+ |
Market | +24H Trend | +Value | ++ | DCA Buy Strats | +Sell Strats | +Profit | +
---|
@Model.PTMagicConfiguration.GeneralSettings.Monitor.MaxDashboardBagEntries of @Model.PTData.DCALog.Count items listed - View all items
diff --git a/Monitor/wwwroot/assets/css/custom.css b/Monitor/wwwroot/assets/css/custom.css index cad3e31..2b3ef38 100644 --- a/Monitor/wwwroot/assets/css/custom.css +++ b/Monitor/wwwroot/assets/css/custom.css @@ -135,6 +135,13 @@ a:active { font-size : 12px; } +/* If the screen size is 400px wide or less, set the font-size of