mitrobill/ui/ui/pool.tpl

77 lines
3.9 KiB
Smarty
Raw Normal View History

2022-09-06 10:31:33 +07:00
{include file="sections/header.tpl"}
2022-11-17 12:36:32 +07:00
<!-- pool -->
<div class="row">
<div class="col-sm-12">
<div class="panel panel-hovered mb20 panel-primary">
2023-09-15 13:34:56 +07:00
<div class="panel-heading">
<div class="btn-group pull-right">
<a class="btn btn-primary btn-xs" title="save" href="{$_url}pool/sync"
onclick="return confirm('This will sync/send IP Pool to Mikrotik?')"><span
class="glyphicon glyphicon-refresh" aria-hidden="true"></span> sync</a>
</div>
2024-06-10 16:53:21 +07:00
{Lang::T('IP Pool')} - PPPOE
2023-09-15 13:34:56 +07:00
</div>
2022-11-17 12:36:32 +07:00
<div class="panel-body">
<div class="md-whiteframe-z1 mb20 text-center" style="padding: 15px">
<div class="col-md-8">
<form id="site-search" method="post" action="{$_url}pool/list/">
<div class="input-group">
<div class="input-group-addon">
<span class="fa fa-search"></span>
</div>
<input type="text" name="name" class="form-control"
2024-02-13 13:54:01 +07:00
placeholder="{Lang::T('Search by Name')}...">
2022-11-17 12:36:32 +07:00
<div class="input-group-btn">
2024-02-13 13:54:01 +07:00
<button class="btn btn-success" type="submit">{Lang::T('Search')}</button>
2022-11-17 12:36:32 +07:00
</div>
</div>
</form>
</div>
<div class="col-md-4">
2024-02-26 11:43:57 +07:00
<a href="{$_url}pool/add" class="btn btn-primary btn-block"><i
2024-02-13 13:54:01 +07:00
class="ion ion-android-add"> </i> {Lang::T('New Pool')}</a>
2022-11-17 12:36:32 +07:00
</div>&nbsp;
</div>
<div class="table-responsive">
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
2024-02-13 13:54:01 +07:00
<th>{Lang::T('Name Pool')}</th>
2024-06-10 16:53:21 +07:00
<th>{Lang::T('Local IP')}</th>
2024-02-13 13:54:01 +07:00
<th>{Lang::T('Range IP')}</th>
<th>{Lang::T('Routers')}</th>
<th>{Lang::T('Manage')}</th>
<th>ID</th>
2022-11-17 12:36:32 +07:00
</tr>
</thead>
<tbody>
{foreach $d as $ds}
<tr>
<td>{$ds['pool_name']}</td>
2024-06-10 16:53:21 +07:00
<td>{$ds['local_ip']}</td>
2022-11-17 12:36:32 +07:00
<td>{$ds['range_ip']}</td>
<td>{$ds['routers']}</td>
<td align="center">
2024-02-13 13:54:01 +07:00
<a href="{$_url}pool/edit/{$ds['id']}" class="btn btn-info btn-xs">{Lang::T('Edit')}</a>
2023-09-15 13:34:56 +07:00
<a href="{$_url}pool/delete/{$ds['id']}" id="{$ds['id']}"
2024-02-13 13:54:01 +07:00
onclick="return confirm('{Lang::T('Delete')}?')"
2024-02-16 15:09:28 +07:00
class="btn btn-danger btn-xs"><i class="glyphicon glyphicon-trash"></i></a>
2022-11-17 12:36:32 +07:00
</td>
<td>{$ds['id']}</td>
2022-11-17 12:36:32 +07:00
</tr>
{/foreach}
</tbody>
</table>
</div>
{include file="pagination.tpl"}
<div class="bs-callout bs-callout-info" id="callout-navbar-role">
2024-08-20 20:19:34 +07:00
<h4>{Lang::T('Create expired Internet Plan')}</h4>
<p>{Lang::T('When customer expired, you can move it to Expired Internet Plan')}</p>
</div>
2022-11-17 12:36:32 +07:00
</div>
</div>
</div>
</div>
2022-09-06 10:31:33 +07:00
2024-08-20 20:19:34 +07:00
{include file="sections/footer.tpl"}