summaryrefslogtreecommitdiffstats
path: root/templates/statistics/syslog.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-15 18:33:37 +0100
committerSimon Rettberg2016-02-15 18:33:37 +0100
commit6821a5f066b8e2a5648c0eabf1322749300d28c3 (patch)
treed61b1fd3e2e91532dceed824ae03513430f037b6 /templates/statistics/syslog.html
parent[ad/ldap] Fallback to default ports if working on old config (diff)
downloadslx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.tar.gz
slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.tar.xz
slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.zip
[statistics] Smart values, show last log lines, location support
Diffstat (limited to 'templates/statistics/syslog.html')
-rw-r--r--templates/statistics/syslog.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/templates/statistics/syslog.html b/templates/statistics/syslog.html
new file mode 100644
index 00000000..c82cb8ac
--- /dev/null
+++ b/templates/statistics/syslog.html
@@ -0,0 +1,43 @@
+<h3>{{lang_logHeadline}}</h3>
+<table class="table table-striped table-condensed">
+ <thead>
+ <th width="1"></th>
+ <th>{{lang_when}}</th>
+ <th>{{lang_event}}</th>
+ <th width="1">{{lang_details}}</th>
+ </thead>
+ <tbody>
+ {{#list}}
+ <tr>
+ <td><span class="glyphicon {{icon}}" title="{{logtypeid}}" onclick="$('#filterstring').tagsinput('add', '{{logtypeid}}')"></span></td>
+ <td class="text-right" nowrap="nowrap">{{date}}</td>
+ <td>{{description}}</td>
+ <td>{{#extra}}
+ <a class="btn btn-default btn-xs pull-left" onclick="$('#details-body').html($('#extra-{{logid}}').html())" data-toggle="modal" data-target="#myModal">&raquo;</a>
+ <div class="hidden" id="extra-{{logid}}">{{extra}}</div>
+ {{/extra}}</td>
+ </tr>
+ {{/list}}
+ </tbody>
+</table>
+<div class="pull-right"><a class="btn btn-default btn-sm" href="?do=SysLog&amp;ip={{clientip}}">{{lang_more}} &raquo;</a></div>
+<div class="clearfix"></div>
+
+<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog modal-lg">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
+ <h4 class="modal-title" id="myModalLabel">{{lang_details}}</h4>
+ </div>
+ <div class="modal-body">
+ <pre id="details-body"></pre>
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+ </div>
+ </div>
+ </div>
+</div>
+
+