2018-04-08 02:44:42 -04:00
@model IEnumerable<SharedLibraryCore.Dtos.ServerInfo>
2018-03-13 17:30:22 -04:00
2018-02-23 02:06:13 -05:00
<div class="row justify-content-center">
<div id="console" class="col-md-8">
2018-04-09 23:33:42 -04:00
@Html.DropDownList("Server", Model.Select(s => new SelectListItem() { Text = 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">
2018-04-05 18:50:04 -04:00
<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>
2018-04-05 18:50:04 -04:00
<div class="col pl-1 pl-sm-0">
2018-05-05 18:52:04 -04:00
<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 {
2018-04-09 23:33:42 -04:00
<environment include="Development">
<script type="text/javascript" src="~/js/console.js"></script>
</environment>
}