IW4M-Admin/WebfrontCore/Views/Console/Index.cshtml
RaidMax c2a3cf0d15 fixed minification and bundling
template tweaks
2018-04-09 22:33:42 -05:00

24 lines
999 B
Plaintext

@model IEnumerable<SharedLibraryCore.Dtos.ServerInfo>
<div class="row justify-content-center">
<div id="console" class="col-md-8">
@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" })
<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">
<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">Execute</button>
</div>
</div>
</div>
</div>
@section scripts {
<environment include="Development">
<script type="text/javascript" src="~/js/console.js"></script>
</environment>
}