zoneminder/web/views/log.php

70 lines
2.2 KiB
PHP
Raw Normal View History

<?php xhtmlHeaders(__FILE__, $SLANG['SystemLog'] ); ?>
2014-11-01 02:46:37 +08:00
<body>
<?php include("header.php"); ?>
2014-12-02 00:16:30 +08:00
<div class="container-fluid" ng-controller="LogController">
<div class="row">
<div class="col-md-2">
<div id="filters">
<div class="form-group">
<label class="sr-only" for="filter[Component]">Component</label>
<select class="form-control" id="filter[Component]" onchange="filterLog(this)"><option value="">Component</option></select>
</div>
<div class="form-group">
<label class="sr-only" for="filter[Pid]">PID</label>
<select class="form-control" id="filter[Pid]" onchange="filterLog(this)"><option value="">PID</option></select>
</div>
<div class="form-group">
<label class="sr-only" for="filter[Level]">Level</label>
<select class="form-control" id="filter[Level]" onchange="filterLog(this)"><option value="">Level</option></select>
</div>
<div class="form-group">
<label class="sr-only" for="filter[File]">File</label>
<select class="form-control" id="filter[File]" onchange="filterLog(this)"><option value="">File</option></select>
</div>
<div class="form-group">
<label class="sr-only" for="filter[Line]">Line</label>
<select class="form-control" id="filter[Line]" onchange="filterLog(this)"><option value="">Line</option></select>
</div>
2014-11-01 02:46:37 +08:00
</div>
</div>
<div class="col-md-10">
<dir-pagination-controls on-page-change="pageChanged(newPageNumber)"></dir-pagination-controls>
2014-12-02 00:16:30 +08:00
<table class="table table-striped table-condensed">
<tr>
<th><?= $SLANG['DateTime'] ?></th>
<th><?= $SLANG['Component'] ?></th>
<th><?= $SLANG['Pid'] ?></th>
<th><?= $SLANG['Level'] ?></th>
<th><?= $SLANG['Message'] ?></th>
<th><?= $SLANG['File'] ?></th>
<th><?= $SLANG['Line'] ?></th>
</tr>
<tr dir-paginate="log in logs| itemsPerPage: logsPerPage" total-items="totalLogs">
2014-12-02 00:16:30 +08:00
<td>{{ log.Log.TimeKey }}</td>
<td>{{ log.Log.Component }}</td>
<td>{{ log.Log.Pid }}</td>
<td>{{ log.Log.Level }}</td>
<td>{{ log.Log.Message }}</td>
<td>{{ log.Log.File }}</td>
<td>{{ log.Log.Line }}</td>
</tr>
</table>
2014-11-01 02:46:37 +08:00
</div>
</div>
</div>
2014-11-01 02:46:37 +08:00
</body>
</html>