diff options
author | Simon Rettberg | 2014-10-09 16:01:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-10-09 16:01:11 +0200 |
commit | e1dc0d3c99217504de2ac8467156274786efc0bd (patch) | |
tree | 130d7fed1fff8aaaffe5942cf2a3d6bb1dad03c8 /templates/page-syslog.html | |
parent | Minor fixes and improvements (diff) | |
download | slx-admin-e1dc0d3c99217504de2ac8467156274786efc0bd.tar.gz slx-admin-e1dc0d3c99217504de2ac8467156274786efc0bd.tar.xz slx-admin-e1dc0d3c99217504de2ac8467156274786efc0bd.zip |
Big load of changes
- Added callback functionality for taskmanager tasks. You can launch
a task and define a callback function to be run when the task finished.
This requires activating the cronjob
- Added cron functionality: Add cronjob that calls the cron api every 5
minutes to use it. (See cron.inc.php)
- Added eventlog
- Added missing translations
- Merged main-menu-login and main-menu-logout
Diffstat (limited to 'templates/page-syslog.html')
-rw-r--r-- | templates/page-syslog.html | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/templates/page-syslog.html b/templates/page-syslog.html index b7064619..123ac074 100644 --- a/templates/page-syslog.html +++ b/templates/page-syslog.html @@ -16,11 +16,11 @@ {{{pagenav}}} <table class="table table-striped table-condensed"> <thead> - <th></th> + <th width="1"></th> <th>{{lang_when}}</th> <th>{{lang_client}}</th> <th>{{lang_event}}</th> - <th>{{lang_details}}</th> + <th width="1">{{lang_details}}</th> </thead> <tbody> {{#list}} @@ -29,10 +29,10 @@ <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}}">»</a>{{/extra}}</td> - </tr> - <tr class="collapse" id="extra{{logid}}"> - <td colspan="5"><pre>{{extra}}</pre></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> @@ -40,3 +40,21 @@ {{{pagenav}}} </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">×</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> + + |