Add command output to admin panel

This commit is contained in:
jvyden 2022-05-15 17:23:43 -04:00
commit a733eb21a4
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
18 changed files with 114 additions and 37 deletions

View file

@ -11,6 +11,17 @@
Model.Title = "Admin Panel";
}
@if (Model.Log != null)
{
<div class="ui bottom attached message">
<h2>Command Output</h2>
@foreach (string line in Model.Log.Split("\n"))
{
<code>@line.TrimEnd()</code><br>
}
</div>
}
@if (!this.Request.IsMobile())
{
<div class="ui center aligned grid">