IW4M-Admin/WebfrontCore/Views/Console/Index.cshtml

62 lines
3.3 KiB
Plaintext
Raw Normal View History

2018-04-08 02:44:42 -04:00
@model IEnumerable<SharedLibraryCore.Dtos.ServerInfo>
2022-04-19 19:43:58 -04:00
<div class="content mt-0">
<h2 class="content-title mt-20">Web Console</h2>
<div id="console" class="card m-0 mb-20">
<div id="console_command_response" class="bg-dark-dm bg-light-lm p-10 code rounded">
<pre style="font-size: 8px;"> /(((((((*
./((((((((((((((((,
.*/(((((((((((((((((((((((((.
*((((((((((((((((((((((((((((((((((
./(((((((((((((((((((((((((((((((((((/ ,**,
./(((((((((((((((((((((((((((((((/ ,******,
,(((((((((((((((((((((((((((((* ********//**.
*/(((((((((((((((((((((((((* ***************
,*** ,(((((((((((((((((((((((, ,***************.
,****/**,*/(((((((((((((((((((. *************,
************,,((((((((((((((((*. ,************
.***********, *((((((((((((( .*//*********
.,**********, ,(((((((((/ ***********
,**********, *(((((((/ ,**********
,/*********, .*(((* **********,
,/*********, .*. ***********.
,**********, ***********
.*********** ***********
.************ .***********
************. .************,
,************* .**************,
.***************** *****************.
*******************************************,
.*//***********************************.
********************************,.
.************************,
,.**,
</pre>
2018-02-23 02:06:13 -05:00
</div>
2022-04-19 19:43:58 -04:00
</div>
<div class="card m-0 rounded">
<div class="input-group mb-10">
<div class="input-group-prepend">
2022-07-05 13:02:43 -04:00
<span class="input-group-text">@ViewBag.Localization["WEBFRONT_CONSOLE_FORM_SERVER"]</span>
2018-02-23 02:06:13 -05:00
</div>
2022-04-19 19:43:58 -04:00
@Html.DropDownList("Server", Model.Select(s => new SelectListItem { Text = s.Name.StripColors(), Value = s.ID.ToString() }).ToList(), new { @class = "form-control", id = "console_server_select" })
</div>
<div class="input-group">
2022-07-05 13:02:43 -04:00
<input id="console_command_value" class="form-control" placeholder="@ViewBag.Localization["WEBFRONT_CONSOLE_FORM_PLACEHOLDER_COMMAND"]" type="text" required="required"/>
2022-04-19 19:43:58 -04:00
<div class="input-group-append">
<button id="console_command_button" class="btn btn-primary">
@Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_CONSOLE_EXECUTE"]
</button>
2018-02-23 02:06:13 -05:00
</div>
</div>
</div>
</div>
@section scripts {
<environment include="Development">
<script type="text/javascript" src="~/js/console.js"></script>
</environment>
}