Show all columns of log records
This commit is contained in:
parent
6b54bc2847
commit
6c1b1130d7
1 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
.small-6.medium-8.large-9.cell
|
.small-6.medium-8.large-9.cell
|
||||||
// Paginator
|
// Paginator
|
||||||
= render 'admin/logs/paginator'
|
= render 'admin/logs/paginator'
|
||||||
|
h1 Logs
|
||||||
|
|
||||||
.small-6.medium-4.large-3.cell
|
.small-6.medium-4.large-3.cell
|
||||||
// Search form
|
// Search form
|
||||||
|
|
@ -16,10 +17,18 @@
|
||||||
tr
|
tr
|
||||||
th Timestamp
|
th Timestamp
|
||||||
th Message
|
th Message
|
||||||
|
th Level
|
||||||
|
th Section
|
||||||
|
th IP address
|
||||||
|
th Session token
|
||||||
- @logs.each do |log|
|
- @logs.each do |log|
|
||||||
tr
|
tr
|
||||||
td =log.created_at
|
td =log.created_at
|
||||||
td =log.message
|
td =log.message
|
||||||
|
td =log.level
|
||||||
|
td =log.section
|
||||||
|
td =log.ip_address
|
||||||
|
td =log.token
|
||||||
- else
|
- else
|
||||||
p No logs found. Crazy.
|
p No logs found. Crazy.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue