mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 11:49:03 +00:00
32 lines
1005 B
Smarty
32 lines
1005 B
Smarty
<div class="well well-sm">
|
|
<h1>{$page->title}</h1>
|
|
|
|
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table">
|
|
|
|
<tr>
|
|
<th>name</th>
|
|
<th>request limit</th>
|
|
<th>download limit</th>
|
|
<th>invites</th>
|
|
<th>can preview</th>
|
|
<th>hide ads</th>
|
|
<th>default roles</th>
|
|
<th>options</th>
|
|
</tr>
|
|
|
|
|
|
{foreach from=$userroles item=role}
|
|
<tr class="{cycle values=",alt"}">
|
|
<td><a href="{$smarty.const.WWW_TOP}/role-edit.php?id={$role.id}">{$role.name}</a></td>
|
|
<td>{$role.apirequests}</td>
|
|
<td>{$role.downloadrequests}</td>
|
|
<td>{$role.defaultinvites}</td>
|
|
<td>{if $role.canpreview == 1}Yes{else}No{/if}</td>
|
|
<td>{if $role.hideads == 1}Yes{else}No{/if}</td>
|
|
<td>{if $role.isdefault=="1"}Yes{else}No{/if}</td>
|
|
<td><a href="{$smarty.const.WWW_TOP}/role-edit.php?id={$role.id}">edit</a> {if $role.id>"3"}<a class="confirm_action" href="{$smarty.const.WWW_TOP}/role-delete.php?id={$role.id}">delete</a>{/if}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
</div>
|