discourse/app/assets/javascripts/admin/templates/logs/screened_ip_addresses.hbs

34 lines
1.4 KiB
Handlebars
Raw Normal View History

<p>{{i18n 'admin.logs.screened_ips.description'}}</p>
2014-12-06 23:15:22 -05:00
<div class="pull-right">
2015-02-10 13:38:59 -05:00
{{text-field value=filter class="ip-address-input" placeholderKey="admin.logs.screened_ips.form.filter" autocorrect="off" autocapitalize="off"}}
{{d-button action="rollUp" title="admin.logs.screened_ips.roll_up.title" label="admin.logs.screened_ips.roll_up.text"}}
{{d-button action="exportScreenedIpList" icon="download" title="admin.export_csv.button_title.screened_ip" label="admin.export_csv.button_text"}}
</div>
<div>
{{screened-ip-address-form action="recordAdded"}}
2014-12-06 23:15:22 -05:00
</div>
2015-04-28 17:05:06 -04:00
{{#conditional-loading-spinner condition=loading}}
{{#if model.length}}
<div class='table admin-logs-table screened-ip-addresses'>
<div class="heading-container">
<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>
<div class="col heading actions"></div>
<div class="clearfix"></div>
</div>
2016-05-05 15:42:54 -04:00
{{screened-ip-addresses-list content=controller}}
</div>
{{else}}
{{i18n 'search.no_results'}}
{{/if}}
2015-04-28 17:05:06 -04:00
{{/conditional-loading-spinner}}