mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-28 21:26:36 +00:00
Add command output to admin panel
This commit is contained in:
parent
630b38e7bb
commit
a733eb21a4
18 changed files with 114 additions and 37 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue