summaryrefslogblamecommitdiffstats
path: root/templates/page-syslog.html
blob: eb2f4caa30dd09e0d15155536145e6d8c4336c59 (plain) (tree)
1
2
3
4
5
6
7

                           

                                                                    

                                                                     
                                                                                                                                             







                                                                                                        
                     
                                                           









                                         
                                                                                                                                                                           










                                                                                                                                                                         
                     

      
<div class="container">
	<h1>Client Log</h1>
	<form method="post" action="?do=SysLog">
		<input type="hidden" name="token" value="{{token}}">
		<div class="input-group">
			<span class="input-group-addon">Filter</span>
			<input id="filterstring" type="text" placeholder="event-id" value="{{filter}}" name="filter" data-role="tagsinput" />
			<span class="input-group-addon">
				<input type="checkbox" name="not" {{#not}}checked="checked"{{/not}}> not
			</span>
			<span class="input-group-btn">
				<button class="btn btn-default" type="submit">Los</button>
			</span>
		</div>
	</form>
	{{{pagenav}}}
	<table class="table table-striped table-condensed">
		<thead>
			<th></th>
			<th>Wann</th>
			<th>Client</th>
			<th>Ereignis</th>
			<th>Details</th>
		</thead>
		<tbody>
		{{#list}}
			<tr>
				<td><span class="glyphicon glyphicon-off" title="{{logtypeid}}" onclick="$('#filterstring').tagsinput('add', '{{logtypeid}}')"></span></td>
				<td class="text-right" nowrap="nowrap">{{date}}</td>
				<td>{{clientip}}</td>
				<td>{{description}}</td>
				<td>{{#extra}}<a class="btn btn-default btn-xs pull-left" data-toggle="collapse" data-target="#extra{{logid}}">&raquo;</a>{{/extra}}</td>
			</tr>
			<tr class="collapse" id="extra{{logid}}">
				<td colspan="5"><pre>{{extra}}</pre></td>
			</tr>
		{{/list}}
		</tbody>
	</table>
	{{{pagenav}}}
</div>