debshots/app/views/logs/index.html.slim

26 lines
558 B
Text

// Paginator and search bar
.row
.small-6.medium-8.large-9.columns
// Paginator
= render 'logs/paginator'
.small-6.medium-4.large-3.columns
// Search form
= render 'packages/searchfield'
// List of log messages
.row
- if @logs.length>0
table
tr
th Timestamp
th Message
- @logs.each do |log|
tr
th =log.created_at
th =log.message
- else
p No logs. Crazy.
// Second paginator at the bottom so the user does not have to scroll up again
= render 'logs/paginator'