ip addresses: add ip address show page.

* Add IP address show page at /ip_addresses/1.2.3.4.
* Add "Details", "Ban IP", "Ban User" options to the /ip_addresses listing.
This commit is contained in:
evazion
2020-03-22 23:28:40 -05:00
parent 13dab1510c
commit f23df47c09
11 changed files with 130 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
<div id="c-ip-addresses">
<div id="a-show">
<h1>IP Address: <%= @ip_address.ip_addr %></h1>
<%= render "info", ip_address: @ip_address, ip_info: @ip_info %>
</div>
</div>