2023-04-15 21:36:56 +00:00
|
|
|
%main.row
|
|
|
|
%aside.menu.col-md-3
|
2023-04-21 15:36:40 +00:00
|
|
|
= render 'sites/header', site: @site
|
2023-04-15 21:36:56 +00:00
|
|
|
.col
|
|
|
|
%h1= t('.title')
|
|
|
|
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
- @headers.each do |header|
|
|
|
|
%th{ scope: 'col' }= header
|
|
|
|
%tbody
|
|
|
|
- @table.each do |row|
|
|
|
|
- row[:urls].each do |url|
|
|
|
|
%tr
|
|
|
|
%th{ scope: 'row' }= row[:title]
|
2023-08-31 17:41:34 +00:00
|
|
|
%td= link_to_if (url.present? && uri.scheme.present?), url.to_s, url.to_s, class: 'word-break-all'
|
2023-04-15 21:36:56 +00:00
|
|
|
%td
|
|
|
|
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
|
|
|
|
%td= row[:size]
|