mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 02:09:59 +00:00
Minor logs view update
This commit is contained in:
parent
87ff2d1deb
commit
fb63d0536a
1 changed files with 5 additions and 7 deletions
|
@ -36,14 +36,12 @@ Logs
|
||||||
columns.Bound(c => c.Message);
|
columns.Bound(c => c.Message);
|
||||||
})
|
})
|
||||||
.DetailView(detailView => detailView.ClientTemplate(
|
.DetailView(detailView => detailView.ClientTemplate(
|
||||||
"<div><#= Logger #></div>" +
|
"<div>Logger: <#= Logger #></div>" +
|
||||||
"<div><#= ExceptionType #></div>" +
|
"<div><#= ExceptionType #></div>" +
|
||||||
"<div class='stackframe'><#= Exception #></div>"
|
"<div class='stackframe'><#= Exception #></div>"
|
||||||
)).DataBinding(data => data.Ajax().Select("_AjaxBinding", "Log"))
|
)).DataBinding(data => data.Ajax().Select("_AjaxBinding", "Log"))
|
||||||
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Time).Descending()).Enabled(true))
|
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.Time).Descending()).Enabled(true))
|
||||||
.Pageable(
|
.Pageable(c => c.PageSize(50).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
||||||
c =>
|
|
||||||
c.PageSize(50).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
|
||||||
.Filterable()
|
.Filterable()
|
||||||
.ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
|
.ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
|
||||||
.Render();}
|
.Render();}
|
||||||
|
|
Loading…
Reference in a new issue