diff options
Diffstat (limited to 'lib/killjoy/web/views/index.erb')
| -rw-r--r-- | lib/killjoy/web/views/index.erb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/killjoy/web/views/index.erb b/lib/killjoy/web/views/index.erb index 4f2a926..3561cf6 100644 --- a/lib/killjoy/web/views/index.erb +++ b/lib/killjoy/web/views/index.erb @@ -1,25 +1,25 @@ -<h1>Logs</h1> +<h1><a href="/">Logs</a></h1> <table> <thead> <tr> <th>IP Address</th> - <th>Http Status</th> - <th>Http Verb</th> - <th>Http Version</th> - <th>Timestamp</th> + <th>Status</th> + <th>Verb</th> <th>Url</th> + <th>Version</th> + <th>Timestamp</th> <th>User Agent</th> </tr> </thead> <tbody> <% @logs.each do |log| %> <tr> - <td><%= log.ipaddress %></td> + <td><a href="/ip/<%= log.ipaddress %>"><%= log.ipaddress %></a></td> <td><%= log.http_status %></td> <td><%= log.http_verb %></td> + <td><%= log.url %></td> <td><%= log.http_version %></td> <td><%= log.timestamp %></td> - <td><%= log.url %></td> <td><%= log.user_agent %></td> </tr> <% end %> |
