diff options
Diffstat (limited to 'templates/page-syslog.html')
-rw-r--r-- | templates/page-syslog.html | 80 |
1 files changed, 39 insertions, 41 deletions
diff --git a/templates/page-syslog.html b/templates/page-syslog.html index 123ac074..7cedd7f3 100644 --- a/templates/page-syslog.html +++ b/templates/page-syslog.html @@ -1,44 +1,42 @@ -<div class="container"> - <h1>{{lang_clientLog}}</h1> - <form method="post" action="?do=SysLog"> - <input type="hidden" name="token" value="{{token}}"> - <div class="input-group"> - <span class="input-group-addon">{{lang_filter}}</span> - <input id="filterstring" type="text" placeholder="id" value="{{filter}}" name="filter" data-role="tagsinput" /> - <span class="input-group-addon"> - <input type="checkbox" name="not" {{#not}}checked="checked"{{/not}}> {{lang_not}} - </span> - <span class="input-group-btn"> - <button class="btn btn-default" type="submit">{{lang_go}}</button> - </span> - </div> - </form> - {{{pagenav}}} - <table class="table table-striped table-condensed"> - <thead> - <th width="1"></th> - <th>{{lang_when}}</th> - <th>{{lang_client}}</th> - <th>{{lang_event}}</th> - <th width="1">{{lang_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" onclick="$('#details-body').html($('#extra-{{logid}}').html())" data-toggle="modal" data-target="#myModal">»</a> - <div class="hidden" id="extra-{{logid}}">{{extra}}</div> - {{/extra}}</td> - </tr> - {{/list}} - </tbody> - </table> - {{{pagenav}}} -</div> +<h1>{{lang_clientLog}}</h1> +<form method="post" action="?do=SysLog"> + <input type="hidden" name="token" value="{{token}}"> + <div class="input-group"> + <span class="input-group-addon">{{lang_filter}}</span> + <input id="filterstring" type="text" placeholder="id" value="{{filter}}" name="filter" data-role="tagsinput" /> + <span class="input-group-addon"> + <input type="checkbox" name="not" {{#not}}checked="checked"{{/not}}> {{lang_not}} + </span> + <span class="input-group-btn"> + <button class="btn btn-default" type="submit">{{lang_go}}</button> + </span> + </div> +</form> +{{{pagenav}}} +<table class="table table-striped table-condensed"> + <thead> + <th width="1"></th> + <th>{{lang_when}}</th> + <th>{{lang_client}}</th> + <th>{{lang_event}}</th> + <th width="1">{{lang_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" onclick="$('#details-body').html($('#extra-{{logid}}').html())" data-toggle="modal" data-target="#myModal">»</a> + <div class="hidden" id="extra-{{logid}}">{{extra}}</div> + {{/extra}}</td> + </tr> + {{/list}} + </tbody> +</table> +{{{pagenav}}} <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> |