WIP
This commit is contained in:
parent
113dd90aa3
commit
7f4db65217
7 changed files with 77 additions and 0 deletions
16
app/views/admin/abuse_metrics/index.html.haml
Normal file
16
app/views/admin/abuse_metrics/index.html.haml
Normal file
|
@ -0,0 +1,16 @@
|
|||
- content_for :header_tags do
|
||||
= javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
|
||||
|
||||
.dashboard
|
||||
.dashboard__item
|
||||
= react_admin_component :dimension, dimension: 'ips', start_at: 1.hour.ago, end_at: Time.now.utc, limit: 8, label: 'New accounts by IP last hour'
|
||||
.dashboard__item
|
||||
= react_admin_component :dimension, dimension: 'ips', start_at: 1.day.ago, end_at: Time.now.utc, limit: 8, label: 'New accounts by IP last day'
|
||||
.dashboard__item
|
||||
= react_admin_component :dimension, dimension: 'ips', start_at: 7.days.ago, end_at: Time.now.utc, limit: 8, label: 'New accounts by IP last week'
|
||||
.dashboard__item
|
||||
= react_admin_component :dimension, dimension: 'email_domains', start_at: 1.hour.ago, end_at: Time.now.utc, limit: 8, label: 'New accounts by e-mail domain last hour'
|
||||
.dashboard__item
|
||||
= react_admin_component :dimension, dimension: 'email_domains', start_at: 1.day.ago, end_at: Time.now.utc, limit: 8, label: 'New accounts by e-mail domain last day'
|
||||
.dashboard__item
|
||||
= react_admin_component :dimension, dimension: 'email_domains', start_at: 7.days.ago, end_at: Time.now.utc, limit: 8, label: 'New accounts by e-mail domain last week'
|
Loading…
Add table
Add a link
Reference in a new issue