mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 14:56:22 +00:00
21 lines
537 B
Text
21 lines
537 B
Text
%h1= @hi
|
|
|
|
= sanitize_markdown @explanation, tags: %w[p a strong em]
|
|
|
|
%table
|
|
%thead
|
|
%tr
|
|
- @headers.each do |header|
|
|
%th= header
|
|
%tbody
|
|
- @table.each do |row|
|
|
- row[:urls].each do |url|
|
|
%tr
|
|
%td= row[:title]
|
|
%td= row[:status]
|
|
%td= link_to_if (url.present? && url.scheme.present?), url.to_s, url.to_s
|
|
%td
|
|
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
|
|
%td= row[:size]
|
|
|
|
= sanitize_markdown @help, tags: %w[p a strong em]
|