My views improved. Own screenshots view added

This commit is contained in:
Christoph Haas 2021-03-09 22:43:50 +01:00
parent 15b58548cc
commit 0207d6b392
7 changed files with 93 additions and 39 deletions

View file

@ -6,16 +6,17 @@
// Paginator
= render(partial: 'packages/paginator', locals: {items: @logs})
.small-6.medium-4.large-3.cell
// Search form
= render 'packages/searchfield'
/ .small-6.medium-4.large-3.cell
/ // Search form
/ = render 'packages/searchfield'
- if @logs
table
thead
tr
th Time
th Message
th Level
/ th Level
th Section
th Package
th Screenshot
@ -24,8 +25,9 @@
tbody
- @logs.each do |log|
tr
td #{log.created_at}
td #{log.message}
td #{log.level}
/ td #{log.level}
td #{log.section}
td
- if log.package