5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 17:36:23 +00:00
panel/app/views/build_stats/index.haml
2024-06-04 14:03:58 -03:00

23 lines
739 B
Text

%main.row
%aside.menu.col-12.col-lg-3
= render 'sites/header', site: @site, filter_params: @filter_params
.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.scheme.present?),
url.to_s,
url.to_s,
class: 'word-break-all'
%td
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
%td= row[:size]