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

24 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2018-04-08 02:44:42 -04:00
@model IEnumerable<SharedLibraryCore.Dtos.ServerInfo>
2018-02-23 02:06:13 -05:00
<div class="row justify-content-center">
<div id="console" class="col-md-8">
2019-08-02 19:04:34 -04:00
@Html.DropDownList("Server", Model.Select(s => new SelectListItem() { Text = SharedLibraryCore.Utilities.StripColors(s.Name), Value = s.ID.ToString() }).ToList(), new { @class = "form-control bg-dark text-light", id = "console_server_select" })
2018-02-23 02:06:13 -05:00
<div id="console_command_response" class="bg-dark p-3">
</div>
<div class="form-row">
<div class="col-12 col-sm-9 pr-1 pr-sm-0">
2018-02-23 02:06:13 -05:00
<input id="console_command_value" class="form-control m-0 bg-dark text-light" type="text" />
</div>
<div class="col pl-1 pl-sm-0">
<button id="console_command_button" class="btn btn-primary btn-block m-0">@SharedLibraryCore.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>
}