add syslog page for customer; pagination needs to be fixed
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
48
templates/Sparkle/customer/logger/logger.tpl
vendored
Normal file
48
templates/Sparkle/customer/logger/logger.tpl
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/syslog_big.png" alt="" />
|
||||
{$lng['menue']['logger']['logger']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'logger'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<input type="hidden" name="s" value="$s"/>
|
||||
<input type="hidden" name="page" value="$page"/>
|
||||
<input type="hidden" name="send" value="send" />
|
||||
|
||||
<div class="overviewsearch">
|
||||
{$searchcode}
|
||||
</div>
|
||||
|
||||
<div class="overviewadd">
|
||||
{$pagingcode}
|
||||
</div>
|
||||
|
||||
<table class="full hl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lng['logger']['date']} {$arrowcode['date']}</th>
|
||||
<th>{$lng['logger']['type']} {$arrowcode['type']}</th>
|
||||
<th>{$lng['logger']['action']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
$log
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<if 15 < $log_count >
|
||||
<div class="overviewadd">
|
||||
{$pagingcode}
|
||||
</div>
|
||||
</if>
|
||||
|
||||
</section>
|
||||
|
||||
</article>
|
||||
$footer
|
||||
3
templates/Sparkle/customer/logger/logger_action.tpl
vendored
Normal file
3
templates/Sparkle/customer/logger/logger_action.tpl
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<tr>
|
||||
<td colspan="3"><strong>{$row['action']}</strong></td>
|
||||
</tr>
|
||||
5
templates/Sparkle/customer/logger/logger_log.tpl
vendored
Normal file
5
templates/Sparkle/customer/logger/logger_log.tpl
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<tr>
|
||||
<td>{$row['date']}</td>
|
||||
<td>{$row['type']}</td>
|
||||
<td>{$row['text']}</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user