health icon
This commit is contained in:
parent
78457fe7be
commit
c76aa34790
|
@ -74,7 +74,7 @@
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th class="text-right">Markets</th>
|
<th class="text-right">Markets</th>
|
||||||
<th class="text-right">Timeframe</th>
|
<th class="text-right">Timeframe</th>
|
||||||
<th class="text-right">Threshold %</th>
|
<th class="text-right" data-toggle="tooltip" data-placement="top" title="Pairs exceeding this threshold are excluded from the trend average.">Threshold %</th>
|
||||||
<th class="text-right">Change</th>
|
<th class="text-right">Change</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
@ -16,17 +16,17 @@
|
||||||
|
|
||||||
string iconColor = "text-success";
|
string iconColor = "text-success";
|
||||||
string ptMagicHealthIcon = "fa-heartbeat";
|
string ptMagicHealthIcon = "fa-heartbeat";
|
||||||
string ptMagicHealthTooltip = "PT Magic is alive and healthy!";
|
string ptMagicHealthTooltip = "PT Magic is alive and healthy! <br> Time elapsed since last run:"+ lastRuntime;
|
||||||
if (elapsedSecondsSinceRuntime > (intervalSeconds + intervalSeconds)) {
|
if (elapsedSecondsSinceRuntime > (intervalSeconds * 2)) {
|
||||||
ptMagicHealthIcon = "fa-exclamation-triangle";
|
ptMagicHealthIcon = "fa-exclamation-triangle";
|
||||||
ptMagicHealthTooltip = "PT Magic seems to have problems, check the logs!";
|
ptMagicHealthTooltip = "PT Magic seems to have problems, check the logs! Time elapsed since last run: "+ Math.Round(elapsedSecondsSinceRuntime / 60, 1) + " mins.";
|
||||||
iconColor = "text-danger";
|
iconColor = "text-danger";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="card-box card-box-mini card-box-ptmagic-outlined">
|
<div class="card-box card-box-mini card-box-ptmagic-outlined">
|
||||||
<span data-toggle="tooltip" data-placement="bottom" title="Active global setting">
|
<span data-toggle="tooltip" data-placement="bottom" title="Active global setting">
|
||||||
@Core.Helper.SystemHelper.SplitCamelCase(Model.Summary.CurrentGlobalSetting.SettingName)</span><span class = "header-title"><a href="ManaSettingsAnalyzergeSMS">@Html.Raw(" " + globalSettingInfoIcon)</a></span>
|
@Core.Helper.SystemHelper.SplitCamelCase(Model.Summary.CurrentGlobalSetting.SettingName)</span><span class = "header-title"><a href="StatusSummary">@Html.Raw(" " + globalSettingInfoIcon)</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-box card-box-mini card-box-ptmagic-outlined">
|
<div class="card-box card-box-mini card-box-ptmagic-outlined">
|
||||||
|
|
Loading…
Reference in New Issue