mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:46:22 +00:00
20 lines
575 B
Text
20 lines
575 B
Text
%main.row
|
|
%aside.menu.col-md-3
|
|
= render 'sites/header', site: @site
|
|
.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]
|
|
%td= link_to_if url.present?, url, url, class: 'word-break-all'
|
|
%td
|
|
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
|
|
%td= row[:size]
|