mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
60 lines
1.6 KiB
Smarty
60 lines
1.6 KiB
Smarty
<div class="card card-body">
|
|
<h1>{$title}</h1>
|
|
|
|
{if !empty($groupmsglist)}
|
|
<table class="data table table-striped responsive-utilities jambo-table Sortable">
|
|
|
|
<tr>
|
|
<th>group</th>
|
|
<th>msg</th>
|
|
</tr>
|
|
|
|
{foreach $groupmsglist as $group}
|
|
<tr>
|
|
<td>{$group.group}</td>
|
|
<td>{$group.msg}</td>
|
|
</tr>
|
|
{/foreach}
|
|
|
|
</table>
|
|
<p>View <a href="group-list">all groups</a>.</p>
|
|
{else}
|
|
<p>Regex of groups to add to the site.</p>
|
|
{{Form::open(['url'=> "admin/group-bulk?action=submit"])}}
|
|
<table class="input">
|
|
<tr>
|
|
<td width="90">Group List:</td>
|
|
<td>
|
|
<textarea id="groupfilter" name="groupfilter"></textarea>
|
|
<div class="hint">A regular expression to match against group names e.g.
|
|
alt.binaries.cd.image.linux|alt.binaries.warez.linux
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="active">Active</label>:</td>
|
|
<td>
|
|
{html_radios id="active" name='active' values=$yesno_ids output=$yesno_names selected=1 separator='<br />'}
|
|
<div class="hint">Inactive groups will not have headers downloaded for them.</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="backfill">Backfill:</label></td>
|
|
<td>
|
|
{html_radios id="backfill" name='backfill' values=$yesno_ids output=$yesno_names selected=0 separator='<br />'}
|
|
<div class="hint">Inactive groups will not have backfill headers downloaded for them.</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>
|
|
<input class="btn btn-success" type="submit" value="Add Groups"/>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{{Form::close()}}
|
|
{/if}
|
|
</div>
|