Files
simple-aircraft-manager-rails/app/views/layouts/report.html.erb
T
rickyandClaude Opus 5.5 350914bddc Declare UTF-8 in HTML layouts; byte order mark on packaged CSVs
Packaged HTML opened from disk had no charset, so browsers guessed
Windows-1252 and em dashes showed as mojibake; Excel does the same with
CSVs that lack a BOM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 17:24:53 -05:00

22 lines
829 B
ERB

<!DOCTYPE html>
<html class="bg-white" data-theme="light">
<head>
<meta charset="utf-8">
<title><%= [content_for(:title), "Simple Aircraft Manager"].compact.join(" · ") %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="robots" content="noindex, nofollow">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<% unless @standalone %><link rel="icon" href="/favicon.svg" type="image/svg+xml"><% end %>
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
<style>
html, body { background: #fff; }
@page { margin: 0.5in; }
</style>
</head>
<body class="bg-white text-slate-900 report">
<main class="mx-auto max-w-5xl px-4 py-6 print:max-w-none print:p-0"><%= yield %></main>
</body>
</html>