mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 11:49:03 +00:00
37 lines
1.0 KiB
Smarty
37 lines
1.0 KiB
Smarty
<div class="well well-sm">
|
|
<h1>{$page->title}</h1>
|
|
<br /><br />
|
|
{if $data}
|
|
{$pager}
|
|
<table style="width:100%;margin-top:10px;" class="data table table-striped responsive-utilities jambo-table">
|
|
<tr>
|
|
<th>
|
|
<select name="logtype" id="logtype" onchange="window.location='{$smarty.const.WWW_TOP}/view-logs.php?t=' + this.value;">
|
|
{foreach $types as $newtype}
|
|
<option {if $type == $newtype}selected="selected"{/if} value="{$newtype}">
|
|
{$newtype}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
</th>
|
|
</tr>
|
|
{foreach from=$data item=log}
|
|
<tr class="{cycle values=",alt"}">
|
|
<td>{$log}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
<br />
|
|
{$pager}
|
|
{else}
|
|
<h3>Nothing found, maybe you need to turn on logging in : {$path}</h3>
|
|
<select name="logtype" id="logtype" onchange="window.location='{$smarty.const.WWW_TOP}/view-logs.php?t=' + this.value;">
|
|
{foreach $types as $newtype}
|
|
<option {if $type == $newtype}selected="selected"{/if} value="{$newtype}">
|
|
{$newtype}
|
|
</option>
|
|
{/foreach}
|
|
</select>
|
|
{/if}
|
|
</div>
|