2026-04-06 19:36:13 +02:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
|
|
block content
|
2026-04-07 12:10:22 +02:00
|
|
|
div(class='space-y-5')
|
2026-04-06 19:36:13 +02:00
|
|
|
//- Header
|
|
|
|
|
div(class='flex flex-wrap items-start justify-between gap-4')
|
|
|
|
|
div
|
|
|
|
|
h1(class='text-2xl font-bold break-all')= job.url
|
|
|
|
|
p(class='text-xs text-gray-400 mt-1')
|
|
|
|
|
| Tested #{new Date(job.finished_at).toLocaleString()} •
|
|
|
|
|
| #{job.browser} • #{job.mobile ? 'Mobile' : 'Desktop'} • #{job.runs} run(s)
|
|
|
|
|
div(class='flex gap-2 flex-wrap')
|
|
|
|
|
a(href=`/?url=${encodeURIComponent(job.url)}` class='text-sm bg-indigo-600 text-white px-4 py-1.5 rounded hover:bg-indigo-700') Retest
|
|
|
|
|
a(href=`/site?url=${encodeURIComponent(job.url)}` class='text-sm bg-gray-200 text-gray-700 px-4 py-1.5 rounded hover:bg-gray-300') Site History
|
|
|
|
|
if reportUrl
|
|
|
|
|
a(href=reportUrl target='_blank' class='text-sm bg-green-600 text-white px-4 py-1.5 rounded hover:bg-green-700') Full Report ↗
|
|
|
|
|
|
2026-04-07 12:10:22 +02:00
|
|
|
//- Coach Scores + Core Web Vitals side by side
|
|
|
|
|
div(class='grid grid-cols-1 md:grid-cols-2 gap-4')
|
|
|
|
|
include partials/scorecard
|
|
|
|
|
include partials/cwv
|
2026-04-06 19:36:13 +02:00
|
|
|
|
2026-04-07 12:10:22 +02:00
|
|
|
//- Security Headers + SSL side by side
|
|
|
|
|
div(class='grid grid-cols-1 md:grid-cols-2 gap-4')
|
|
|
|
|
include partials/headers
|
|
|
|
|
include partials/ssl
|
2026-04-06 19:36:13 +02:00
|
|
|
|
|
|
|
|
//- Navigation Timings
|
|
|
|
|
include partials/timings
|
|
|
|
|
|
|
|
|
|
//- Resources
|
|
|
|
|
include partials/resources
|
|
|
|
|
|
|
|
|
|
//- Accessibility
|
|
|
|
|
include partials/axe
|
|
|
|
|
|
|
|
|
|
//- CO2
|
|
|
|
|
include partials/co2
|