summaryrefslogblamecommitdiffstats
path: root/templates/page-syslog.html
blob: 90f301a4e213a3451909bc9bcb1e029661a8d6d5 (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}}}
	<div class="table-responsive">
		<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>
	</div>
	{{{pagenav}}}
</div>