Former-commit-id: ff1d6bb0bfb3220bcb85008ccb33b91b80f69c48 Former-commit-id: 4d3f29a246015ec31bed1be0fd58dbb4b9b70cb21.0
parent
51cbfeaef1
commit
d40cc649aa
@ -0,0 +1,91 @@
|
||||
@model PagedListModel<Platform.Controllers.Logs>
|
||||
@{
|
||||
var start = 0;
|
||||
}
|
||||
<form action="@Url.Action(null,null)" method="get" class="form-horizontal query">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 col-form-label" style="text-align:right;overflow:hidden;">等级:</label>
|
||||
<div class="col-sm-9">
|
||||
@Html.EditorFor(o => o.Query.Level)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 col-form-label" style="text-align:right;overflow:hidden;">消息:</label>
|
||||
<div class="col-sm-9">
|
||||
@Html.EditorFor(o => o.Query.RenderedMessage)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 col-form-label" style="text-align:right;overflow:hidden;">异常:</label>
|
||||
<div class="col-sm-9">
|
||||
@Html.EditorFor(o => o.Query.Exception)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 col-form-label" style="text-align:right;overflow:hidden;">属性:</label>
|
||||
<div class="col-sm-9">
|
||||
@Html.EditorFor(o => o.Query.Properties)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-3"></div>
|
||||
<div class="col-sm-9">
|
||||
<button type="submit" class="action query btn btn-primary cancel" data-action="@Url.Action(null,null)">
|
||||
查询
|
||||
</button>
|
||||
<button type="submit" class="action confirm btn btn-danger" data-action="@Url.Action("Delete")">
|
||||
删除
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body" style="overflow-x:auto;">
|
||||
<table class="table table-hover text-nowrap table-bordered dataTable dtr-inline projects">
|
||||
<tr>
|
||||
<th><input type="checkbox" class="select_all" /></th>
|
||||
<th>行号</th>
|
||||
<th>Id</th>
|
||||
<th>Timestamp</th>
|
||||
<th>Level</th>
|
||||
<th>Exception</th>
|
||||
<th>RenderedMessage</th>
|
||||
<th>Properties</th>
|
||||
</tr>
|
||||
@foreach (var item in Model.List)
|
||||
{
|
||||
<tr>
|
||||
<td title="@item.Id">
|
||||
<input type="checkbox" name="list[]" value="@item.Id" />
|
||||
</td>
|
||||
<td>@(++start)</td>
|
||||
<td>@item.Id</td>
|
||||
<td>@item.Timestamp</td>
|
||||
<td>@item.Level</td>
|
||||
<td>@item.Exception
|
||||
<td>@item.RenderedMessage</td>
|
||||
<td>@item.Properties</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-footer clearfix">
|
||||
@(await Html.PartialAsync("_Paged"))
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
Loading…
Reference in new issue