2014-12-08 16:35:49 -05:00
|
|
|
<p>{{i18n 'admin.logs.screened_ips.description'}}</p>
|
2014-12-06 23:15:22 -05:00
|
|
|
<div class="pull-right">
|
|
|
|
<button class="btn" {{action "rollUp"}} title="{{i18n 'admin.logs.screened_ips.roll_up.title'}}">{{i18n 'admin.logs.screened_ips.roll_up.text'}}</button>
|
|
|
|
<button class="btn" {{action "exportScreenedIpList"}} title="{{i18n 'admin.export_csv.button_title.screened_ip'}}">{{fa-icon "download"}}{{i18n 'admin.export_csv.button_text'}}</button>
|
|
|
|
</div>
|
2013-10-24 17:18:10 -04:00
|
|
|
{{screened-ip-address-form action="recordAdded"}}
|
|
|
|
<br/>
|
|
|
|
|
2014-11-12 15:10:36 -05:00
|
|
|
{{#loading-spinner condition=loading}}
|
2013-10-21 14:49:51 -04:00
|
|
|
{{#if model.length}}
|
|
|
|
|
2013-10-22 16:30:30 -04:00
|
|
|
<div class='table admin-logs-table screened-ip-addresses'>
|
2013-10-21 14:49:51 -04:00
|
|
|
<div class="heading-container">
|
2014-12-08 16:35:49 -05:00
|
|
|
<div class="col heading first ip_address">{{i18n 'admin.logs.ip_address'}}</div>
|
|
|
|
<div class="col heading action">{{i18n 'admin.logs.action'}}</div>
|
|
|
|
<div class="col heading match_count">{{i18n 'admin.logs.match_count'}}</div>
|
|
|
|
<div class="col heading last_match_at">{{i18n 'admin.logs.last_match_at'}}</div>
|
|
|
|
<div class="col heading created_at">{{i18n 'admin.logs.created_at'}}</div>
|
2013-10-22 16:30:30 -04:00
|
|
|
<div class="col heading actions"></div>
|
2013-10-21 14:49:51 -04:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
|
2014-09-11 16:30:47 -04:00
|
|
|
{{view 'screened-ip-addresses-list' content=controller}}
|
2013-10-21 14:49:51 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{else}}
|
2014-12-08 16:35:49 -05:00
|
|
|
{{i18n 'search.no_results'}}
|
2013-10-21 14:49:51 -04:00
|
|
|
{{/if}}
|
2014-11-12 15:10:36 -05:00
|
|
|
{{/loading-spinner}}
|