summaryrefslogtreecommitdiffstats
path: root/templates/page-syslog.html
diff options
context:
space:
mode:
authorSimon Rettberg2014-10-09 16:01:11 +0200
committerSimon Rettberg2014-10-09 16:01:11 +0200
commite1dc0d3c99217504de2ac8467156274786efc0bd (patch)
tree130d7fed1fff8aaaffe5942cf2a3d6bb1dad03c8 /templates/page-syslog.html
parentMinor fixes and improvements (diff)
downloadslx-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.html30
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}}">&raquo;</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">&raquo;</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">&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>
+
+