summaryrefslogtreecommitdiffstats
path: root/templates/page-syslog.html
diff options
context:
space:
mode:
authorSimon Rettberg2013-12-17 15:22:57 +0100
committerSimon Rettberg2013-12-17 15:22:57 +0100
commit4981c766a8a1b74e119e9f3d5cc38c3b8210568a (patch)
tree595cb32b215a0b719f7f401e6e7ddb12ee8efbb6 /templates/page-syslog.html
parentAdded client log feature/view (diff)
downloadslx-admin-4981c766a8a1b74e119e9f3d5cc38c3b8210568a.tar.gz
slx-admin-4981c766a8a1b74e119e9f3d5cc38c3b8210568a.tar.xz
slx-admin-4981c766a8a1b74e119e9f3d5cc38c3b8210568a.zip
Remote client logging
Diffstat (limited to 'templates/page-syslog.html')
-rw-r--r--templates/page-syslog.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/templates/page-syslog.html b/templates/page-syslog.html
index b7e4c98e..c741ab6b 100644
--- a/templates/page-syslog.html
+++ b/templates/page-syslog.html
@@ -1,6 +1,18 @@
<div class="container">
<h1>Client Log</h1>
- <table class="table table-striped">
+ <form method="post" action="?do=syslog">
+ <div class="input-group">
+ <span class="input-group-addon">Filter</span>
+ <input id="filterstring" type="text" class="form-control" placeholder="event-id" value="{{filter}}" name="filter">
+ <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>
+ <table class="table table-striped table-condensed">
<thead>
<th></th>
<th>Wann</th>
@@ -11,7 +23,7 @@
<tbody>
{{#list}}
<tr>
- <td><span class="glyphicon glyphicon-off"></span></td>
+ <td><span class="glyphicon glyphicon-off" title="{{logtypeid}}" onclick="$('#filterstring').val($('#filterstring').val() + ' {{logtypeid}}')"></span></td>
<td class="text-right" nowrap="nowrap">{{date}}</td>
<td>{{clientip}}</td>
<td>{{description}}</td>